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

Bug#149575: marked as done (freetype1-tools: Bad computation of heights in vpl files with ttf2tfm)



Your message dated Mon, 10 Sep 2007 01:13:03 +0800
with message-id <46E4299F.4090700@debian.org>
and subject line Closing Bug#149575: freetype1-tools: Bad computation of heights in vpl files with ttf2tfm
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: freetype1-tools
Version: 1.4pre.20011029-1
Severity: normal
Tags: patch

Hi,

  I used ttf2tfm to convert Truetype fonts in TeX format.
  Here is the problem. When building a virtual property list (.vpl file)
  the height of all letters is computed according to the following
  formula (ury is the upper right corner of the bounding box of a
  character and x-height is a constant for the font, usually the height
  of the small letter x):

  HEIGHT=ury(char) in most cases (that's what it should be)
  HEIGHT=xheight+ury(Characcent)-ury(accent) for the first occurences of
  accent and Characcent (example Agrave and grave are potential
  candidates)

  So the height of all vowels and some consons is badly computed
  (because the formula is mostly wrong). This is barely noticeable in
  normal-sized texte (because there are mixed vowels and consons, and
  anyway the difference is not that big) but becomes noticeable in size
  30 or more (even size 20).

  Patch: in contrib/ttf2pk/vplaux.c change (around line 116) the
  function texheight so that it always returns ti->ury.

  ...if you want to put upstream in contact with me, I'd be very glad.

-- System Information
Debian Release: 3.0
Architecture: i386
Kernel: Linux penpen 2.4.18jcd #1 Fri Mar 15 09:07:08 CET 2002 i686
Locale: LANG=en_GB, LC_CTYPE=en_GB

Versions of packages freetype1-tools depends on:
ii  libc6                  2.2.5-6           GNU C Library: Shared libraries an
ii  libkpathsea3           1.0.7+20011202-7  shared libkpathsea for teTeX
ii  libttf2                1.4pre.20011029-1 FreeType 1, The FREE TrueType Font
hi  xlibs                  4.1.0-15          X Window System client libraries

-- no debconf information



--- End Message ---
--- Begin Message ---
Dear Jean-Christophe,

First of all, thank you very much for your contribution to FreeType and
Debian.  Thanks to you and Werner, your fix has been merged in the
upstream freetype1-contrib since November 2002.  That roughly
corresponds to the Debian freetype1 package (1.4pre.20030402-1) which I
uploaded on 1 August 2003.  So, we can close this Debian bug report!  :-)

Also, my sincerely apologies for my very late reply.  I have been on a
long hiatus from my Debian duties, and is finally having some time to
clean up the freetype1 Debian package a bit.  :-)

Cheers,

Anthony Fok


--- End Message ---

Reply to: