|
View:
New views
3 Messages
—
Rating Filter:
Alert me
|
|
|
Pb with PHP/MAMPHi,
I am developing a hieroglyph editor (Mac SnowLeopard) and encountered a pb after migration to MAMP (freetype 2.3.9) environment. My pb is that imagettfbbox does not return same values than before migration for hieroglyphic characters coming from a home made ttf font. As an example, looking at the vertical dimension : height is OK but returned bottom and height are different (13 and -54 before, -1 and -67 after migration). Any clue will be more than welcome. _______________________________________________ Freetype-devel mailing list Freetype-devel@... http://lists.nongnu.org/mailman/listinfo/freetype-devel |
|
|
Re: Pb with PHP/MAMPHi,
Yet I have no intel Mac, so I cannot try to reproduce the trouble you got - and I'm really unfamiliar with PHP and MAMP... On Wed, 16 Sep 2009 14:51:15 +0200 Christian Roy <pourmeslistes@...> wrote: >I am developing a hieroglyph editor (Mac SnowLeopard) Sounds interesting! Which script you're working for? >and encountered a pb after migration to MAMP >(freetype 2.3.9) environment. I'm not sure if you're asking about freetype specific issue, or the incompatibility between raw PHP versus MAMP package. Please describe what you used before MAMP (and got expected result). >My pb is that imagettfbbox does not return same values than before >migration for hieroglyphic characters coming from a home made ttf font. Hmm. imagettfbbox is a part of PHP - so, you find the incompatible values between that in raw PHP (built by yourself, or by Apple) versus that in MAMP? If possible, could you check whether the version of freetype is changed before/after the migration? >As an example, looking at the vertical dimension : height is OK but >returned bottom and height are different (13 and -54 before, -1 and >-67 after migration). Please upload any TTF to reproduce the problem somewhere. However, freetype developer will check the metric returned by freetype is same with your expect /or not, but may not check the metric returned by PHP/MAMP. In fact, I have no access to Snow Leopard machine yet, and the report by other machines, other binaries (e.g. PHP running on GNU/Linux) would not what you want. Regards, mpsuzuki _______________________________________________ Freetype-devel mailing list Freetype-devel@... http://lists.nongnu.org/mailman/listinfo/freetype-devel |
|
|
Re: Pb with PHP/MAMPHi, Thank for your message. Please find following additional info. Regards. Le 16 sept. 2009 à 17:45, mpsuzuki@... a écrit :
I am not sure to understand your question. Currently hieros are nor recognised by Unicode standard so we use code points arbitrarily chosen event not in private plane. For further detail you may refer to http://projetrosette.info switching to english (look at top right). Is it the answer to your question ?
I was using MacOSX Leopard. PHP provided by Appel not including freetype I rebuilt GD library including freetype 2.3.5 (http://download.savannah.gnu.org/releases/freetype/freetype-2.3.5.tar.gz) For a given test hiero, imagettfbbox was returning for top -54 and +13 for bottom.
With MAMP free type version is 2..9 and image ttfbbox for the same test hiero than above returns -67 (top) and -1 (bottom). Height is the same but the glyph is shift to the bottom.
A ttf file with a single hiero (Unicode point U+0000) is at Corresponding rendered glyph is at http://test.projetrosette.info/temp.png I understanf this point.
_______________________________________________ Freetype-devel mailing list Freetype-devel@... http://lists.nongnu.org/mailman/listinfo/freetype-devel |
| Free embeddable forum powered by Nabble | Forum Help |