platform/upstream/pango.git
15 years agoFix typo
Behdad Esfahbod [Fri, 17 Jul 2009 05:41:42 +0000 (01:41 -0400)]
Fix typo

15 years agoHandle NUL in text in places that g_utf8_strlen () was used
Behdad Esfahbod [Wed, 15 Jul 2009 17:59:20 +0000 (13:59 -0400)]
Handle NUL in text in places that g_utf8_strlen () was used

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

15 years agoRelease 1.24.4 1.24.4
Behdad Esfahbod [Mon, 29 Jun 2009 22:33:18 +0000 (18:33 -0400)]
Release 1.24.4

15 years agoBug 586814 – Crashes related to fontmap destruction after upgrade
Behdad Esfahbod [Thu, 25 Jun 2009 03:03:39 +0000 (23:03 -0400)]
Bug 586814 – Crashes related to fontmap destruction after upgrade

Followup patch from Morten.

15 years agoBug 586814 – Crashes related to fontmap destruction after upgrade
Behdad Esfahbod [Thu, 25 Jun 2009 02:12:37 +0000 (22:12 -0400)]
Bug 586814 – Crashes related to fontmap destruction after upgrade

Avoid modifying hashtable while walking it.

15 years agoRelease 1.24.3 1.24.3
Behdad Esfahbod [Fri, 19 Jun 2009 18:05:14 +0000 (14:05 -0400)]
Release 1.24.3

15 years agoBug 585337 – Fails to install: install: will not overwrite just-created
Behdad Esfahbod [Thu, 11 Jun 2009 03:28:57 +0000 (23:28 -0400)]
Bug 585337 – Fails to install: install: will not overwrite just-created
`/home/yavor/gnome-trunk/include/pango-1.0/pango/pango-ot.h' with `pango-ot.h'

Remove duplicate entry for pango-ot.h.

15 years agoBug 585164 – 'man preload' shows man page for pango-view
Behdad Esfahbod [Thu, 11 Jun 2009 03:25:57 +0000 (23:25 -0400)]
Bug 585164 – 'man preload' shows man page for pango-view

Fix pango-view manual installation.

15 years agoBug 584328 – Persian sample text is not good
Behdad Esfahbod [Sun, 31 May 2009 03:44:22 +0000 (23:44 -0400)]
Bug 584328 – Persian sample text is not good

Remove Alef Maksura from sample text.

15 years agoBug 583250 – pango_font_metrics_get_approximate_char_width is wrong when LANG=fa_IR
Behdad Esfahbod [Sun, 31 May 2009 03:40:35 +0000 (23:40 -0400)]
Bug 583250 – pango_font_metrics_get_approximate_char_width is wrong when 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.

15 years agoReleased 1.24.2 1.24.2
Behdad Esfahbod [Mon, 4 May 2009 20:23:51 +0000 (16:23 -0400)]
Released 1.24.2

15 years ago[git.mk] Better deal with non-automake directories
Behdad Esfahbod [Mon, 4 May 2009 20:00:06 +0000 (16:00 -0400)]
[git.mk] Better deal with non-automake directories

15 years ago[git.mk] Update
Behdad Esfahbod [Mon, 4 May 2009 18:16:25 +0000 (14:16 -0400)]
[git.mk] Update

15 years ago[git.mk] Fix DEST_SUBDIR recursion
Behdad Esfahbod [Mon, 4 May 2009 00:29:17 +0000 (20:29 -0400)]
[git.mk] Fix DEST_SUBDIR recursion

15 years ago[git.mk] Recurse in DIST_SUBDIRS too
Behdad Esfahbod [Mon, 4 May 2009 00:25:33 +0000 (20:25 -0400)]
[git.mk] Recurse in DIST_SUBDIRS too

15 years agoBug 580987 – SIGFPE in pango_glyph_string_index_to_x
Behdad Esfahbod [Fri, 1 May 2009 18:05:31 +0000 (14:05 -0400)]
Bug 580987 – SIGFPE in pango_glyph_string_index_to_x

Be pedantic about broken cluster setup, avoid div-by-zero.

15 years ago[doap] Add mailto:
Behdad Esfahbod [Mon, 27 Apr 2009 18:24:24 +0000 (14:24 -0400)]
[doap] Add mailto:

15 years agoBug 580273 – Font metrics functions incorrectly listed as reporting point sizes
Behdad Esfahbod [Mon, 27 Apr 2009 01:39:06 +0000 (21:39 -0400)]
Bug 580273 – Font metrics functions incorrectly listed as reporting point sizes

[doc] Remove misleading sentence about points and Pango units

15 years ago[git.mk] Also ignore other vim buffer files
Behdad Esfahbod [Sun, 26 Apr 2009 06:22:14 +0000 (02:22 -0400)]
[git.mk] Also ignore other vim buffer files

15 years agoFix maintainer-clean
Behdad Esfahbod [Sun, 26 Apr 2009 00:33:03 +0000 (20:33 -0400)]
Fix maintainer-clean

15 years ago[git.mk] Replace "git stat" with "git status"
Behdad Esfahbod [Fri, 24 Apr 2009 03:17:38 +0000 (23:17 -0400)]
[git.mk] Replace "git stat" with "git status"

Apparently "stat" was aliased by me locally.

15 years agoBug 579694 – Cygwin parallel-build patch
Behdad Esfahbod [Tue, 21 Apr 2009 19:15:08 +0000 (15:15 -0400)]
Bug 579694 – Cygwin parallel-build patch

Fix build on Cygwin.

15 years ago[DOAP] Add category
Behdad Esfahbod [Sun, 19 Apr 2009 19:35:33 +0000 (15:35 -0400)]
[DOAP] Add category

15 years ago[git.mk] Support out-of-tree builds
Behdad Esfahbod [Sat, 18 Apr 2009 20:19:24 +0000 (16:19 -0400)]
[git.mk] Support out-of-tree builds

15 years ago[git.mk] Remove copyright claim
Behdad Esfahbod [Sat, 18 Apr 2009 19:04:41 +0000 (15:04 -0400)]
[git.mk] Remove copyright claim

15 years ago[Makefile.am] Minor cleanup
Behdad Esfahbod [Sat, 18 Apr 2009 03:22:08 +0000 (23:22 -0400)]
[Makefile.am] Minor cleanup

15 years ago[git.mk] Add gnome-doc-utils support
Behdad Esfahbod [Sat, 18 Apr 2009 01:37:53 +0000 (21:37 -0400)]
[git.mk] Add gnome-doc-utils support

15 years ago[git.mk] Document more
Behdad Esfahbod [Sat, 18 Apr 2009 01:11:37 +0000 (21:11 -0400)]
[git.mk] Document more

15 years ago[git.mk] Document
Behdad Esfahbod [Fri, 17 Apr 2009 21:55:39 +0000 (17:55 -0400)]
[git.mk] Document

15 years ago[docs] Fix Makefile.am to not delete .gitignore on dist
Behdad Esfahbod [Fri, 17 Apr 2009 21:27:03 +0000 (17:27 -0400)]
[docs] Fix Makefile.am to not delete .gitignore on dist

15 years ago[doc] Update templates
Behdad Esfahbod [Fri, 17 Apr 2009 21:24:02 +0000 (17:24 -0400)]
[doc] Update templates

15 years agoUse git.mk
Behdad Esfahbod [Fri, 17 Apr 2009 21:03:39 +0000 (17:03 -0400)]
Use git.mk

15 years agoAdd git.mk
Behdad Esfahbod [Fri, 17 Apr 2009 21:03:25 +0000 (17:03 -0400)]
Add git.mk

15 years agoDoap it up
Behdad Esfahbod [Fri, 17 Apr 2009 17:28:56 +0000 (13:28 -0400)]
Doap it up

15 years agoBug 578944 – pango-1.24.1 fails its testsuite
Behdad Esfahbod [Tue, 14 Apr 2009 18:09:42 +0000 (14:09 -0400)]
Bug 578944 – pango-1.24.1 fails its testsuite

Fix doc coverage.

15 years agoBug 578935 – Syntax error (missing semicolon) in pango/pangowin32-fontmap.c
Behdad Esfahbod [Tue, 14 Apr 2009 15:09:41 +0000 (11:09 -0400)]
Bug 578935 – Syntax error (missing semicolon) in pango/pangowin32-fontmap.c

Add missing semicolon.

15 years agoBug 577952 – Error loading {GDEF,GSUB,GPOS} table 0x6EAD 1.24.1
Behdad Esfahbod [Thu, 9 Apr 2009 17:30:26 +0000 (13:30 -0400)]
Bug 577952 – Error loading {GDEF,GSUB,GPOS} table 0x6EAD

Detect TrueType Collections by checking the font data header instead
of checking for "face->num_faces >1".

15 years ago[pangofc] Be more tolerant on the "fontmap" property setting
Behdad Esfahbod [Wed, 8 Apr 2009 19:47:00 +0000 (15:47 -0400)]
[pangofc] Be more tolerant on the "fontmap" property setting

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.

15 years ago[doc] Tag markup attributes with version they were introduced
Peter Clifton [Tue, 7 Apr 2009 20:21:24 +0000 (16:21 -0400)]
[doc] Tag markup attributes with version they were introduced

15 years ago[layout] Truncate final whitespace in the line before ellipsizing
Behdad Esfahbod [Mon, 6 Apr 2009 23:49:02 +0000 (19:49 -0400)]
[layout] Truncate final whitespace in the line before ellipsizing

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.

15 years ago[layout] When computing empty line extents, use both layout and context fontdesc
Behdad Esfahbod [Mon, 6 Apr 2009 23:47:40 +0000 (19:47 -0400)]
[layout] When computing empty line extents, use both layout and context fontdesc

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.

15 years ago[layout] Don't break line on LINE_SEPARATOR if the line is to be ellipsized
Behdad Esfahbod [Mon, 6 Apr 2009 23:46:49 +0000 (19:46 -0400)]
[layout] Don't break line on LINE_SEPARATOR if the line is to be ellipsized

15 years agoAllow font_family=NULL in load_font() and load_fontset() methods
Behdad Esfahbod [Mon, 6 Apr 2009 23:45:04 +0000 (19:45 -0400)]
Allow font_family=NULL in load_font() and load_fontset() methods

15 years ago[xft,ft2] Fix empty-glyph logical extents
Behdad Esfahbod [Mon, 6 Apr 2009 23:43:17 +0000 (19:43 -0400)]
[xft,ft2] Fix empty-glyph logical extents

Previously we were returning zero.  We now return the height of the
glyph for space.

15 years agoAllow desc_to_merge=NULL in pango_font_description_merge()
Behdad Esfahbod [Mon, 6 Apr 2009 23:42:06 +0000 (19:42 -0400)]
Allow desc_to_merge=NULL in pango_font_description_merge()

15 years agoUse g_debug() instead of g_message()
Behdad Esfahbod [Mon, 6 Apr 2009 23:41:32 +0000 (19:41 -0400)]
Use g_debug() instead of g_message()

15 years ago[cairotwisted] Plug couple other leaks
Behdad Esfahbod [Mon, 30 Mar 2009 17:21:23 +0000 (13:21 -0400)]
[cairotwisted] Plug couple other leaks

15 years ago[cairotwisted] Plug leak
Behdad Esfahbod [Mon, 30 Mar 2009 17:13:39 +0000 (13:13 -0400)]
[cairotwisted] Plug leak

15 years ago[indic] Fix build
Behdad Esfahbod [Thu, 26 Mar 2009 05:06:13 +0000 (01:06 -0400)]
[indic] Fix build

15 years agoBug 571291 – Unicode 5.1 support in pango - Indic Lanuages
Behdad Esfahbod [Thu, 26 Mar 2009 05:03:43 +0000 (01:03 -0400)]
Bug 571291 – Unicode 5.1 support in pango - Indic Lanuages

Add char class for new characters.
Patch from Rahul Bhalerao.

15 years agoBug 576298 – Fails to link pango-view if --without-x is specified but cairo has X11...
Sebastian Dröge [Mon, 23 Mar 2009 23:16:58 +0000 (19:16 -0400)]
Bug 576298 – Fails to link pango-view if --without-x is specified but cairo has X11 support

15 years ago[pango] Allocate PangoScriptIter on stack.
Chris Wilson [Wed, 18 Mar 2009 13:02:13 +0000 (13:02 +0000)]
[pango] Allocate PangoScriptIter on stack.

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.

15 years ago[pango-context] Fix assertion with enable_fallback=FALSE and no fonts
Behdad Esfahbod [Tue, 17 Mar 2009 16:05:34 +0000 (12:05 -0400)]
[pango-context] Fix assertion with enable_fallback=FALSE and no fonts

15 years agoRelease 1.24.0 1.24.0
Behdad Esfahbod [Mon, 16 Mar 2009 22:34:47 +0000 (18:34 -0400)]
Release 1.24.0

15 years agoRename ChangeLog.pre-1.23 -> ChangeLog.pre-1-23
Behdad Esfahbod [Mon, 16 Mar 2009 22:08:31 +0000 (18:08 -0400)]
Rename ChangeLog.pre-1.23 -> ChangeLog.pre-1-23

15 years ago[Makefile.am] Generage ChangeLog from git-log
Behdad Esfahbod [Mon, 16 Mar 2009 22:07:50 +0000 (18:07 -0400)]
[Makefile.am] Generage ChangeLog from git-log

15 years agoBug 547963 – man page for pango-view
Behdad Esfahbod [Mon, 16 Mar 2009 21:25:33 +0000 (17:25 -0400)]
Bug 547963 – man page for pango-view

15 years agoBug 502804 – pango-view or pangocairo-view option to annotate
Behdad Esfahbod [Mon, 16 Mar 2009 20:57:58 +0000 (16:57 -0400)]
Bug 502804 – pango-view or pangocairo-view option to annotate

Added --annotate.

Also fixes:
Bug 502801 – per-backend pango-view options

15 years ago[pango-view] Add an extra level of mild annotation to cairo backend
Behdad Esfahbod [Mon, 16 Mar 2009 20:33:48 +0000 (16:33 -0400)]
[pango-view] Add an extra level of mild annotation to cairo backend

15 years ago[pango-view] Clear background in _render
Behdad Esfahbod [Mon, 16 Mar 2009 20:32:02 +0000 (16:32 -0400)]
[pango-view] Clear background in _render

15 years agoBug 502805 – pango-view option for foreground/background color
Behdad Esfahbod [Mon, 16 Mar 2009 20:03:36 +0000 (16:03 -0400)]
Bug 502805 – pango-view option for foreground/background color

15 years ago[configure.in] Look for pango.pc.in instead of ChangeLog
Behdad Esfahbod [Mon, 16 Mar 2009 15:23:22 +0000 (11:23 -0400)]
[configure.in] Look for pango.pc.in instead of ChangeLog

15 years ago[pango-view] Don't clear the background for vector output
Behdad Esfahbod [Sun, 15 Mar 2009 19:50:13 +0000 (15:50 -0400)]
[pango-view] Don't clear the background for vector output

15 years ago[pango-view] Add ability to save to PS, EPS, PDF, and SVG
Behdad Esfahbod [Sun, 15 Mar 2009 18:31:28 +0000 (14:31 -0400)]
[pango-view] Add ability to save to PS, EPS, PDF, and SVG

15 years ago[pango-view] Make the cairo backend save png natively
Behdad Esfahbod [Sun, 15 Mar 2009 17:16:50 +0000 (13:16 -0400)]
[pango-view] Make the cairo backend save png natively

15 years ago[Makefile.am] Cleanup
Behdad Esfahbod [Sun, 15 Mar 2009 17:13:03 +0000 (13:13 -0400)]
[Makefile.am] Cleanup

15 years agoRed Hat Bug 490331 - Crash of galeon in libpango
Behdad Esfahbod [Sun, 15 Mar 2009 17:08:36 +0000 (13:08 -0400)]
Red Hat Bug 490331 -  Crash of galeon in libpango

Don't crash when no fonts installed.

15 years agoBug 523166 – pango-view opens display even when invoked with -q
Behdad Esfahbod [Sun, 15 Mar 2009 01:33:07 +0000 (21:33 -0400)]
Bug 523166 – pango-view opens display even when invoked with -q

Works now.

15 years ago[pango-view] Don't set metrics-hinting, fallback to surface default
Behdad Esfahbod [Sun, 15 Mar 2009 00:50:29 +0000 (20:50 -0400)]
[pango-view] Don't set metrics-hinting, fallback to surface default

15 years ago[pango-view] Remove per-backend binaries
Behdad Esfahbod [Sat, 14 Mar 2009 23:25:48 +0000 (19:25 -0400)]
[pango-view] Remove per-backend binaries

15 years agoRebuild pango-script-lang-table.h with fontconfig-2.6.99.behdad
Behdad Esfahbod [Sat, 14 Mar 2009 23:01:16 +0000 (19:01 -0400)]
Rebuild pango-script-lang-table.h with fontconfig-2.6.99.behdad

15 years ago[Makefile.am] Fix build of gen-script-for-lang
Behdad Esfahbod [Sat, 14 Mar 2009 23:00:54 +0000 (19:00 -0400)]
[Makefile.am] Fix build of gen-script-for-lang

15 years ago[pangofc-fontmap] Document the caching structure
Behdad Esfahbod [Thu, 12 Mar 2009 18:43:54 +0000 (14:43 -0400)]
[pangofc-fontmap] Document the caching structure

15 years ago[pangofc] Share cmap cache between PangoFcFont's of the same face (#567160)
Behdad Esfahbod [Tue, 10 Mar 2009 21:13:36 +0000 (17:13 -0400)]
[pangofc] Share cmap cache between PangoFcFont's of the same face (#567160)

15 years ago[pangofc] Reuse filename from pattern in coverage key
Behdad Esfahbod [Tue, 10 Mar 2009 18:00:09 +0000 (14:00 -0400)]
[pangofc] Reuse filename from pattern in coverage key

15 years ago[pangofc] Add a "fontmap" property to PangoFcFont
Behdad Esfahbod [Tue, 10 Mar 2009 12:08:19 +0000 (08:08 -0400)]
[pangofc] Add a "fontmap" property to PangoFcFont

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()

15 years ago[pango-coverage] Fix optimization bug in pango_coverage_to_bytes()
Behdad Esfahbod [Tue, 10 Mar 2009 15:42:01 +0000 (11:42 -0400)]
[pango-coverage] Fix optimization bug in pango_coverage_to_bytes()

15 years ago[pango-coverage] Use gslice for data arrays
Behdad Esfahbod [Tue, 10 Mar 2009 13:05:39 +0000 (09:05 -0400)]
[pango-coverage] Use gslice for data arrays

15 years ago[pango-coverage] Remove unused struct member
Behdad Esfahbod [Tue, 10 Mar 2009 12:26:20 +0000 (08:26 -0400)]
[pango-coverage] Remove unused struct member

15 years agoIncrease FONTSET_CACHE_SIZE from 64 to 256
Behdad Esfahbod [Wed, 4 Mar 2009 10:46:25 +0000 (14:16 +0330)]
Increase FONTSET_CACHE_SIZE from 64 to 256

Now that we keep a lot fewer objects per fontset, increase the cache size.

15 years ago[pangofc-fontmap] Don't unref NULL object (RH bug# 487593)
Behdad Esfahbod [Mon, 2 Mar 2009 22:00:03 +0000 (01:30 +0330)]
[pangofc-fontmap] Don't unref NULL object (RH bug# 487593)

15 years agoRevert change from 2008-05-28 that mapped words and word pairs that
Tor Lillqvist [Mon, 9 Mar 2009 12:21:49 +0000 (14:21 +0200)]
Revert change from 2008-05-28 that mapped words and word pairs that
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.

15 years ago[opentype] Protect against illegal access for arrays of length zero
Behdad Esfahbod [Mon, 2 Mar 2009 11:46:11 +0000 (15:16 +0330)]
[opentype] Protect against illegal access for arrays of length zero

15 years ago[opentype] Use size_t instead of uint for malloc wrappers
Behdad Esfahbod [Mon, 2 Mar 2009 10:50:20 +0000 (14:20 +0330)]
[opentype] Use size_t instead of uint for malloc wrappers

15 years ago[glyphstring] Handle overflow with very long glyphstrings
Behdad Esfahbod [Mon, 2 Mar 2009 08:30:52 +0000 (12:00 +0330)]
[glyphstring] Handle overflow with very long glyphstrings

15 years ago[pango-language] Fix small leak
Behdad Esfahbod [Mon, 2 Mar 2009 07:47:24 +0000 (11:17 +0330)]
[pango-language] Fix small leak

Reported by Tommi Rantala.

15 years agoBug 572662 – Remove deprecated GTK+ symbols
Behdad Esfahbod [Mon, 2 Mar 2009 07:42:43 +0000 (11:12 +0330)]
Bug 572662 – Remove deprecated GTK+ symbols

Remove the obsolete file viewer-win32.c

15 years agoRename ChangeLog to ChangeLog.pre-1.23
Behdad Esfahbod [Mon, 2 Mar 2009 07:41:09 +0000 (11:11 +0330)]
Rename ChangeLog to ChangeLog.pre-1.23

15 years agoFix Bug 572529 – Poor -I ordering can break build
Behdad Esfahbod [Mon, 2 Mar 2009 07:39:29 +0000 (11:09 +0330)]
Fix Bug 572529 – Poor -I ordering can break build

15 years agoFix warnings
Behdad Esfahbod [Sat, 7 Feb 2009 00:23:48 +0000 (19:23 -0500)]
Fix warnings

15 years agoFix check. 1.23.0 PANGO_1_23_0
Behdad Esfahbod [Tue, 3 Feb 2009 05:49:01 +0000 (05:49 +0000)]
Fix check.

svn path=/trunk/; revision=2829

15 years ago=== Released 1.23.0 ===
Behdad Esfahbod [Tue, 3 Feb 2009 05:34:15 +0000 (05:34 +0000)]
=== Released 1.23.0 ===

2009-02-03  Behdad Esfahbod  <behdad@gnome.org>

        * === Released 1.23.0 ===

        * configure.in: Version 1.23.0

        * NEWS: Updated.

svn path=/trunk/; revision=2828

15 years agoComment out gobject-introspection for now, to get a release out.
Behdad Esfahbod [Tue, 3 Feb 2009 05:34:03 +0000 (05:34 +0000)]
Comment out gobject-introspection for now, to get a release out.

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

15 years agoFix conditional.
Behdad Esfahbod [Tue, 3 Feb 2009 05:33:50 +0000 (05:33 +0000)]
Fix conditional.

2009-02-02  Behdad Esfahbod  <behdad@gnome.org>

        * configure.in: Fix conditional.

svn path=/trunk/; revision=2826

15 years agoDon't do anything in shutdown. Was causing double-free of cairo font
Behdad Esfahbod [Mon, 2 Feb 2009 00:13:22 +0000 (00:13 +0000)]
Don't do anything in shutdown. Was causing double-free of cairo font

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

15 years agoAllocate all array rows in a single ALLOC call. Saves over 100 alloc calls
Behdad Esfahbod [Mon, 2 Feb 2009 00:13:07 +0000 (00:13 +0000)]
Allocate all array rows in a single ALLOC call. Saves over 100 alloc calls

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

15 years agoIt's not a programming error if face->family is NULL or family->fontmap is
Behdad Esfahbod [Sat, 31 Jan 2009 23:35:48 +0000 (23:35 +0000)]
It's not a programming error if face->family is NULL or family->fontmap is

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

15 years agoTypo
Behdad Esfahbod [Sat, 31 Jan 2009 20:44:53 +0000 (20:44 +0000)]
Typo

svn path=/trunk/; revision=2822

15 years agoBug 569763 – pango doesn't like font descriptions without family!
Behdad Esfahbod [Fri, 30 Jan 2009 05:04:47 +0000 (05:04 +0000)]
Bug 569763 – pango doesn't like font descriptions without family!

2009-01-30  Behdad Esfahbod  <behdad@gnome.org>

        Bug 569763 – pango doesn't like font descriptions without family!

        * pango/pangofc-fontmap.c (pango_fc_make_pattern): Don't crash is desc
        doesn't have family set.

svn path=/trunk/; revision=2821

15 years agoRemove default font family and size. This means default is "serif 12" now,
Behdad Esfahbod [Fri, 30 Jan 2009 05:04:35 +0000 (05:04 +0000)]
Remove default font family and size. This means default is "serif 12" now,

2009-01-29  Behdad Esfahbod  <behdad@gnome.org>

        * pango-view/viewer-render.c (make_layout), (get_options_string):
        Remove default font family and size.  This means default is "serif 12"
now, instead of previous "sans 18".

svn path=/trunk/; revision=2820