| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Replace it with PANGO_GET_UNKNOWN_GLYPH.
|
|
|
|
| |
Replace it with pango_fc_font_lock/unlock_face calls.
|
| |
|
|
|
|
| |
gcc doesn't like #ifndef LANGUAGE(x, y, z).
|
|
|
|
|
| |
Add the new paragraph_text/length parameters to the script_shape
implementation in the fallback engine.
|
|
|
|
|
| |
g_type_init has been deprecated in GLib 2.35.x. Use a
version check here to avoid depending on unstable GLib.
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
By way of declaring fontmaps NOT threadsafe, and making
pango_cairo_font_map_get_default() return a thread-private fontmap.
test-pangocairo-threads doesn't crash anymore, if used with fontconfig
master.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
memory"
This reverts commit 7ed3cb89923c376d8b30ae3f977ab9e1a231e430, after
resolving conflicts.
The patch introduced some lifecycle management issues that could easily
cause crashing. Reverting till the issues are resolved.
|
| |
|
|
|
|
|
|
|
| |
If we are in fallback mode, with a font that has to space glyph, then
looking up engine/font for any character not in the font was failing
badly. In that case, if there's only one engine (which is the case
these days), just choose it.
|
|
|
|
|
| |
After commit 7c1d6208a4b42ef3a3cce0d8dffb214c7a321e5e, the first matched
font was being prepared twice, causing misconfiguration.
|
|
|
|
|
| |
This reverts commit 7274bd56db3ce2f02594687a307d22aa99c787c4.
Whatever the problem was with g-ir-scanner, it's resolved.
|
|
|
|
| |
Refcount cached patterns.
|
|
|
|
| |
Fix OS X relocation.
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=679299
|
|
|
|
|
|
|
| |
This is intended for applications that need to parse pango
markup from some sort of GIO stream.
https://bugzilla.gnome.org/show_bug.cgi?id=679299
|
|
|
|
|
|
|
| |
It doesn't do anything bad, and will help us when we move to a stream-based
approach.
https://bugzilla.gnome.org/show_bug.cgi?id=679299
|
|
|
|
|
| |
Essentially our FcFontRenderPrepare() for fallback fonts was never
actually being called. Donno how this was "working"...
|
| |
|
| |
|
|
|
|
|
|
| |
So that the created absolute path is where the modules are installed
instead of where the modules file is installed (i.e.,
lib/pango/1.8.0/modules instead of etc/pango).
|
| |
|
|
|
|
|
|
| |
This was blowing up the cogl build since it uses G_DISABLE_DEPRECATED.
https://bugzilla.gnome.org/show_bug.cgi?id=689843
|
|
|
|
|
|
|
|
|
| |
We track changes in the PangoContext and automatically call
pango_layout_context_changed() when needed, plus we track
changes in the layout and let apps know via pango_layout_get_serial
when the layout changed and needs to be redrawn.
https://bugzilla.gnome.org/show_bug.cgi?id=340066
|
|
|
|
|
|
|
|
|
|
|
|
| |
Whenever a PangoContext or its fontmap changes we bump the
contexts serial, you can get it via pango_context_get_serial()
to see find out if the context changed since the last time and
you need to relayout.
You can also force the context to be "changed" by calling
pango_context_changed().
https://bugzilla.gnome.org/show_bug.cgi?id=340066
|
|
|
|
|
|
|
|
| |
This adds the pango_font_map_get_serial method that lets you see
if a fontmap has changes since the last check. It adds implementations
to all current fontmaps.
https://bugzilla.gnome.org/show_bug.cgi?id=340066
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Oops!
|
|
|
|
| |
Oops!
|
|
|
|
|
|
|
|
| |
In UAX#29 revision 19 (reissued for Unicode 6.1.0), Prepend and Extend
GCB properties have been dropped for Thai/Lao. So, drop the hard coding
accordingly.
https://bugzilla.gnome.org/show_bug.cgi?id=576156
|
|
|
|
| |
This was spotted by Coverity.
|
| |
|
|
|
|
|
| |
Gobject-introspection encounters it without the definitions in the
including code and fails.
|
|
|
|
| |
See bug 688356
|
|
|
|
|
|
| |
Colors that were defined to different values in Pango than they were in
the CSS specification have been updated to conform to the CSS specs.
See http://dev.w3.org/csswg/css3-color/#svg-color for the color values.
|
|
|
|
|
| |
Color names taken from
http://dev.w3.org/csswg/css3-color/#svg-color
|
|
|
|
|
|
|
| |
We can't call pango_xft_shutdown display while holding
the same lock it is taking.
https://bugzilla.gnome.org/show_bug.cgi?id=687470
|
|
|
|
|
|
|
|
|
|
|
|
| |
We now need a load_fontset() implementation for the Windows backend as the
pango.aliases handling is moved to pangowin32-fontmap.c since commit
831611158, so that it will go through the pango.aliases file and load
the appropriate fontset needed to display various texts.
This basically copies pango_font_map_load_fontset() from pango-fontmap.c
and adds the old (pre-commit 831611158) pango_font_map_fontset_add_fonts(),
but using pango_win32_font_map_load_font() in place of
pango_font_map_load_font().
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Variant of pango_shape() that takes the full paragraph text as input.
This is then passed in entirety to HarfBuzz, which would allow certain
cross-run interactions (in Arabic for example).
When combined with upcoming HarfBuzz 0.9.5+, this fixes:
Red Hat Bug 858736 - [Spanish] Stray dotted circle rendered
https://bugzilla.redhat.com/show_bug.cgi?id=858736
and partially:
Bug 313181 - color changes break arabic shaping
https://bugzilla.gnome.org/show_bug.cgi?id=313181
|
|
|
|
| |
After 88692e4e, every make invocation was rebuilding everything. Fix.
|
|
|
|
| |
For its PangoCoreTextFontMap* member.
|
|
|
|
|
|
|
| |
The maps list is protected with a mutex.
registered_engines, dlloaded_engines and dlloaded_modules are
read-only after init_modules, which is protected with g_once_init.
Finally, engine creation is protected with another mutex.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The code was loading and parsing the system config file
every single time, and has not correctly handling mixed
requests for user and system config entries.
This commit reworks the code so that the configuration is
loaded only once, in threadsafe fashion.
pango_config_key_get_system is no longer using the same
hash table, but reloads its data every time - this is
not a really problem, since this function is only used
in pango-querymodules.
|
| |
|