Commit graph

160 commits

Author SHA1 Message Date
adam
9dfbbcd158 Fix PLIST for Darwin without x11 2009-04-19 07:48:09 +00:00
drochner
46f0de3c36 update to 1.24.1
changes: bugfixes
2009-04-16 18:52:27 +00:00
reed
d6361225d2 The build says it needs fontconfig>=2.5.0
If not it will build but won't do the fontconfig, and
freetype2 related parts. Even cairo is not used.
(While here also add a comment suggesting maybe a libthai option later.)
2009-04-15 03:14:50 +00:00
joerg
2d1ba244e9 Simply and speed up buildlink3.mk files and processing.
This changes the buildlink3.mk files to use an include guard for the
recursive include. The use of BUILDLINK_DEPTH, BUILDLINK_DEPENDS,
BUILDLINK_PACKAGES and BUILDLINK_ORDER is handled by a single new
variable BUILDLINK_TREE. Each buildlink3.mk file adds a pair of
enter/exit marker, which can be used to reconstruct the tree and
to determine first level includes. Avoiding := for large variables
(BUILDLINK_ORDER) speeds up parse time as += has linear complexity.
The include guard reduces system time by avoiding reading files over and
over again. For complex packages this reduces both %user and %sys time to
half of the former time.
2009-03-20 19:23:50 +00:00
drochner
6d3bd84c92 remove obsolete CONFIGURE_ARG 2009-03-18 13:26:03 +00:00
jmcneill
62a48b64d3 Update pango to 1.24.0.
Overview of changes between 1.23.0 and 1.24.0
=============================================
- pango-view improvements:

  * pango-view -q now works without a X server.

  * Ability to save to PS, EPS, PDF, and SVG files.  Filetype is
    detected from output file extension.

  * New options --foreground, --background, and --annotate.

  * Now installs a manual page, thanks to help2man.

- PangoFc API changes:

  * PangoFcFont now has a "fontmap" property that subclasses can use
    at construction time to setup the font->fontmap link.

  * New backend-public API:

	pango_fc_font_map_find_decoder()

- Misc optimizations
- Build fixes
- Misc bug fixes
- Bugs fixed in this release:
    Bug 547963 – man page for pango-view
    Bug 502804 – pango-view or pangocairo-view option to annotate
    Bug 502801 – per-backend pango-view options
    Bug 502805 – pango-view option for foreground/background color
    Red Hat Bug 490331 -  Crash of galeon in libpango
    Bug 523166 – pango-view opens display even when invoked with -q
    Bug 567160 – Share cmap cache between PangoFcFont's of the same face
    Red Hat Bug 487593 -  crash changing language in gdm
    Bug 572662 – Remove deprecated GTK+ symbols
    Bug 572529 – Poor -I ordering can break build

Overview of changes between 1.22.4 and 1.23.0
=============================================
- Change the PangoFc font loading API to allow for lazy loading of fonts.
- Add private PangoFcFontset that loads fallback fonts as needed.
- Call FcFontMatch() and only if fallback fonts are needed call FcFontSort().
- Optimize HarfBuzz number of malloc calls
- Don't malloc megs of unused memory in HarfBuzz
- Print-out, and parse, numeric styles correctly.  Things like
  "DejaVu Sans weight=100" parse as font description now.
- New public API:

	Add two new public macros:

		PANGO_ATTRIBUTE_INDEX_FROM_TEXT_BEGINNING
		PANGO_ATTRIBUTE_INDEX_TO_TEXT_END

	Add new public enum values:

		PANGO_WEIGHT_BOOK
		PANGO_WEIGHT_ULTRAHEAVY
		PANGO_WEIGHT_THIN
		PANGO_WEIGHT_MEDIUM

- Misc bug fixes
- Bugs fixed in this release:
	Bug 569763 – pango doesn't like font descriptions without family!
	Bug 560792 – Make PangoLayoutLine with line->layout==NULL renderable
	Bug 567392 – Abiword crashes in pango when opening document with
		certain locales
	Bug 566727 – PangoFontsetLazy
	Bug 567165 – Apply all pattern matrices
	Bug 567934 – Add introspection support inside pango
	Bug 549532 – Correction to the sample string for Hindi in
		pango-language-sample-table.h
	Bug 566726 – Minor optimization
	Bug 566941 – Add PANGO_ATTRIBUTE_INDEX_FROM_TEXT_BEGINNING and
		PANGO_ATTRIBUTE_INDEX_TO_TEXT_END
	Bug 551469 – Fold '@' to '-' when parsing PangoLanguages
	Bug 328206 – Update/remove some old files
	Bug 166709 – Handle font variants more consistently
	Bug 166676 – pango_fc_font_map_finalize
	Bug 164001 - pango-querymodules doesn't work uninstalled on win32
	Bug 384362 – pango can't select some font styles
	Bug 168085 – numeric styles in pango_font_description_to_string()
	Bug 529591 – Code related to malayalam is misplaced.
		Patch from Rahul Bhalerao
	Bug 515807 – Don't bind modules lazily
	Bug 512662 – Update check.docs for pango-undeclared.txt
	Bug 565644 – Maybe pango_font_descriptions_free is deprecated
	Bug 469049 – Fix all compiler warnings
	Bug 565379 – pango_font_description_better_match some style attributes
		of old_match are not checked
	Bug 564877 – pango-engine.h: PANGO_MODULE_PREFIX and G_MODULE_EXPORT
2009-03-17 20:41:34 +00:00
wiz
2c2733aadd Update to 1.22.4:
Overview of changes between 1.22.3 and 1.22.4
=============================================
- Misc bug fixes
- Improved docs
- Bugs fixed in this release:
	Bug 564644 – Not complete description of the
		pango_font_description_better_match function
	Bug 563898 – Generated output is not deterministic
	Bug 563803 – pango_renderer_finalize fails to call parent finalize
	Bug 499626 – Space should be optional after comma in
		PangoFontDescription input string
	Bug 499624 – Spaces around commas in PangoFontDescription family name
		should be trimmed
	Bug 563557 – set g_get_prgname() in fc pattern
	Bug 563356 – The input area of firefox and the blank width after text
		in gnome-menu was stretched too wide, under pango-1.22.3
	Bug 562574 – Pangocariowin32 is leaking every cairo font it ever
		creates
2009-01-05 20:30:43 +00:00
wiz
bfa3bc0220 Update to 1.22.3:
Overview of changes between 1.22.2 and 1.22.3
=============================================
- Minor bug fix with matrix operations
- Fix build with older compilers
- Bugs fixed in this release:
	Bug 561779 – incorrect calculations in pango_matrix_concat
		implementation
	Bug 560730 – pango 1.22.2 build failure on Solaris 10, too many array
		initializers in pango-language.c
	Bug 561740 – Use stack allocation for thai_engine_break
2008-11-24 13:26:42 +00:00
tnn
698a4c6c58 Give a name to a previously anonymous union member used during
initialisation of static data. Fixes build with Sun Studio 12.
2008-11-24 11:30:49 +00:00
reed
9238ca3f9a configure checks for glib 2.17.3 so require at least that for
BUILDLINK_API_DEPENDS.glib2.

(tested with 2.16.3 and it failed with:
../pango/pango-enum-types.h:12:9: error: macro names must be identifiers)
2008-11-13 14:39:11 +00:00
wiz
070075b6e8 Update to 1.22.2:
Overview of changes between 1.22.1 and 1.22.2
=============================================
- Fix crasher when a PangoFcFontMap was freed before its fonts.
- Mark monospace fonts as monospace in the pangoatsui backend.
- Fix font description parsing to better handle "normal".
- Bugs fixed in this release:
	Bug 558254 – Internal reference handling messed up
	Bug 558107 – is_monospace always returns FALSE in pangoatsui
	Bug 557620 – pango_font_description_from_string not correct
2008-10-30 08:23:29 +00:00
wiz
d330e31ffd Update to 1.22.1:
Overview of changes between 1.22.0 and 1.22.1
=============================================
- Fix crasher when freeing PangoLayoutIter's
- Fix loading of bogus OpenType anchor tables
- Fix OpenType CursiveChain positioning
- Misc bug fixes
- Bugs fixed in this release:
	Bug 528272 – "Error loading GPOS table 5503" when using katakana
		characters
	Bug 552107 – Small libtool fixes
		Patch by Patryk Zawadzki
	Bug 539623 – document that pango_color_parse accepts NULL
	Bug 555219 – Memory leak when using pango_layout_iter_copy
		Patch from Falk Rohsiepe
	Bug 553345 – Japanese pangram.
		Patch from  Takeshi AIHANA
2008-10-24 16:22:35 +00:00
drochner
fbae3cf983 update BUILDLINK_API_DEPENDS.cairo 2008-10-16 14:11:56 +00:00
drochner
063a9f588a update to 1.22.0
This switches to the gnome-2.24 release branch.
2008-10-16 11:11:22 +00:00
tron
98d037b9d8 Don't build the "atsui" backend under Mac OS X when we are building with
X11 support. It also doesn't work properly in the non-X11 case (at least
with XChat) but is essential for a non-X11 GTK+ 2.*.

Bump the package revision because of this change.
2008-08-19 18:10:22 +00:00
tnn
9b94a03fdb Update to pango-1.20.5.
Overview of changes between 1.20.4 and 1.20.5
==============================================
- Fix libtool versioning which was broken in 1.20.4

Overview of changes between 1.20.3 and 1.20.4
==============================================
- Fix OpenType GSUB lookup type 8 crash.
- Bugs fixed in this release:
  Bug 540592 Crash in HB_GSUB_Apply_String with Linux-Libertine font
2008-07-14 03:56:28 +00:00
drochner
a73d8ffc1d update to 1.20.3
changes: windows specific only (font aliases and memory leak),
 the update should be cosmetical for us
2008-05-29 10:43:40 +00:00
obache
83736207a8 Fix to instal cairo-quartz-font.pc.
(and while here, enable quartz-image)

Then atsui support for pango again.

Bump pkgrevision.
2008-05-14 15:26:14 +00:00
tron
186c4d90e2 After "atsui" support was removed from "cairo" it is no longer available
in "pango", too. Fix package list (for Mac OS X) and bump package revision.
2008-04-22 12:15:38 +00:00
tnn
0b430ef8b2 Fix missing PLIST_VARS handling for carbon option. 2008-04-13 13:00:55 +00:00
jlam
841dfa0e7a Convert to use PLIST_VARS instead of manually passing "@comment "
through PLIST_SUBST to the plist module.
2008-04-12 22:42:57 +00:00
tron
cce6fa2de4 Update "pango" package to version 1.20.2. Changes since version 1.20.1:
- Really fix build without cairo-atsui.
2008-04-11 12:22:46 +00:00
tron
78f6ce0c30 The code which tries to disable the "atsui" backend under Mac OS X if
the package is compiled with X11 support doesn't work anymore. Don't try
to disable it because it doesn't seem to break the X11 backend anymore
(tested with XChat). Bump package revision because of package list changes
under Mac OS X.
2008-04-11 10:26:23 +00:00
drochner
86c5a329a9 update to 1.20.1
This switches to the gnome-2.22 release branch.
2008-04-10 12:14:43 +00:00
tnn
b5845b623b Update to pango-1.18.4.
Overview of changes between 1.18.3 and 1.18.4
==============================================
- Ship a default win32 pango.aliases file.
- Minor win32 alias handling improvement.
- Doc improvements.
- Bugs fixed in this release:
        Bug 502926 pango-1.16.4 configure bug: can fail to accept cairo
        Bug 492504 Enable pango.aliases entries also for fonts with spaces
                in name
        Bug 490661 Pango Markup: Link to font_desc syntax explanation
2008-01-08 23:41:14 +00:00
wiz
186a93a033 Update to 1.18.3:
Overview of changes between 1.18.2 and 1.18.3
==============================================
- Two OpenType engine fixes.  Makes Nafees Nastaliq font
  work great, and avoids warnings with some other fonts.
- Fix minor leak in win32 backend.
- Bugs fixed in this release:
	Bug 483600 – Leak of font family name in
	pango_win32_font_description_from_logfont(w)
	Patch from Daniel Atallah
2007-10-26 16:16:17 +00:00
drochner
5bf2e6bd2e update to 1.18.2
changes: minor bugfixes
2007-09-18 19:06:22 +00:00
obache
ebde671e5b Add missing entry when Carbon is enabled. 2007-08-30 07:18:53 +00:00
obache
5e5c73c6cf Need glib2>=2.14.0. 2007-08-30 06:18:46 +00:00
wiz
2e99fc3ddd Update to 1.18.1:
Overview of changes between 1.18.0 and 1.18.1
==============================================
- Misc bug fixes, including fix for an infinite-loop bug.

- Bugs fixed in this release:
	Bug 470042 – missing Macedonian OT tag
		Patch from Denis Jacquerye
	Bug 468953 – pango-renderer.c: using function without prototype
	Bug 463430 – Gets stuck while "formatting message"

Overview of changes between 1.17.5 and 1.18.0
==============================================
- Make pango_script_for_unichar() just call g_unichar_get_script(),
  and document that PangoScript and GUnicodeScript are interchangeable
  enumerations.

- Misc bug fixes

- Bugs fixed in this release:
	Bug 348348 – Add a way to get the script name of a gunichar
	Bug 451682 – Cursor positioning for Sinhala is broken
		Based on patch from Harshula
	Bug 462137 – memory corruption in pango_default_break
	Bug 462420 – Clicking on pixbuf should move the cursor to the position
		nearest to the click point
	Bug 462630 – pango_cairo_context_set_font_options() and some others
		don't have a Since: tag
	Bug 464183 – Minimum tab width enforcement in pango-layout breaks
		TabArray positions
		Patch by David Trowbridge
	Bug 464270 – ellipsize doesn't work consistent
	Bug 465174 – TextView is ignoring multiple consecutive \t's
	Bug 466755 – pango hangul is crashing in gnome-about because it is
		failing to retrieve a font.
	Bug 467056 – Shape attribute handling is not consistent
	Bug 467077 – Remove special-case for shape attribute in
		pango_layout_line_index_to_x()

Overview of changes between 1.17.4 and 1.17.5
==============================================
- Export PangoCairoFont and cleanup various standard macros.

- Bugs fixed in this release:
	Bug 150883 – Unicode LRO defect
	Bug 449482 – Build error when xft not present
	Part of Bug 347236 – provide pango_cairo_font_get_scaled_font

Overview of changes between 1.17.3 and 1.17.4
==============================================
- Refactored the ATSUI font backend and install pangoatsui.h
  that has a single function pango_atsui_font_get_atsu_font_id() and
  a couple of types.

- Bugs fixed in this release:
	Bug 451547 – FAIL: runtests.sh
	Bug 449543 - Ship pangoatsui.h

Overview of changes between 1.17.2 and 1.17.3
==============================================
- Extensive pangocairo internal code refactoring and cleanup

- New public API:

	pango_font_face_is_synthesized()

	pango_cairo_font_get_scaled_font()
	pango_cairo_font_map_new_for_font_type()
	pango_cairo_font_map_get_font_type()

- New engine macros:

	PANGO_OT_TAG_MAKE()
	PANGO_OT_TAG_MAKE_FROM_STRING()

- New PangoFontFace method is_synthesized.

- Misc bug fixes
- Bugs fixed in this release:
	Bug 337593 – move glyph extents code (and cache) from
		pangocairo-*font.c into pangocairo-font.c
	Bug 347235 – Add pango_cairo_font_map_get_font_type
	Bug 347236 – provide pango_cairo_font_get_scaled_font
	Bug 353291 – Provide pango_cairo_font_map_new_for_font_type
	Bug 438801 – underline should add "error" type.
	Bug 440588 – Add pango_font_face_is_synthesized()
	Bug 445832 – pango_cairo_update_layout() always invalidates layout
	Bug 446018 – Bus error in the pango_ot_tag_from_language()
	Bug 446355 – the parsing with pango_parse_markup is not coherent
	Bug 447189 – fonts.c: pango_font_face_is_synthesized returns NULL
	Bug 447568 – improve docs on what absolute size means
	Bug 448342 – pango_layout_index_to_line_x() counts lines from 1

Overview of changes between 1.17.1 and 1.17.2
==============================================
- Rename recently added pango_ot_ruleset_get_for() to
  pango_ot_ruleset_get_for_description().

- New engine API: pango_ot_ruleset_new_from_description().

- Treat Unknown script like Common and other non-"real" scripts.
  [Martin Hosken]

- Misc typo fixes [Peter Moulder]

- Bugs fixed in this release:

	Bug 443206 – PANGO_SCRIPT_UNKNOWN should not cause a run break
	Patch from Martin Hosken

Overview of changes between 1.17.0 and 1.17.1
==============================================

- Ported the rest of OpenType shapers to the new OpenType APIs and
  added standard features to them: Hebrew, Indic, Khmer, Thai, and Tibetan.

- Added N'Ko support to the Arabic module. [Eugeniy Meshcheryakov]

- Small Indic module fix for Malayalam.

- Fixed font metrics returned by the ATSUI backend. [Richard Hult]

- Make itemization use pango_language_get_default() if context has no
  language set on it.  Ditto for pango_context_get_metrics() if both
  input language and context language are NULL.

- Improved documentation on vertical text, also added stability note
  to those parts of Pango API that are not indefinitely stable (shaper
  and language engine APIs).

- Misc bug fixes.

- New OpenType engine API:

	pango_ot_ruleset_get_feature_count()

- Bugs fixed in this release:

	Bug 357790 – Rendering problem for malayalam consonant RA (U+0D30)
	Bug 385168 – indic, khmer, and tibetan modules don't apply ccmp
	Bug 385477 – kern feature is not supported in OpenType layout for Tibetan.
	Bug 433805 - [Atsui] Approximate char/digit width width often 0
	Bug 436699 – N'Ko support
	Bug 438705 – Test runs non-existent "/bin/bash" on HP-UX 11.11
	Bug 438814 – synaptic crash with pango 1.17.0
	Bug 440603 – Minor ABI change
2007-08-29 22:38:37 +00:00
wiz
24c622859e Update to 1.16.5:
Overview of changes between 1.16.4 and 1.16.5
==============================================
- ATSUI backend now lists synthesized italic faces like other
- Misc optimizations and fixes.
- Bugs fixed in this release:
	Bug 443206 – PANGO_SCRIPT_UNKNOWN should not cause a run break
		Patch from Martin Hosken
	Bug 416515 – Time is not aligned with date on vertical panel
	Bug 436154 – Error building the pango.modules file while cross compiling
	Bug 434160 - [atsui] Italic versions of some faces can't be created
2007-07-28 13:59:14 +00:00
wiz
b886e29d4e Drop maintainership. 2007-07-21 21:56:07 +00:00
rillig
7f125459d8 Removed some code duplication from the buildlink3 files by using the new
pkg-build-options.mk procedure.
2007-05-30 08:54:28 +00:00
wiz
f02827caec Update to 1.16.4:
Overview of changes between 1.16.3 and 1.16.4
==============================================
- Add new configure option --disable-doc-cross-references and make
  sure releases are made using it.  Distributions are encouraged to
  build with --enable-gtk-doc such that their Pango docs correctly
  cross reference glib and cairo docs.
- Bugs fixed in this release:
	Bug 432991 – developer docs for libpango are broken

Overview of changes between 1.16.2 and 1.16.3
==============================================
- Quantize kerning value if metrics hinting is on.  This greatly improves
  screen text rendering with certain fonts like DejaVu Sans.
  See: http://behdad.org/blog/mces/image/metricshinting-kerning.png
- Improved hex-box positioning in the cairo backend
2007-05-08 20:34:45 +00:00
wiz
7219c00c70 Remove libdata/pango/pango.modules, {DE,}INSTALL take care of it.
Ride 1.16.2 update from today.
2007-04-10 23:15:09 +00:00
drochner
a0b705c9e1 update to 1.16.2
changes:
- Fixed various bug in the OpenType Layout code (HarfBuzz)
- Improved documentation
- Improved ATSUI backend
- Misc build system fixes
2007-04-10 16:34:35 +00:00
drochner
d24ee310d3 update to 1.16.1
This switches to the new stable branch for gnome-2.18.
Too many changes to list here.
2007-03-20 15:38:26 +00:00
drochner
3f7965333d update to 1.14.10
changes:
- Spell-checked docs.
- Fix various bugs that could cause ellipsization to stop prematurely.
- Fix rendering of background color being off in presence of rise attribute.
-bugfixes
2007-02-01 12:44:19 +00:00
wiz
f857dfd478 Fix pangox.pc and pangoxft.pc. Reported by dieter roelants.
Bump PKGREVISION.
2007-01-03 22:25:22 +00:00
drochner
f46d53621a update to 1.14.9
changes:
Add Thai langauage engine.
Improved Indic module.
Output correct path for hexboxes in pango_cairo_layout_path().
Misc small fixes.
2006-12-15 19:12:29 +00:00
joerg
5e43280b23 Replace mk/bsd.prefs.mk includes with bsd.fast.prefs.mk includes.
The redundant parsing of bsd.prefs.mk is mostly avoided now and
parse time e.g. for x11/kdebase3 gets reduced by up to 10%.
2006-12-12 21:52:34 +00:00
minskim
121a0be558 Back out the previous change that removed some buildlink3.mk files.
I overlooked .la files.  Pointed out by joerg@.
2006-12-06 17:23:24 +00:00
minskim
778159bc2f Do not include buildlink3.mk of packages not exposed by this package. 2006-12-05 06:45:00 +00:00
drochner
91e34c6f2c update to 1.14.8
changes:
* Improved thread-safety.  Pango is still NOT thread-safe, but this fixes
  lots of crashes using pangocairo from multiple threads.
* Fix out-of-bounds array access.
* Improved Indic shaper.
* Improved Arabic language engine.
* Choose shaper/font for unassigned Unicode codepoints.
* Build fixes.
2006-11-27 21:05:13 +00:00
joerg
4fb0965f6f Switch to modular buildlinks. 2006-11-06 11:24:26 +00:00
joerg
62a1f60797 Fix last commit from myself to work with the changes from another of
my commits: CHECK_FILES_SKIP is a full path. Addresses PR 34991.
2006-11-05 14:06:06 +00:00
joerg
9462053961 libdata/pango/pango.modules is a list of all pango modules and can be
considered volatile as that. Build it at install time and remove it
during deinstallation. This also allows DESTDIR use, as it could find
the modules directly before. Ignore the duplicate run in the non-DESTDIR
case, as it is fast enough. Bump revision. Discussed with wiz.
2006-11-03 11:27:56 +00:00
wiz
16b3e8f909 Update to 1.14.7:
Overview of changes between 1.14.6 and 1.14.7
==============================================
* Fixed broken build with included lang modules.
* Bugs fixed in this release:
	Bug 361938 - Can't include *-lang modules (./configure
		     --with-included-modules fails)
2006-10-14 08:36:16 +00:00
drochner
16fdd074df ride on the update and migrate devhelp documentation to share/gtk-doc 2006-10-13 18:05:42 +00:00
wiz
9752e937d9 Update to 1.14.6:
Overview of changes between 1.14.5 and 1.14.6
==============================================
* Backport language-engine handling fixes from HEAD.
* Add simple Arabic and Indic language engines.
* Indic shaper fixes.
* Bugs fixed in this release:
	Bug 353877 – Sinhala is_cursor_position and
		     backspace_deletes_character issues
		     Patch from Akira TAGOH
	Bug 358224 – Telugu Character U+0C31 does not render its below-base
		     form.
		     Patch from Rahul Bhalerao
	Bug 358174 – Reph and Vattu forms of Assamese character RA(U+09F0)
		     are not rendered.
		     Patch from Rahul Bhalerao
2006-10-13 17:22:40 +00:00