summaryrefslogtreecommitdiff
path: root/pango
Commit message (Collapse)AuthorAgeFilesLines
* Bug 410169 – gravity problem with Common charsBehdad Esfahbod2009-07-224-14/+63
| | | | | | | | | | 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()
* Bug 589113 – Some characters rotated incorrectly in vertical textBehdad Esfahbod2009-07-221-3/+66
| | | | Always show full-width Unicode characters upright.
* Bug 588060 -- Fonts missing on CygwinTor Lillqvist2009-07-211-2/+2
| | | | | Use HAVE_CAIRO_WIN32 instead of G_OS_WIN32 to decide whether to use the built-in aliases code.
* Bug 589133 – Firefox 3.5 complains about invalid weak referencesBehdad Esfahbod2009-07-201-2/+11
|
* Bug 585806 – crash during pango_fc_font_map_shutdownBehdad Esfahbod2009-07-202-8/+0
|
* Fix typoBehdad Esfahbod2009-07-171-1/+1
|
* Handle NUL in text in places that g_utf8_strlen () was usedBehdad Esfahbod2009-07-157-18/+49
| | | | | | | | | | 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
* Bug 586814 – Crashes related to fontmap destruction after upgradeBehdad Esfahbod2009-06-241-1/+5
| | | | Followup patch from Morten.
* Bug 586814 – Crashes related to fontmap destruction after upgradeBehdad Esfahbod2009-06-241-5/+9
| | | | Avoid modifying hashtable while walking it.
* Bug 585337 – Fails to install: install: will not overwrite just-createdBehdad Esfahbod2009-06-101-1/+1
| | | | | | `/home/yavor/gnome-trunk/include/pango-1.0/pango/pango-ot.h' with `pango-ot.h' Remove duplicate entry for pango-ot.h.
* Bug 584328 – Persian sample text is not goodBehdad Esfahbod2009-05-301-1/+1
| | | | Remove Alef Maksura from sample text.
* Bug 583250 – pango_font_metrics_get_approximate_char_width is wrong when ↵Behdad Esfahbod2009-05-301-19/+10
| | | | | | | | 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.
* Bug 580987 – SIGFPE in pango_glyph_string_index_to_xBehdad Esfahbod2009-05-011-0/+6
| | | | Be pedantic about broken cluster setup, avoid div-by-zero.
* Bug 580273 – Font metrics functions incorrectly listed as reporting point ↵Behdad Esfahbod2009-04-261-4/+4
| | | | | | sizes [doc] Remove misleading sentence about points and Pango units
* Use git.mkBehdad Esfahbod2009-04-173-0/+6
|
* Bug 578935 – Syntax error (missing semicolon) in pango/pangowin32-fontmap.cBehdad Esfahbod2009-04-141-1/+1
| | | | Add missing semicolon.
* Bug 577952 – Error loading {GDEF,GSUB,GPOS} table 0x6EAD1.24.1Behdad Esfahbod2009-04-091-2/+9
| | | | | Detect TrueType Collections by checking the font data header instead of checking for "face->num_faces >1".
* [pangofc] Be more tolerant on the "fontmap" property settingBehdad Esfahbod2009-04-082-1/+6
| | | | | | | | | | | | | | | | | | 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.
* [layout] Truncate final whitespace in the line before ellipsizingBehdad Esfahbod2009-04-061-9/+7
| | | | | | | | 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.
* [layout] When computing empty line extents, use both layout and context fontdescBehdad Esfahbod2009-04-061-9/+14
| | | | | | 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.
* [layout] Don't break line on LINE_SEPARATOR if the line is to be ellipsizedBehdad Esfahbod2009-04-061-2/+7
|
* Allow font_family=NULL in load_font() and load_fontset() methodsBehdad Esfahbod2009-04-065-12/+16
|
* [xft,ft2] Fix empty-glyph logical extentsBehdad Esfahbod2009-04-062-10/+30
| | | | | Previously we were returning zero. We now return the height of the glyph for space.
* Allow desc_to_merge=NULL in pango_font_description_merge()Behdad Esfahbod2009-04-061-2/+6
|
* Use g_debug() instead of g_message()Behdad Esfahbod2009-04-062-6/+6
|
* [pango] Allocate PangoScriptIter on stack.Chris Wilson2009-03-205-52/+101
| | | | | | | 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.
* [pango-context] Fix assertion with enable_fallback=FALSE and no fontsBehdad Esfahbod2009-03-171-0/+3
|
* Red Hat Bug 490331 - Crash of galeon in libpangoBehdad Esfahbod2009-03-151-1/+1
| | | | Don't crash when no fonts installed.
* Rebuild pango-script-lang-table.h with fontconfig-2.6.99.behdadBehdad Esfahbod2009-03-141-193/+241
|
* [pangofc-fontmap] Document the caching structureBehdad Esfahbod2009-03-131-0/+54
|
* [pangofc] Share cmap cache between PangoFcFont's of the same face (#567160)Behdad Esfahbod2009-03-133-81/+158
|
* [pangofc] Reuse filename from pattern in coverage keyBehdad Esfahbod2009-03-131-8/+20
|
* [pangofc] Add a "fontmap" property to PangoFcFontBehdad Esfahbod2009-03-137-34/+93
| | | | | | | | | | | 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()
* [pango-coverage] Fix optimization bug in pango_coverage_to_bytes()Behdad Esfahbod2009-03-131-8/+11
|
* [pango-coverage] Use gslice for data arraysBehdad Esfahbod2009-03-131-3/+3
|
* [pango-coverage] Remove unused struct memberBehdad Esfahbod2009-03-131-1/+0
|
* Increase FONTSET_CACHE_SIZE from 64 to 256Behdad Esfahbod2009-03-101-1/+1
| | | | Now that we keep a lot fewer objects per fontset, increase the cache size.
* [pangofc-fontmap] Don't unref NULL object (RH bug# 487593)Behdad Esfahbod2009-03-101-1/+5
|
* Revert change from 2008-05-28 that mapped words and word pairs thatTor Lillqvist2009-03-091-98/+2
| | | | | | | | | | 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.
* [opentype] Protect against illegal access for arrays of length zeroBehdad Esfahbod2009-03-022-4/+24
|
* [opentype] Use size_t instead of uint for malloc wrappersBehdad Esfahbod2009-03-022-4/+6
|
* [glyphstring] Handle overflow with very long glyphstringsBehdad Esfahbod2009-03-021-6/+20
|
* [pango-language] Fix small leakBehdad Esfahbod2009-03-021-2/+4
| | | | Reported by Tommi Rantala.
* Fix Bug 572529 – Poor -I ordering can break buildBehdad Esfahbod2009-03-021-2/+2
|
* Fix check.PANGO_1_23_01.23.0Behdad Esfahbod2009-02-031-0/+6
| | | | svn path=/trunk/; revision=2829
* Comment out gobject-introspection for now, to get a release out.Behdad Esfahbod2009-02-031-14/+14
| | | | | | | | | 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
* Don't do anything in shutdown. Was causing double-free of cairo fontBehdad Esfahbod2009-02-021-9/+0
| | | | | | | | | | 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
* Allocate all array rows in a single ALLOC call. Saves over 100 alloc callsBehdad Esfahbod2009-02-021-42/+17
| | | | | | | | | | | 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
* It's not a programming error if face->family is NULL or family->fontmap isBehdad Esfahbod2009-01-311-4/+6
| | | | | | | | | | | 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
* TypoBehdad Esfahbod2009-01-311-1/+1
| | | | svn path=/trunk/; revision=2822