cairo/src
Adrian Johnson e1bc97a7e5 Disable UniqueID font check in Type 1 subset font
Some Type 1 fonts have some PostScript code at the start of the font
that checks if the font is already cached in the printer (based on the
font UniqueID key). This breaks our subsetted font as it is not the
same as the original font.

Checking for and removing a random blob of PostScript is difficult so
this patch takes the simpler approach of searching for the PS code
that checks if the UniqueID dictionary entry exists

ie

  /UniqueID known

this code leaves the value "true" or "false" on the PS interpreter
stack depending on whether the "UniqueID" key exists.

Then the patch inserts the PS code " pop false " after the above code
to remove the old result and place "false" on the stack to make it
appear that UniqueID does not exist.

This approach should be able to handle any type of PostScript code
that attempts to do something with the UniqueID value in the font
dictionary.
2008-06-03 20:51:39 +09:30
..
.gitignore [gitignore] Ignore cairo-no-features.h 2008-02-20 10:57:14 +00:00
cairo-analysis-surface-private.h Add CAIRO_INTERNAL_SURFACE_TYPE_NULL and cairo_nul_surface_create() 2008-05-09 15:54:19 +02:00
cairo-analysis-surface.c [cairo-xlib] Fix show_glyphs when failing to upload a glyph 2008-05-23 20:03:49 -04:00
cairo-arc-private.h Add cairo_private to several function prototypes that were missing it. 2005-08-09 13:01:14 +00:00
cairo-arc.c Remove some bogus XXX marks 2008-05-28 19:10:09 -04:00
cairo-array.c Fix newly detected doc syntax issues 2008-06-01 18:46:45 -04:00
cairo-atomic-private.h [cairo-atomic] Check whether we can access int/pointers atomically. 2007-11-05 08:51:06 +00:00
cairo-atomic.c [cairo-atomic] Rearrange code under the correct ifdefs. 2007-11-01 22:26:06 +00:00
cairo-backend.pc.in Fix Name tag in backend .pc files to include "cairo-". 2006-07-13 14:33:41 -04:00
cairo-base85-stream.c Fix now-detected doc formatting issues 2008-06-01 19:14:13 -04:00
cairo-bentley-ottmann.c Fix newly detected doc syntax issues 2008-06-01 18:46:45 -04:00
cairo-beos-surface.cpp Fix now-detected doc formatting issues 2008-06-01 19:14:13 -04:00
cairo-beos.h Remove initial, final, and duplicate blank lines. 2006-06-06 15:50:33 -07:00
cairo-cache-private.h [doc] Stricter syntax check for type names, update test 2008-01-28 22:10:20 -05:00
cairo-cache.c Fix newly detected doc syntax issues 2008-06-01 18:46:45 -04:00
cairo-cff-subset.c Add links to the font specifications. 2008-04-04 09:49:34 +01:00
cairo-clip-private.h [cairo-clip] Avoid work when all clipped out. 2007-10-19 23:33:04 +01:00
cairo-clip.c [cairo-path-fixed] Implement full-matrix _cairo_path_fixed_transform() 2008-05-13 16:10:28 -04:00
cairo-color.c [cairo-color] Only compare the shorts for equality. 2007-05-05 12:33:29 +01:00
cairo-compiler-private.h [cairo-compiler-private] Make it build with wine 2008-05-28 16:46:55 -04:00
cairo-debug.c [cairo-scaled-font] Create error objects on demand. 2008-02-15 13:50:42 +00:00
cairo-deflate-stream.c Fix now-detected doc formatting issues 2008-06-01 19:14:13 -04:00
cairo-deprecated.h [cairo-deprecated.h] Remove mention of cairoint.h from public header 2008-05-09 15:54:10 +02:00
cairo-directfb-surface.c [cairo-xlib] Fix show_glyphs when failing to upload a glyph 2008-05-23 20:03:49 -04:00
cairo-directfb.h [doc] Make sure all macro names in docs are prefixed by % 2008-01-28 20:48:48 -05:00
cairo-fixed-private.h [cairo-fixed] Implement _cairo_fixed_mul_div() 2008-05-15 20:02:33 -04:00
cairo-fixed-type-private.h Change cairo's fixed-point format from 16.16 to 24.8 2008-02-27 15:08:18 -08:00
cairo-fixed.c [fixpt] Make fixed point methods static inline and generic 2007-07-18 22:45:21 +02:00
cairo-font-face.c [cairo-font-face] Tolerate null font_face->backend->destroy() 2008-05-09 15:54:11 +02:00
cairo-font-options.c [cairo-font-options] Eliminate internal use of cairo_font_options_create() 2008-04-11 15:39:11 +01:00
cairo-freelist-private.h [doc] Make sure all macro names in docs are prefixed by % 2008-01-28 20:48:48 -05:00
cairo-freelist.c [src] Make sure all source files #include "cairoint.h" as their first include 2007-04-03 20:28:11 -04:00
cairo-ft-font.c Fix now-detected doc formatting issues 2008-06-01 19:14:13 -04:00
cairo-ft-private.h [cairo-ft-font.c] Throw error on font type mismatch and remove unused function 2008-05-09 15:54:12 +02:00
cairo-ft.h Give cairo_public an empty definition by default. 2005-09-07 16:31:22 +00:00
cairo-glitz-private.h [slim] hide cairo_glitz_surface_create() (#8551) 2006-10-08 17:07:17 -04:00
cairo-glitz-surface.c Use floating-point offsets for color stops 2008-03-26 14:52:09 -07:00
cairo-glitz.h Give cairo_public an empty definition by default. 2005-09-07 16:31:22 +00:00
cairo-gstate-private.h Remove include of cairoint.h from *-private.h header files. 2007-08-23 16:13:04 -07:00
cairo-gstate.c [cairo-gstate] Return immediately if clip bounds is empty 2008-06-02 22:46:21 -04:00
cairo-hash-private.h Move GCC attributes wrapping into a separate header. 2007-09-25 16:29:54 +01:00
cairo-hash.c Fix newly detected doc syntax issues 2008-06-01 18:46:45 -04:00
cairo-hull.c Prevent potentially infinite wandering through memeory in _cairo_hull_prev_valid 2008-04-08 01:54:27 -07:00
cairo-image-surface.c [image surface] Rename cairo_image_surface_backend to _cairo_image_surface_backend 2008-05-09 15:54:10 +02:00
cairo-lzw.c [src/check-doc-syntax.sh] Fix some bugs in the check and fix errors found 2008-05-09 15:54:04 +02:00
cairo-malloc-private.h [malloc] Check for integer overflow when realloc'ing. 2007-10-04 00:42:29 +01:00
cairo-matrix.c [cairo-matrix] Move IS_FINITE(det) checks before det==0 checks 2008-05-25 00:55:36 -04:00
cairo-meta-surface-private.h [cairo-meta-surface] Add _cairo_meta_surface_get_path() 2008-05-09 15:54:13 +02:00
cairo-meta-surface.c Fix now-detected doc formatting issues 2008-06-01 19:14:13 -04:00
cairo-misc.c [cairo-user-font] Implement user fonts 2008-05-10 01:21:45 +02:00
cairo-mutex-impl-private.h [cairo-mutex] Prepare mutex infrastructure for adding mutex debugging facilities 2008-05-27 05:11:00 -04:00
cairo-mutex-list-private.h [cairo-scaled-font] Create error objects on demand. 2008-02-15 13:50:42 +00:00
cairo-mutex-private.h [cairo-mutex] Prepare mutex infrastructure for adding mutex debugging facilities 2008-05-27 05:11:00 -04:00
cairo-mutex-type-private.h [cairo-mutex] Remove debugging stuff that I accidentally committed 2008-06-01 15:32:42 -04:00
cairo-mutex.c [cairo-mutex] Prepare mutex infrastructure for adding mutex debugging facilities 2008-05-27 05:11:00 -04:00
cairo-os2-private.h Remove include of cairoint.h from *-private.h header files. 2007-08-23 16:13:04 -07:00
cairo-os2-surface.c Fix now-detected doc formatting issues 2008-06-01 19:14:13 -04:00
cairo-os2.h [os2] Improve documentation 2008-02-07 00:03:33 +01:00
cairo-output-stream-private.h Fix now-detected doc formatting issues 2008-06-01 19:14:13 -04:00
cairo-output-stream.c [src/check-doc-syntax.sh] Fix some bugs in the check and fix errors found 2008-05-09 15:54:04 +02:00
cairo-paginated-private.h Fix now-detected doc formatting issues 2008-06-01 19:14:13 -04:00
cairo-paginated-surface-private.h Remove include of cairoint.h from *-private.h header files. 2007-08-23 16:13:04 -07:00
cairo-paginated-surface.c [cairo-xlib] Fix show_glyphs when failing to upload a glyph 2008-05-23 20:03:49 -04:00
cairo-path-bounds.c [cairo-path-bounds] _cairo_path_fixed_bounds() can fail... 2008-02-27 09:47:35 +00:00
cairo-path-fill.c [quartz] Optimize path handling where possible 2008-02-25 21:06:23 -05:00
cairo-path-fixed-private.h [doc] Make sure all function names in docs are followed by () 2008-01-28 21:49:57 -05:00
cairo-path-fixed.c Fix now-detected doc formatting issues 2008-06-01 19:14:13 -04:00
cairo-path-private.h [cairo-path] Make _cairo_path_nil static. 2007-10-30 10:58:16 +00:00
cairo-path-stroke.c Correctly pass the device-space vector through to stroker 2008-03-13 15:37:57 -07:00
cairo-path.c [doc] Replace 'NOTE' by 'Note' and add it to test 2008-01-28 21:53:44 -05:00
cairo-pattern.c Fix newly detected doc syntax issues 2008-06-01 18:46:45 -04:00
cairo-pdf-operators-private.h [pdf-operators] Missing private markup. 2008-02-20 10:56:24 +00:00
cairo-pdf-operators.c PDF: Fix glyph positioning bug 2008-04-04 08:41:08 +10:30
cairo-pdf-surface-private.h PDF/PS: No need to use save/restore for solid colors 2008-02-17 21:33:04 +10:30
cairo-pdf-surface.c Add missing argument to _cairo_pdf_surface_show_glyphs() 2008-05-27 12:44:50 +09:30
cairo-pdf.h cairo-pdf.h: Add missing cairo_public decorators 2006-09-18 13:32:00 -04:00
cairo-pen.c Eliminate a potential infinite loop in spline stroking 2008-02-20 04:04:04 -08:00
cairo-png.c Fix newly detected doc syntax issues 2008-06-01 18:46:45 -04:00
cairo-polygon.c [cairo-error] Clean up all the warnings and missing _cairo_error() calls. 2007-10-04 13:31:44 +01:00
cairo-private.h [cairo-atomic] Rewrite reference counting using atomic ops. 2007-09-25 16:29:54 +01:00
cairo-ps-surface-private.h PS: Use currentfile as the image data source 2008-02-15 07:42:29 +10:30
cairo-ps-surface.c [cairo-xlib] Fix show_glyphs when failing to upload a glyph 2008-05-23 20:03:49 -04:00
cairo-ps.h [doc] Stricter syntax check for type names, update test 2008-01-28 22:10:20 -05:00
cairo-quartz-font.c Fix gtk-doc warnings 2008-05-10 01:21:44 +02:00
cairo-quartz-image-surface.c [cairo-quartz-image-surface] Remove one abuse of out-of-memory status 2008-05-10 01:21:44 +02:00
cairo-quartz-image.h [quartz] split out (experimental) quartz-image into separate file 2008-03-07 14:49:15 -08:00
cairo-quartz-private.h [cgfont] Add start of CGFont font backend to replace ATSUI 2008-04-01 13:04:08 -07:00
cairo-quartz-surface.c [cairo-xlib] Fix show_glyphs when failing to upload a glyph 2008-05-23 20:03:49 -04:00
cairo-quartz.h [cgfont] Add start of CGFont font backend to replace ATSUI 2008-04-01 13:04:08 -07:00
cairo-rectangle.c [cairo-rectangle] Add new convenience functions for working with cairo_box_t 2008-05-09 15:54:11 +02:00
cairo-reference-count-private.h Simplify CAIRO_REFERENCE_COUNT_INVALID macro 2007-10-09 14:27:53 -07:00
cairo-region-private.h [doc] Stricter syntax check for type names, update test 2008-01-28 22:10:20 -05:00
cairo-region.c [doc] Make sure all type names in docs are prefixed by # 2008-01-28 20:49:44 -05:00
cairo-scaled-font-private.h [cairo-scaled-font] Clean up recent locking changes 2008-05-25 01:51:05 -04:00
cairo-scaled-font-subsets-private.h Fix newly detected doc syntax issues 2008-06-01 18:46:45 -04:00
cairo-scaled-font-subsets.c Make font subsetting output fonts in order of the font subset id 2008-06-03 20:51:39 +09:30
cairo-scaled-font.c Fix newly detected doc syntax issues 2008-06-01 18:46:45 -04:00
cairo-skiplist-private.h [cairo-skiplist] Use one random number per insertion, instead of two 2007-04-09 19:39:50 -04:00
cairo-skiplist.c [cairo-error] Clean up all the warnings and missing _cairo_error() calls. 2007-10-04 13:31:44 +01:00
cairo-slope.c Remove _cairo_slope_[counter_]clockwise 2008-02-20 04:04:04 -08:00
cairo-spline.c [cairo-spline] Eliminate redundant _cairo_fixed_to_double(). 2007-11-01 22:42:34 +00:00
cairo-stroke-style.c Do correct calculation of pen dimensions for stroke optimization 2008-02-06 13:07:13 -08:00
cairo-surface-fallback-private.h Revert "[cairo-gstate] Avoid copying untransformed glyphs." 2007-08-31 16:53:21 +01:00
cairo-surface-fallback.c Quiet warning about signed vs. unsigned comparison 2008-03-25 13:17:49 -07:00
cairo-surface-private.h [cairo-atomic] Rewrite reference counting using atomic ops. 2007-09-25 16:29:54 +01:00
cairo-surface.c Fix now-detected doc formatting issues 2008-06-01 19:14:13 -04:00
cairo-svg-surface-private.h Remove include of cairoint.h from *-private.h header files. 2007-08-23 16:13:04 -07:00
cairo-svg-surface.c Fix whitespace 2008-05-28 17:12:51 -04:00
cairo-svg.h [doc] Stricter syntax check for type names, update test 2008-01-28 22:10:20 -05:00
cairo-traps.c [cairo-traps] Fix overflow in traps_path code 2008-05-15 20:03:05 -04:00
cairo-truetype-subset-private.h TrueType: fix bug #9998 - build error with gcc 2.95 2007-02-17 10:55:14 +10:30
cairo-truetype-subset.c TrueType: Fix buffer check 2008-04-04 20:29:12 +10:30
cairo-type1-fallback.c Type1-fallback: Use correct glyph metrics for .notdef glyph 2008-04-06 00:36:02 +10:30
cairo-type1-private.h Remove include of cairoint.h from *-private.h header files. 2007-08-23 16:13:04 -07:00
cairo-type1-subset.c Disable UniqueID font check in Type 1 subset font 2008-06-03 20:51:39 +09:30
cairo-types-private.h Fix doc syntax. 2008-05-29 02:34:07 -04:00
cairo-unicode.c Fix now-detected doc formatting issues 2008-06-01 19:14:13 -04:00
cairo-user-font.c [user-font] Improve docs. 2008-05-30 15:18:22 -04:00
cairo-wideint-private.h [cairo-fixed/wideint-private.h] Split out typedefs from prototypes 2008-01-20 02:55:07 -05:00
cairo-wideint-type-private.h Add support for byteswap macros bswap_16 and bswap_32 2008-05-28 12:02:16 -04:00
cairo-wideint.c cairo-wideint: Fix to eliminate comparison of signed and unsigned values 2007-01-20 02:01:29 -08:00
cairo-win32-font.c [cairo-xlib] Fix show_glyphs when failing to upload a glyph 2008-05-23 20:03:49 -04:00
cairo-win32-printing-surface.c One more remaining_glyphs compile fix 2008-05-28 16:09:56 -04:00
cairo-win32-private.h Fix two more compile errors 2008-05-28 16:08:37 -04:00
cairo-win32-surface.c [cairo-win32-surface] Remove unused variable 2008-05-28 16:47:37 -04:00
cairo-win32.c Implement a win32 tmpfile() function 2007-12-29 00:25:34 +10:30
cairo-win32.h [win32] remove ignore_operators flag from win32 printing surface 2007-10-09 13:56:59 -07:00
cairo-xcb-surface.c Fix now-detected doc formatting issues 2008-06-01 19:14:13 -04:00
cairo-xcb-xrender.h XCB: Move slim_hidden_def to cairo-xcb-surface.c, not cairo-xcb-xrender.h. 2006-10-16 11:44:08 -07:00
cairo-xcb.h Update XCB names for XCB 1.0 RC2 release. 2006-10-11 21:52:49 -07:00
cairo-xlib-display.c [cairo-xlib] Cache standard xrender formats. 2008-05-06 14:31:45 +01:00
cairo-xlib-private.h [cairo-xlib] Cache standard xrender formats. 2008-05-06 14:31:45 +01:00
cairo-xlib-screen.c [xlib] Clear the gc_needs_clip_reset after use. 2008-04-11 23:57:01 +01:00
cairo-xlib-surface-private.h xlib: Add support for arbitrary TrueColor visuals 2008-03-20 11:51:57 -07:00
cairo-xlib-surface.c Fix now-detected doc formatting issues 2008-06-01 19:14:13 -04:00
cairo-xlib-visual.c [cairo-xlib] Handle malloc failures for cairo_xlib_visual_info_t. 2008-04-02 10:50:48 +01:00
cairo-xlib-xrender-private.h [cairo-xlib] Fixup --disable-xlib-xrender 2008-01-15 13:08:53 +00:00
cairo-xlib-xrender.h Add new API cairo_xlib_surface_get_render_format 2008-01-28 15:39:39 -08:00
cairo-xlib.h Surface size getters for xlib 2006-06-25 11:23:43 +02:00
cairo.c Fix now-detected doc formatting issues 2008-06-01 19:14:13 -04:00
cairo.h Fix now-detected doc formatting issues 2008-06-01 19:14:13 -04:00
cairo.pc.in Improve backend .pc files generation: 2006-07-12 04:27:55 -04:00
cairoint.h Fix now-detected doc formatting issues 2008-06-01 19:14:13 -04:00
check-cairoint.sh [src/check-cairoint.sh] Fix typo in shell script 2007-12-18 15:59:19 -05:00
check-def.sh [src/check-def.sh] Don't report anything if skipping test 2008-05-28 12:07:13 -04:00
check-doc-syntax.sh [src/check-doc-syntax.sh] Detect malformatted functions at line start 2008-06-01 19:13:49 -04:00
check-has-hidden-symbols.c [check] Move the hidden symbol check into check-{def,plt}.sh 2008-01-11 21:21:34 +00:00
check-headers.sh [configure.in] Generate a cairo-no-features.h with macros for disabled supported backends 2008-01-28 23:26:35 -05:00
check-plt.sh [src/check-*] Shut make up 2008-01-28 20:14:52 -05:00
Makefile.am [cairo-mutex] Prepare mutex infrastructure for adding mutex debugging facilities 2008-05-27 05:11:00 -04:00
Makefile.win32 Added cairo-misc.c to makefile 2008-02-19 00:17:47 -05:00
test-fallback-surface.c [doc] Make sure all macro names in docs are prefixed by % 2008-01-28 20:48:48 -05:00
test-fallback-surface.h [test-surfaces] Prefix public symbols with _cairo 2007-03-13 05:14:19 -04:00
test-meta-surface.c [cairo-xlib] Fix show_glyphs when failing to upload a glyph 2008-05-23 20:03:49 -04:00
test-meta-surface.h [test-surfaces] Prefix public symbols with _cairo 2007-03-13 05:14:19 -04:00
test-paginated-surface.c [cairo-xlib] Fix show_glyphs when failing to upload a glyph 2008-05-23 20:03:49 -04:00
test-paginated-surface.h [test-surfaces] Prefix public symbols with _cairo 2007-03-13 05:14:19 -04:00