[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Devel] fixed pitch fonts: should isFixedPitch be honoured?
From: |
Graham . Asher |
Subject: |
[Devel] fixed pitch fonts: should isFixedPitch be honoured? |
Date: |
Fri, 23 Mar 2001 15:52:39 +0000 |
FreeType 2 uses the isFixedPitch flag in the PostScript ('post') table in
TrueType fonts to decide whether to replace the advance width of a
character by the maximum advance width of any character in the font. I'm
not sure this is the right thing to do. It gives a very bad appearance to
(among others) the Chinese font MSSONG.TTF.
The TrueType documentation says that the 'post' table contains 'additional
information needed to use TrueType fonts on PostScript printers', which
implies to me that the information is not intended for general use. I note
also that an ad-hoc flag, FT_LOAD_IGNORE_GLOBAL_ADVANCE_WIDTH, was added to
suppress this behaviour, according to the in-source comment because of
badly behaved Dynalab fonts; but I suspect that the behaviour may be wrong
for any font.
I'd be very grateful for comments on this question.
Graham Asher
Symbian Ltd.
**********************************************************************
Symbian Ltd is a company registered in England and Wales with registered number
01796587 and registered office at 19 Harcourt Street, London, W1H 4HF, UK.
This message is intended only for use by the named addressee and may contain
privileged and/or confidential information. If you are not the named addressee
you should not disseminate, copy or take any action in reliance on it. If you
have received this message in error please notify address@hidden and delete the
message and any attachments accompanying it immediately. Symbian does not
accept liability for any corruption, interception, amendment, tampering or
viruses occuring to this message in transit or for any message sent by its
employees which is not in compliance with Symbian corporate policy.
**********************************************************************
- [Devel] fixed pitch fonts: should isFixedPitch be honoured?,
Graham . Asher <=