freefont-bugs
[Top][All Lists]
Advanced

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

Re: [Freefont-bugs] Off-by-one error in glyph positioning?


From: Primoz Peterlin
Subject: Re: [Freefont-bugs] Off-by-one error in glyph positioning?
Date: Fri, 26 Apr 2002 11:44:31 +0200 (METDST)

On Fri, 26 Apr 2002, Primoz Peterlin wrote:

> Here is an excerpt from the showttf output for FreeSans:
> ...
> post table (at 263308)
> ...
> Glyph 0 (name index=0) -> ".notdef"       U+FFFF
> Glyph 1 (name index=1) -> ".null"         U+0000
> Glyph 2 (name index=2) -> "nonmarkingreturn"      U+0000
> Glyph 3 (name index=0) -> ".notdef"       U+0020
> Glyph 4 (name index=3) -> "space"         U+0021
> ...
> The same table for FreeMonoBold looks OK, though:

I believe I start to understand now what was going on. To match
specifications for the "post" table, PfaEdit insterts three blank
charatcers at the start: ".notdef", ".null" and "nonmarkingreturn", and
then starts with the real glyphs present in the font file. Some fonts,
however, have an explicit glyph named ".null" at U+0000, which caused
confusion, as it got inserted between "nonmarkingreturn" and "space".

If I would have known this before, I could have corrected it even with the
old version of PfaEdit simply by deleting the ".null" glyph in the SFD
file. The new version of PfaEdit, however, does the same automatically.

I have now put the new versions of TrueType files on the usual location
<http://freesoftware.fsf.org/download/freefont/>. Please test them out.

With kind regards, Primoz

--
Primož Peterlin,   Inštitut za biofiziko, Med. fakulteta, Univerza v Ljubljani
Lipičeva 2, SI-1000 Ljubljana, Slovenija.  address@hidden
Tel: +386-1-5437632, fax: +386-1-4315127, http://sizif.mf.uni-lj.si/~peterlin/
F8021D69 OpenPGP fingerprint: CB 6F F1 EE D9 67 E0 2F  0B 59 AF 0D 79 56 19 0F




reply via email to

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