Ian Pilcher
efb6460e79
Store each glyph name only once in PostScript driver.
2001-04-20 18:30:38 +00:00
Ian Pilcher
23e207eebd
Don't load AFM files from predefined directories; use [afmdirs]
...
section in Wine config file instead.
2001-03-13 23:30:03 +00:00
Ian Pilcher
1cfdeeecdb
Squash another AFM character metrics parsing bug.
2001-03-01 22:10:46 +00:00
Ian Pilcher
db490e5e34
Fix bug in AFM character width parsing.
2001-02-28 21:39:14 +00:00
Morten Welinder
ae70f5c647
(PSDRV_AFMGetCharMetrics): Use unsigned chars (since isspace is used).
...
(PSDRV_AFMParse): Don't crash on missing font name. Use unsigned
chars. Fix peculiar inconsistent indentation. Don't leak a FILE.
Catch problematic files with no line feed in them. Don't mix
characters and integers. Don't overrun the buffer.
2001-02-15 21:23:50 +00:00
Peter H. Ganten
988d1c233a
- only parse AFM-files, which start with "BeginFontMetrics"
...
- use fgetc instead of fgets to cope with AFM-Files with
Macintosh-Style line-breaks ('\r') in the parser.
2001-02-13 20:18:47 +00:00
Marcus Meissner
33c24891b9
Fixed a NULL ptr problem.
...
Added loading of .afm files from several common locations
(ghostscript, a2ps, enscript, (teTeX), X11).
2001-02-12 01:25:46 +00:00
Marcus Meissner
a983a719ec
Added one safety check to AFM parsing.
2001-01-02 20:30:16 +00:00
Dmitry Timoshkov
dcd09986c3
New path for AFM documentation on the net.
2000-11-07 20:27:40 +00:00
Alexandre Julliard
87194855a1
Changed the AFM metrics structure to use an array instead of a linked
...
list. This avoids doing two heap allocations for every character, and
reduces the metrics parsing time by approx 25%.
2000-08-03 22:17:45 +00:00
Dimitrie O. Paun
84bde6a4a4
Separate wineps out of Wine's core.
2000-05-30 20:27:23 +00:00