freetype
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[ft] Styles - Regular vs Black


From: Ian Britten
Subject: [ft] Styles - Regular vs Black
Date: Tue, 15 Jul 2008 15:07:01 -0300
User-agent: Mozilla Thunderbird 1.0.2 (X11/20050322)

Hi all,
During our upgrade from v2.1.7 to v2.3.7, I've encountered a
change in the way "family" and "style" fields are reported by
FT, specifically in regards to an "Arial Black" font that is
part of Windows.

Note that this font has different versions between XP (v2.35)
and Vista (v5.0).  This change, in conjunction with the FT
upgrade, seems to result in different information being
reported by 'ftdump'

Using ftdump v2.1.7 and v2.3.7:

      |   ariblk.ttf (XP)  | ariblk.ttf (Vista) |
------|--------------------|--------------------|
v2.1.7|family: Arial Black |family: Arial Black |
      |style:  Regular     |style:  Regular     |
---------------------------|--------------------|
v2.3.7|family: Arial Black |family: Arial       |
      |style:  Regular     |style:  Black       |
-------------------------------------------------

So, I guess my first question is, is this change expected?
If yes, what does the style=Black mean, and where/how is it
exposed by FT?  For example, I don't see any sort of
FT_STYLE_FLAG_BLACK ...
  - Is it just an alias for Bold?
    - If yes, then how do you distinguish between Arial-Bold
      and Arial-Black fonts
  - If it is not exposed/supported/reflected by FT, then how
    do you distinguish between Arial and Arial-Black fonts?

Note that the Windows font viewer reports it as "Arial Black".
Strangely, kfontview reports it as "Arial, Heavy" ... :P

At this point, I'm not sure if this is a problem with FT (I
think v2.3.6 had a problem like this in it), or if it's a
misunderstanding on my part.  As such, any info/guidance
would be appreciated!

Many thanks for any help!
Ian




reply via email to

[Prev in Thread] Current Thread [Next in Thread]