summaryrefslogtreecommitdiff
path: root/pl/plftable.c
AgeCommit message (Collapse)AuthorFilesLines
2012-01-18Integrates the new URW WingDing font.Henry Stiles1-1/+1
For reasons unknown URW has named the font NewDingbats. This will result in many healthy progressions in the regression test suite.
2011-04-19Indent with spaces and strip trailing whitespace.Tor Andersson1-50/+47
2010-01-19Make internal lineprinter fonts bound to their symbol set. The fontsHenry Stiles1-13/+13
have been incorrectly treated as unbound fonts all along by the pcl interpreter with associated workarounds. Also sets the character complements for symbolic font to unicode, not MSL, we now are treating all internal font and symbol set objects as unicode as discussed in log rev. 10612. See the Pcl Technical Reference Manual for definitions of character compliment, bound and unbound fonts. git-svn-id: http://svn.ghostscript.com/ghostscript/branches/pcl_font_mods@10621 a1074d23-0009-0410-80fe-cf8c14f379e6
2009-12-28Fixes bug 691024, the font list is now printed deterministically.Henry Stiles1-1/+5
Sundry refactoring and cleanup related to printing the font list and loading fonts. Adds a new scheme for aliasing fonts, as they are loaded, allowing the removal of the font WingSub.ttf. The pcl font list was printed out by enumerating the unordered font dictionary, the font dictionary is created at startup by enumerating all the fonts and placing a header in each entry of the font dictionary. The order the entries are added and later enumerated depended on how the OS enumerated files in the file system. Of course we should not depend on any particular ordering with a dictionary, so the font list now prints the fonts in pjl font number order. Also WingSub.ttf, the substitute Wingding font can be removed as we've added a new scheme to do aliasing of fonts that does not require duplication of fonts. A resident font may now be aliased by simply creating a duplicate name in the resident font table, the reason for this change is to save on rom space now that compiling the fonts into the executable has become the default configuration. This commit lacks cohesion and probably should have been done in two functional commits:(1) deterministic font list and (2) new font aliasing scheme, unfortunately the interdependency between the changes made that difficult. git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@10564 a1074d23-0009-0410-80fe-cf8c14f379e6
2009-09-02Fixes 690206. Explicitly set font types in the resident font table.Henry Stiles1-91/+127
The symbol font was incorrectly classified with font type Bound, 8-bit (256 characters, All codes are printable except 0, 7-15, and 27) instead of Bound, 8-bit printable (192 characters, character codes 32-127 and 160-255 printable). Thanks to Norbert Janssen for discovering this problem. git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@10040 a1074d23-0009-0410-80fe-cf8c14f379e6
2009-06-25As part of fixing bug #690520 correct the long standing annoyance ofHenry Stiles1-90/+90
pcl pitch being stored in different units, with this change all font pitch attributes are stored in centipoints. git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@9820 a1074d23-0009-0410-80fe-cf8c14f379e6
2006-10-18lineprinter was broken in pxl since the last time lineprinter wasHenry Stiles1-2/+2
integrated. This was a known issue. The Set Default GS string in gs accidentally set character scaling to 0 instead of 1 resulting in missing text. The winding substitution is obsolete so the code has been removed. Customer bug #'s - 7, 13, 14, and 17. git-svn-id: http://svn.ghostscript.com/ghostpcl/trunk/ghostpcl@2645 06663e23-700e-0410-b217-a244a6096597
2006-10-09plulfont.c, plftable.c: Brings forward artifex scaler font fixes toHenry Stiles1-6/+6
the ufst. The monotype metrics for pcl resident fonts are not compatible with the 4600, so we provide the correct metrics. fixes 14-06 p. 10, (Customer image # GS_Core00048) pcpalet.c: Monochrome mode reimplemented. Since we don't have 2 weeks to prepare our legal case for the postscript group to do this... we roll our own. Needs clean up and review. fixes 22-13 entire job (Customer image #GS_Core00074) pcsfont.c: comment out code removed. pluchar.c: assymetric scaling did not work properly with the ufst font code. git-svn-id: http://svn.ghostscript.com/ghostpcl/trunk/ghostpcl@2612 06663e23-700e-0410-b217-a244a6096597
2006-09-07Restore integration of the ufst lineprinter font and removal of theRalph Giles1-7/+1
obsolete wingding substitution command. I accidentally excluded this patch (r2563) doing the merge from the gs853merge branch. git-svn-id: http://svn.ghostscript.com/ghostpcl/trunk/ghostpcl@2567 06663e23-700e-0410-b217-a244a6096597
2006-08-10font spacing fixes, cet 19-08 pp 6 and 7, 19-10 page 10. Also adds aHenry Stiles1-4/+2
substitute wingding font instead of doing the substitution in the code. The substitute dingbats was never properly selected because it was bound to the wingding symbol set. Note the new font must be copied to the user's pcl font directory. git-svn-id: http://svn.ghostscript.com/ghostpcl/trunk/ghostpcl@2491 06663e23-700e-0410-b217-a244a6096597
2006-08-05Fixes pcl5c fts panels 291, 301, 310, and 320 where lineprinter wasHenry Stiles1-10/+10
selected instead of courier. Sets correct height and pitch for lineprinter in the font table. Fixes mistake where pitch was adjusted by a small factor, we believe there was some "unit confusion" here. The last change affects almost all test files as any fixed spacing font will be slightly displaced. Simplifies scaling of the lineprinter font in pctext.c. git-svn-id: http://svn.ghostscript.com/ghostpcl/trunk/ghostpcl@2487 06663e23-700e-0410-b217-a244a6096597
2006-07-30plftable.c, plfont.h: Many cet files perform escapement tests forHenry Stiles1-90/+90
which we did not have sufficient accuracy. The pitch for pcl characters is now a float and most of the fonts have been modified to more closely match the HP ColorLaserjet 4600. Changes too many files to be tested with regression testing. pctext.c: underlining did not work properly when line wrap was enabled and underline mode 1 is now supported. It is the same as underline mode 0. 15-01.BIN, 14-07.BIN and others. git-svn-id: http://svn.ghostscript.com/ghostpcl/trunk/ghostpcl@2477 06663e23-700e-0410-b217-a244a6096597
2006-07-27plsymbol.c, pctext.c, pcfsel.c - factor out symbol lookup so xl and pcl canHenry Stiles1-7/+9
share it. Character complement simplifications. pxfont.c - fixes "duped" code. plvocab.c - bring msl -> unicode mapping in line with the pcl comparison guide and provide character names. plulfont.c, pllfont.c - enable font loading debugging conditional with -Z=. plftable.c - the avant garde demi fonts were attributed too boldly. This change effects every header page of the CET and fixes the font selection problems in 1812. pcsfont.c - removes unnecessary intellifont character complement hack which was effectively masking we did not have msl->unicode correct. git-svn-id: http://svn.ghostscript.com/ghostpcl/trunk/ghostpcl@2475 06663e23-700e-0410-b217-a244a6096597
2006-07-12In the interest of breaking every file in the regression suite:Henry Stiles1-99/+94
CourierPS (not Courier) was incorrecly labeleled a proportional font, zapf dingbats had the wrong typeface number. Real pjl font numbers corresponding to the 4600 have been added to the font table and they are used in font selection. The font selection debug code (-Z=) has been beefed up. We now do checksum checking for download truetype fonts. git-svn-id: http://svn.ghostscript.com/ghostpcl/trunk/ghostpcl@2450 06663e23-700e-0410-b217-a244a6096597
2006-06-02changes for ufst 5.0. Also supports a new configuration using theHenry Stiles1-91/+103
artifex scaler and the monotype TrueType screen fonts. We will be leaving some font debugging stuff live in the development tree for a short while. This code is not backward compatible with pre 5.0 ufst releases. git-svn-id: http://svn.ghostscript.com/ghostpcl/trunk/ghostpcl@2399 06663e23-700e-0410-b217-a244a6096597
2004-04-26add escapements to pcl font table and more verbose debugging outputHenry Stiles1-90/+90
upon loading ufst fonts. The latter may be removed in the future. git-svn-id: http://svn.ghostscript.com/ghostpcl/trunk/ghostpcl@2117 06663e23-700e-0410-b217-a244a6096597
2004-03-17Fixed name of urw Symbol font to StandardSymLStefan Kemper1-3/+2
git-svn-id: http://svn.ghostscript.com/ghostpcl/trunk/ghostpcl@2105 06663e23-700e-0410-b217-a244a6096597
2004-03-11tt2pcl.c - adds more diagnostics, file offsets where font data isHenry Stiles1-8/+8
written. Fixes crash that could occur if the font did not have a cvt table. pl/plfont.c pl/plftable.c pl/pllfont.c: set the nominal width for fixed space fonts in the font table instead of deriving it from the font. git-svn-id: http://svn.ghostscript.com/ghostpcl/trunk/ghostpcl@2098 06663e23-700e-0410-b217-a244a6096597
2003-04-11Fixed rcs $Id:$ line.Stefan Kemper1-1/+1
git-svn-id: http://svn.ghostscript.com/ghostpcl/trunk/ghostpcl@1886 06663e23-700e-0410-b217-a244a6096597
2003-04-10Extensive reorganization of how ufst fcos and ufst plugins are loaded.Henry Stiles1-11/+28
It is now possible to load multiple fcos and plugins supporting the various printer emulations discussed in the ufst documentation by the setting of three environment variables: UFSTFONTDIR, UFSTFCOS, and UFSTPLUGINS. Todo: documentation for these is needed and the code has not been tested in the MSVC build. Also, this checkin fixes several problems with the resident font table. git-svn-id: http://svn.ghostscript.com/ghostpcl/trunk/ghostpcl@1885 06663e23-700e-0410-b217-a244a6096597
2003-04-09Changes to Dingbats and ZapfChancery font table entries for pclStefan Kemper1-3/+3
git-svn-id: http://svn.ghostscript.com/ghostpcl/trunk/ghostpcl@1881 06663e23-700e-0410-b217-a244a6096597
2003-04-08Removed duplicate comment on missing Wingdings font in urwfonts.Stefan Kemper1-4/+1
git-svn-id: http://svn.ghostscript.com/ghostpcl/trunk/ghostpcl@1880 06663e23-700e-0410-b217-a244a6096597
2003-03-18pluchar.c - speeds up UFST width caching by reordering conditionals.Henry Stiles1-512/+539
plftable.c - new unified table with support for 80 fonts for both URW and UFST. (needs testing). plulfont.c - modified to load UFST fco's with complete font set. This fco set actually has 110 fonts of which we pick the needed 80. The microtype postscript fonts in the set are scaled differently using the Type 1 convention of 1000 units per em. Code dependent on other scalings will break. (needs testing). git-svn-id: http://svn.ghostscript.com/ghostpcl/trunk/ghostpcl@1874 06663e23-700e-0410-b217-a244a6096597
2003-02-25Changed order of font table to match be in PCL internal font # order basedStefan Kemper1-83/+113
on hpclj 4550. This order is used in pcl font selection algorithm. git-svn-id: http://svn.ghostscript.com/ghostpcl/trunk/ghostpcl@1867 06663e23-700e-0410-b217-a244a6096597
2003-02-205th element, 0 was missing from a few font table entries.Stefan Kemper1-4/+3
git-svn-id: http://svn.ghostscript.com/ghostpcl/trunk/ghostpcl@1860 06663e23-700e-0410-b217-a244a6096597
2003-02-06misspelled lineprinter font name entry in last checkin.Henry Stiles1-8/+8
git-svn-id: http://svn.ghostscript.com/ghostpcl/trunk/ghostpcl@1846 06663e23-700e-0410-b217-a244a6096597
2003-02-06new lineprinter font entry for the font table.Henry Stiles1-16/+16
git-svn-id: http://svn.ghostscript.com/ghostpcl/trunk/ghostpcl@1843 06663e23-700e-0410-b217-a244a6096597
2003-01-15New font table to support the new 79 urwfonts. ExtensiveHenry Stiles1-138/+312
modifications to the table to support readability. Also a large table (documentation) added showing the correspondence between URWfonts, HP screen fonts, and HP PCL XL font names and HP PCL "font status page" names and how the 4600 hp windows driver treats each font. Work still in progress in this file but code should be functional. git-svn-id: http://svn.ghostscript.com/ghostpcl/trunk/ghostpcl@1820 06663e23-700e-0410-b217-a244a6096597
2002-11-14Gets rid of the font table count entirely. Clients don't need it.Henry Stiles1-2/+2
git-svn-id: http://svn.ghostscript.com/ghostpcl/trunk/ghostpcl@1800 06663e23-700e-0410-b217-a244a6096597
2002-11-14changed pl_resident_font_table_count to an enumStefan Kemper1-3/+2
git-svn-id: http://svn.ghostscript.com/ghostpcl/trunk/ghostpcl@1792 06663e23-700e-0410-b217-a244a6096597
2002-10-29These files should have been added in the last commit.Henry Stiles1-0/+387
git-svn-id: http://svn.ghostscript.com/ghostpcl/trunk/ghostpcl@1778 06663e23-700e-0410-b217-a244a6096597