Number: 172
Title: Small 7s
Submitter: Emden R. Gansner
Date: Thu Jul 11 14:44:03 2002
Subsys: Libgd
Version: 1.8.7
System: *-*-
Severity: minor
Problem:
If '7' occurs in a label, the font is Times, and the fontsize is small, the function FT_Load_Glyph, used in gdft.c, reports an error and gd_textline reverts to the built-in font. This can arise when a large graph is scaled down.

To generate the effect, run

neato -Tgif -Nlabel=7 -Nfontsize=1

on the input below.

As far as I can tell, this only happens with '7' and with the Times font. The pointsize cut-off is around 1.1, with all smaller pointsizes causing the problem. It happens on both linux and sgi systems.
Input:

graph G { x }
Comments:
[erg] After further checking, the 3 fonts times, helvetica and courier exhibit the problem but with different characters:

time        7 / ` ^
helvetica   v y / ` ^
courier     , / < > ' "

Owner: ellson
Status: Fixed (7 March 2003)