|
From: | Leonard Rosenthol |
Subject: | Re: [Devel] FIX? [was: Non-integer bbox for T1 font?] |
Date: | Tue, 6 Mar 2001 13:27:05 -0500 |
At 1:10 PM -0500 3/6/01, Tom Kacvinsky wrote:
Attached is patch fro t1load.c that places 16.16 fixed numbers (16 bits of integer, 16 bits of fraction) into the font bbox array. To get the integer part in your code, just shift right 16 bits. There will be some rounding errors (rounding up/down when it should be vice versa), but i imagine you can get around that...
Much appreciated! LDR -- ---------------------------------------------------------------------------- Leonard Rosenthol <mailto:address@hidden> Sr. Software Engineer (215) 922-3509 (voice) Digital Applications (215) 440-0504 (fax) PGP Fingerprint: 8CC9 8878 921E C627 0BC1 15BB FC19 64A9 0016 1397
[Prev in Thread] | Current Thread | [Next in Thread] |