[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ft] Freetype2 and TimesNewRoman?
From: |
Werner LEMBERG |
Subject: |
Re: [ft] Freetype2 and TimesNewRoman? |
Date: |
Thu, 22 Oct 2015 07:29:06 +0200 (CEST) |
> Does Freetype2 support TimesNewRoman Font?
Certainly.
> I believe this is 'Serif'?
TimesNewRoman is indeed a serif font. However, it depends on your
system's font setup whether, say, the HTML fallback font `serif' maps
to TimesNewRoman.
> Unfortunately when searching for Glyph information using the
> FT_Get_Char_Index function I'm getting 0 which means that the char
> index has not been found. The character 'a' is all I am searching
> for at this stage (the char index for 'a').
This should work, of course. So I guess there's a bug somewhere in
your code.
> If this does in fact support serif fonts then it's probably
> something I'm doing wrong and I'll eventually sort it out.
Yep :-)
Werner