| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
| |
Only show wide chars (as in g_unichar_iswide()) upright.
This improves rendering of 1) digits in CJK context, and 2) Narrow
Hangul characters.
New public API:
pango_gravity_get_for_script_and_width()
|
|
|
|
| |
Always show full-width Unicode characters upright.
|
|
|
|
|
| |
Use HAVE_CAIRO_WIN32 instead of G_OS_WIN32 to decide whether to
use the built-in aliases code.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
While pango-layout doesn't allow NUL in text, the lower level API should
handle it correctly. We were using g_utf8_strlen() in a number of
places. This is problematic since that function stops processing at
NUL even if length>1. We now use an internal pango_utf8_strlen() instead.
Inspired by:
Bug 588678 – pango crash: install a new theme from gnome-appearance-properties
|
|
|
|
| |
Followup patch from Morten.
|
|
|
|
| |
Avoid modifying hashtable while walking it.
|
|
|
|
|
|
| |
`/home/yavor/gnome-trunk/include/pango-1.0/pango/pango-ot.h' with `pango-ot.h'
Remove duplicate entry for pango-ot.h.
|
|
|
|
| |
Remove Alef Maksura from sample text.
|
|
|
|
|
|
|
|
| |
LANG=fa_IR
When computing approximate char width for context metrics use the actual
size the sample string renders to. Previously it was taking average
over all the fonts used by the sample str.
|
|
|
|
| |
Be pedantic about broken cluster setup, avoid div-by-zero.
|
|
|
|
|
|
| |
sizes
[doc] Remove misleading sentence about points and Pango units
|
| |
|
|
|
|
| |
Add missing semicolon.
|
|
|
|
|
| |
Detect TrueType Collections by checking the font data header instead
of checking for "face->num_faces >1".
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Bug 578336 – ABI breakage from 1.22 to 1.24 in fontmap field of PangoFcFont
Commit 9305b9a9995e84ace3818a90346820ef8c47a3ce introduced a "fontmap"
property in PangoFcFont and expected all subclasses to set it upon
construction. And PangoFcFontSet was changed to not set fcfont->fontmap
anymore.
Relax this change to make it backward compatible by:
1) Making "fontmap" property a not-construct-only property
2) In PangoFcFontSet, set "fontmap" if not already set
This should make it backward compatible, while allowing new code to set the
property instead of relying on PangoFcFontSet to do it.
|
|
|
|
|
|
|
|
| |
Bug 556132 – gnome-panel crashed with SIGSEGV in
g_cclosure_marshal_VOID__BOXED()
Not after. Also fixes invalid memory access in case line was both
wrapped and ellipsized.
|
|
|
|
|
|
| |
By merging them. This is what happens for loading fonts in pango-context.
We should do the same or we'll get zero-size fonts if layout has a font desc
set with no size.
|
| |
|
| |
|
|
|
|
|
| |
Previously we were returning zero. We now return the height of the
glyph for space.
|
| |
|
| |
|
|
|
|
|
|
|
| |
Move the PangoScriptIter structure definition to a private header file,
so that we can embed the iterator within other structures or allocate
a local iterator on the stack. This eliminates the frequent short-lived
allocations associated with the iterator.
|
| |
|
|
|
|
| |
Don't crash when no fonts installed.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
Gecko uses its own PangoFcFontMap subclass with its own PangoFontSet.
Previously we were setting font->fontmap in our own private
PangoFcFontSet. Now it's up to the PangoFcFont subclass to set it
when creating the new font object.
Also adds the following backend-public symbol:
pango_fc_font_map_find_decoder()
|
| |
|
| |
|
| |
|
|
|
|
| |
Now that we keep a lot fewer objects per fontset, increase the cache size.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
indicate weight or stretch into the corrersponding Pango font
description setting and stripped those word(s) from the family name.
Personally I liked the effect this had on the GTK+ font picker,
combining all weight and stretch variants of what de facto is one
typeface family (for instance DejaVu) under one family name. But Bulia
Byak reported that this caused regressions in Inkscape. So OK then.
|
| |
|
| |
|
| |
|
|
|
|
| |
Reported by Tommi Rantala.
|
| |
|
|
|
|
| |
svn path=/trunk/; revision=2829
|
|
|
|
|
|
|
|
|
| |
2009-02-03 Behdad Esfahbod <behdad@gnome.org>
* pango/Makefile.am: Comment out gobject-introspection for now,
to get a release out.
svn path=/trunk/; revision=2827
|
|
|
|
|
|
|
|
|
|
| |
2009-02-01 Behdad Esfahbod <behdad@gnome.org>
* pango/pangocairo-fcfont.c (pango_cairo_fc_font_class_init):
Don't do anything in shutdown. Was causing double-free of cairo
font private data.
svn path=/trunk/; revision=2825
|
|
|
|
|
|
|
|
|
|
|
| |
2009-01-31 Behdad Esfahbod <behdad@gnome.org>
* pango/opentype/harfbuzz-gpos.c (Load_Mark2Array),
(Free_Mark2Array):
Allocate all array rows in a single ALLOC call. Saves over 100
alloc calls when loading DejaVu Sans,
svn path=/trunk/; revision=2824
|
|
|
|
|
|
|
|
|
|
|
| |
2009-01-31 Behdad Esfahbod <behdad@gnome.org>
* pango/pangofc-fontmap.c (pango_fc_face_describe),
(pango_fc_face_list_sizes), (pango_fc_family_list_faces):
It's not a programming error if face->family is NULL or
family->fontmap is NULL. Be graceful.
svn path=/trunk/; revision=2823
|
|
|
|
| |
svn path=/trunk/; revision=2822
|