racket/draw win32: Pango patch

Closes PR 13513
This commit is contained in:
Matthew Flatt 2013-02-23 08:40:40 -07:00
parent 334e1cfdd9
commit bb9068641b
3 changed files with 13 additions and 9 deletions

View File

@ -21,7 +21,7 @@
(define url-host "download.racket-lang.org")
(define url-path "/libs/11/")
(define url-path "/libs/12/")
(define url-base (string-append "http://" url-host url-path))
(define architecture #f) ;; set in `do-download'

View File

@ -100,7 +100,7 @@
["libgobject-2.0-0.dll" 316586]
["libgmodule-2.0-0.dll" 31692]
["libpangocairo-1.0-0.dll" 94625]
["libpangowin32-1.0-0.dll" 102210]
["libpangowin32-1.0-0.dll" 143647]
["libpangoft2-1.0-0.dll" 679322]]
(if (getenv "PLT_WIN_GTK")
'(["libatk-1.0-0.dll" 153763]
@ -126,7 +126,7 @@
["libgmodule-2.0-0.dll" 119538]
["libgthread-2.0-0.dll" 126615]
["libpangocairo-1.0-0.dll" 185168]
["libpangowin32-1.0-0.dll" 192656]
["libpangowin32-1.0-0.dll" 151879]
["libpangoft2-1.0-0.dll" 1188615]]]
;; Database libraries
'[db

View File

@ -128,12 +128,16 @@ _stat64i32' in place of `struct stat', `#undef _stat', and use
`_stat()' in place of `stat()'.
The pre-built binaries are unpatched with the exception of
"libpangowin32", where we have disabled the SYMBOL_CHARSET test that
makes Pango ignore symbol fonts. The test is in the
pango_win32_insert_font() function, and the patch was made in the
pre-built binary by modifying the machine code: change a comparison
to 2, which is SYMBOL_CHARSET, to a comparsion to 3, which doesn't
correspond to any CHARSET.
"libpangowin32", where the following patches are used with version
pango-1.28.3:
pango/pangowin32-fontmap.c:1198:
Comment out SYMBOL_CHARSET test
modules/basic/basic-win32.c:331:
/* Ignore the high surrogate */
if (!(wtext[i] >= 0xD800 && wtext[i] < 0xDBFF))
modules/basic/basic-win32.c:479:
if (ScriptItemize (wtext, wlen, G_N_ELEMENTS (items) - 1, &control, NULL,
Building Racket3m and GRacket3m
-------------------------------