Ian Pilcher
2576513014
Eliminate glyph bounding boxes & other unused font metrics.
2001-08-15 17:41:37 +00:00
Ian Pilcher
625bef463f
Rewrite and separate AFM parsing code (no more [afmfiles]).
2001-08-08 23:22:06 +00:00
Ian Pilcher
42e052d405
Rewrite TrueType font metric parsing code.
2001-07-26 21:42:45 +00:00
Alexandre Julliard
5f728cae70
Removed HEAP_strdupA.
2001-07-24 21:45:22 +00:00
Ian Pilcher
4bc1ebb5ed
Modify init code to handle const data types.
2001-07-24 20:52:19 +00:00
Ian Pilcher
7dd9ad72be
Only index glyph names when necessary.
2001-07-23 17:48:51 +00:00
Ian Pilcher
c85b9fddf6
Eliminate UNICODEVECTOR data type.
2001-07-22 23:43:51 +00:00
Ian Pilcher
a9eae850d4
Remove redundant data structure from font metrics.
2001-07-22 23:05:51 +00:00
Ian Pilcher
020146619c
Read/calculate average character width for all fonts.
...
Work directly with 16-bit WCHARs; don't convert to CP1252.
2001-07-19 00:30:43 +00:00
Dmitry Timoshkov
043f64021d
Replace PROFILE_* functions by Reg*.
2001-07-02 18:00:33 +00:00
Patrik Stridvall
172cd1b967
Fixed some issues found by winapi_check.
2001-06-11 20:16:11 +00:00
Ian Pilcher
afdeba82ae
Fixed font metric rounding error.
2001-05-31 21:34:17 +00:00
Ian Pilcher
55d2e575af
Build AFM data for core PostScript fonts into WINEPS.
2001-05-29 22:06:10 +00:00
Ian Pilcher
563598d45d
Read metrics from TrueType fonts.
2001-05-16 20:56:05 +00:00
Ian Pilcher
c6eeda464e
Guesstimate Windows font metrics for Type 1 fonts.
2001-05-16 20:05:24 +00:00
Marcus Meissner
3f1ed52d8b
Implemented 64bit file size handling.
...
Removed several unneeded sys/stat.h includes.
2001-05-14 20:09:37 +00:00
Ian Pilcher
9c1ac515bf
Eliminate __compar_fn_t.
2001-05-11 19:54:24 +00:00
Ian Pilcher
657c4afaec
Unicode encodings for PostScript fonts.
2001-05-09 17:11:59 +00:00
Ian Pilcher
91857a6c1a
Misc. error checking in PostScript driver.
2001-05-03 18:34:27 +00:00
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