summaryrefslogtreecommitdiff
path: root/gs/src/gsfcid.c
AgeCommit message (Collapse)AuthorFilesLines
2005-01-13(ps2write) : Convert unsupported font types into bitmap fonts.Igor Melichev1-3/+19
DETAILS : This patch is a part of ps2write project. It has no effect with "usual" invocation of Ghostscript. 1. If the target device doesn't support Postscript version 2010, convert Type 42 fonts into bitmap fonts. 2. Ever convert Type1C into bitmaps since Postscript level 2 can't handle Type 2 charstrings. 3. Convert CIDFontType0 into bitmap if the target device has no CID system installed or the font has Type 2 subfonts. 4. Convert CIDFontType2 into bitmap if the target device has no CID system installed or it doesn't support Postscript version 2010. 5. A new device parameter HaveCIDSystem is defined to the pdfwrite device to provide information for (3), (4). A new function gs_cid0_has_type2 is defined to implement (3). Also fixed a header comment gs_cid0_indexed_font, which was entirely wrong. EXPECTED DIFFERENCES : None. git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@5628 a1074d23-0009-0410-80fe-cf8c14f379e6
2004-11-19Add some missing initializers for glyph_data_t->memory. Related to theRay Johnston1-2/+4
687459 fix. git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@5515 a1074d23-0009-0410-80fe-cf8c14f379e6
2003-02-03 Committing in .Jacob Jansen1-1/+1
OpenVMS patches Modified Files: gs/src/gp_vms.c gs/src/gsfcid.c gs/src/openvms.mmk ---------------------------------------------------------------------- git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@3594 a1074d23-0009-0410-80fe-cf8c14f379e6
2002-10-31Fix: For Type9 fonts (CIDFontType 0 with Type 1 or Type 2 leaf fonts), theRay Johnston1-0/+15
leaf's FontMatrix was being ignored. Catch the change of leaf font index in select_descendant_font, and for Type9 (ft_CID_encrypted) concatenate the leaf's FontMatrix in show_state_setup. Fixes SourceForge bug #576591 for Artifex customer #1110 [footnotes rendered too large: badcharsize.pdf] git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@3247 a1074d23-0009-0410-80fe-cf8c14f379e6
2002-09-08Fix (pdfwrite): Virtual function same_font cannot work properlyIgor Melichev1-0/+22
if arguments have different representation (particularly for comparing an original font with its stable copy). Due to it pdf_font_resource_t::Widths mixed widths taken from fonts variations with different metrics. Entirely changing the logics of creating font resources with new function gs_copied_can_copy_glyphs. Source Forge bugs : #596394 (pdfwrite) Wrong glyph width (093-01.ps), #567604 missing characters with -c save pop #596284 font spacing/ragged edge on text column git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@3013 a1074d23-0009-0410-80fe-cf8c14f379e6
2002-05-30Makes the GC descriptor public for allocating the FDArray of CIDFontType 0L Peter Deutsch1-0/+7
fonts. git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@2668 a1074d23-0009-0410-80fe-cf8c14f379e6
2002-02-21Reverts to marking files with the single Id cvs tag instead of theRalph Giles1-1/+1
RCSfile and Revision pair. git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@2241 a1074d23-0009-0410-80fe-cf8c14f379e6
2002-02-21Update banner to the new format common to all releases (AFPL, GPL andRay Johnston1-13/+11
Artifex Software's commercial release). References file LICENSE. git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@2234 a1074d23-0009-0410-80fe-cf8c14f379e6
2001-10-21Changes all procedures for getting glyph outline data to return a structureL Peter Deutsch1-6/+4
that includes memory management information. This is a NON-BACKWARD-COMPATIBLE change to both implementors and clients. It corrects a serious design error: formerly these procedures encoded memory management information in their return code, which was obscure and error-prone. git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@1816 a1074d23-0009-0410-80fe-cf8c14f379e6
2000-11-23Fix: Type 1 CharStrings loaded from disk for type 0 CIDFonts were neverL Peter Deutsch1-0/+3
freed, except by garbage collection (which doesn't reclaim chunks with only a small amount of surviving data). In practice, this probably only affects the PDF writer. git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@963 a1074d23-0009-0410-80fe-cf8c14f379e6
2000-09-19Updates the license notices to reflect the name change from AladdinL Peter Deutsch1-16/+16
Ghostscript to AFPL Ghostscript, as well as some internal references to the program name. git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@729 a1074d23-0009-0410-80fe-cf8c14f379e6
2000-04-16Completes code for reading and writing CMaps.L Peter Deutsch1-0/+17
git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@324 a1074d23-0009-0410-80fe-cf8c14f379e6
2000-04-02Finishes implementing the ability to write CIDFontType 0 CFFs. ThisL Peter Deutsch1-0/+28
involved a surprising number of changes in other font-related files. git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@231 a1074d23-0009-0410-80fe-cf8c14f379e6
2000-03-20Starts to move support for CIDFontType 0 and 2 into C code, needed by theL Peter Deutsch1-0/+103
PDF writer for handling CID-keyed fonts. Implements GlyphDirectory for CIDFonts. Makes GDBytes and CIDMapOffset optional for CIDFontType 0 fonts that have a GlyphDirectory (not documented in the PLRM, but clearly correct). Implements Adobe 3011 features: integer and dictionary CIDMaps, and the MetricsCount entry, in CIDFontType 2 fonts (but only in the C code, which isn't hooked in yet, not in the PostScript code in gs_cidfn.ps.) git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@176 a1074d23-0009-0410-80fe-cf8c14f379e6