mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-06-07 23:58:18 +02:00
Enable CAIRO_HAS_UTF8_TO_UTF16 if PDF_OPERATORS is enabled
We are being cheap and don't define the cairo_utf8_to_utf16 function if no one is using it. Previously PS surface was not using it, but after the pdf-operators merge, it was. Before this commit, building with PS but without PDF failed. Fixing.
This commit is contained in:
parent
bb125689d3
commit
6eee90784e
1 changed files with 1 additions and 1 deletions
|
|
@ -2355,7 +2355,7 @@ cairo_private int
|
|||
_cairo_ucs4_to_utf8 (uint32_t unicode,
|
||||
char *utf8);
|
||||
|
||||
#if CAIRO_HAS_WIN32_FONT || CAIRO_HAS_QUARTZ_FONT || CAIRO_HAS_PDF_SURFACE
|
||||
#if CAIRO_HAS_WIN32_FONT || CAIRO_HAS_QUARTZ_FONT || CAIRO_HAS_PDF_OPERATORS
|
||||
# define CAIRO_HAS_UTF8_TO_UTF16 1
|
||||
#endif
|
||||
#if CAIRO_HAS_UTF8_TO_UTF16
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue