[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ft-devel] font names - win or mac platforms?
From: |
suzuki toshiya |
Subject: |
Re: [ft-devel] font names - win or mac platforms? |
Date: |
Wed, 23 Nov 2011 20:00:08 +0900 |
User-agent: |
Mozilla-Thunderbird 2.0.0.12 (X11/20080406) |
Hi,
Please find src/sfnt/sfobjs.c::tt_face_get_name() to see
how the platform & encoding are selected.
Regards,
mpsuzuki
yuliana_zigangirova wrote:
> Thank you for the help with a previous question and
> now a similar question about font name choice made by Freetype.
> What platform does Freetype prefer when looking for Font Family Name
> and Postscript Name?
>
> As far as I see, for the NettoBold.ttf and NettoTFMonoBold.ttf
> it seems to be inconsistent:
>
> For Family Name I get "Netto" and "Netto Tf" respectively (which is Name
> ID 1
> Platform 1 - Macintosh)
> and for Poscsript Name I get "NettoBold" and "NettoTFMonoBold",
> which is Name ID 6 Platform 3 - Windows).
> Could you tell me what is an order in which you look for Font Family Name
> and
> Postscript Name? Do you look for ID 20?
>
> Thank you very much again,
> Yuliana