| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
| |
Tue Dec 10 18:37:19 2002 Owen Taylor <otaylor@redhat.com>
* === Released 1.1.5 ===
* pango/pango-attributes.h pango/pango-font.h
pango/pango-fontset.h pango/pango-fontmap.h: Add
explicit /*< public >*/ /*< private *>/ guards.
(See #95398 for gtk-doc changes making this necessary)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Sun Nov 17 23:28:26 2002 Owen Taylor <otaylor@redhat.com>
* pango/pango-glyph-item.[ch] pango/pango-layout.h:
Rename PangoLayoutRun to PangoGlyphItem (with a
typedef for compat), add pango_glyph_item_split(),
pango_glyph_item_apply_attrs().
* pango/pango-attributes.[ch]: Add
pango_attr_list_filter(), pango_attr_iterator_get_attrs().
* pango/pango-layout.c: Remove attributes that don't
affect shaping before shaping, shape and then add
them back. Fixes the infamous "underscores break
arabic shaping" bug (#83058)
* pango/pango-item.h: Remove an extraneous include.
* pango/pango-layout.c (imposed_shape): Fix bytes/chars
problem for glyph->log_clusters.
* pango/pango-layout.c (cluster_end_index)
* pango/pango-layout.c (pango_layout_iter_next_cluster): Fix
confusion between global indices and run-relative indices.
* docs/tmpl/glyphs.sgml: Improve docs for log_clusters.
* docs/*: Document new API and PangoOTRuleset
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Tue Sep 18 15:47:08 2001 Owen Taylor <otaylor@redhat.com>
* configure.in (PANGO_MINOR_VERSION): Up to 0.19.
* pango/pango-font.h pango/pango-fontmap.[ch] pango/fonts.c
pango/pangoxft-fontmap.c pango/pangoft-fontmap.c pango/pango-context.[ch]
pango/pangox-fontmap.c: Add new PangoFontFace and PangoFontFamily
object types, and change the font listing API to list faces and
families, instead of face names and font descriptions.
* pango/pango-font.h pango/fonts.c: Make PangoFontDescription
an opaque heap-allocated structure, add accessors and
convenience functions.
* pango/pango-font.h pango/pango-private.h: Make PangoFontMetrics
heap allocated, protect the structure definition with
#ifdef PANGO_ENABLE_BACKEND, and add getters for the fields.
* pango/pango-attributes.[ch] ( pango_attr_iterator_get_font):
instead of providing a base font description and one to fill
in, provide a single font description to modify based on
the attributes.
* pango/pango-attributes.[ch]: Fix PangoAttrFontDesc to have
a PangoFontDescription by reference, not by value.
* pango/pango-utils.[ch]: make pango_parse_style() and friends
take pointers to individual enumerations instead of to a
PangoFontDescription structure.
* pango/*.c: Fix for the PangoFontDescription and PangoFontMetrics
changes.
* pango/pango-{break,engine,indic,ot,xft}.h pango/Makefile.am
pango/opentype/Makefile.am: Protect portions with
PANGO_ENABLE_ENGINE to shrink the public API.
* modules/*/Makefile.am: -DPANGO_ENABLE_ENGINE.
* pango/{pangox.h,pangox-private.h} modules/basic/basic-x.c: Move
pango_x_font_get_unknown_glyph() into public header since it is
used from modules.
* pango/pango-{context,font,fontmap,modules.utils}.h pango/Makefile.am:
Protect portions with PANGO_ENABLE_BACKEND to shrink the public API.
* pango/*.h: Use G_BEGIN/END_DECLS
* examples/viewer-qt.[cc,h]: Fix for changes to font listing API,
PangoFontDescription.
* pango/pango-indic.h modules/indic/*: Since we install this
header fix it up to Pango conventions, namespece
ZERO_WIDTH_JOINER, ZERO_WIDTH_NON_JOINER.
* docs/pango-sections.txt: Updated.
|
|
|
|
|
|
|
|
|
|
|
| |
Thu Aug 30 17:34:52 2001 Owen Taylor <otaylor@redhat.com>
* pango/pango-color.c: New file, move color handling
here.
* pango/pango-attributes.[ch] pango/pango-markup.c
pango/pango-color.c: Export pango_color_parse, change
it to take a PangoColor as its argument.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Sat Jun 9 17:36:09 2001 Owen Taylor <otaylor@redhat.com>
* pango/pango-types.h pango/pango-utils.c: Add a new PangoLanguage
type to represent language tags; these can efficiently be compared
and don't need to be copied. Also add pango_language_matches()
to match a language tag against a pattern.
* pango/pango-item.[ch] pango/pango-layout.c: Move extra_attrs
from PangoItem to PangoAnalysis. Add a language tag field to
PangoAnalysis. (#55894)
* pango/pango-attributes.[ch] (pango_attr_iterator_get_font): Return
the language tag as well.
* pango/pango-attributes.[ch]: Rename PangoAttrLang to PangoAttrLanguage,
and make it hold a PangoLanguage.
* pango/pango-context.[ch]: Rename pango_context_{get,set}_lang() to
pango_context_{get,set}_language().
* **.[ch]: Adapt to PangoLanguage and s/lang/language/ changes.
* modules/basic/basic-x.c modules/basic/tables-big.i: Add support
for ordering character sets differently for different language
tags.
* pango/itemize.c: Remove old, unused file.
* pango/pango-context.c (pango_itemize): Reduce number of mallocs
by allocating one array of PangoAnalysis instead of many arrays.
|
|
|
|
|
|
|
| |
2001-02-28 Alexander Larsson <alla@lysator.liu.se>
* pango/pango-attributes.[c]:
Added pango_attr_list_get_type, and PANGO_TYPE_ATTR_LIST.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-01-26 Havoc Pennington <hp@redhat.com>
* pango/pangox.h (PangoGetGCFunc): take a PangoColor not a
PangoAttrColor
* pango/pango-attributes.h: add PangoColor, add PANGO_ATTR_INVALID
as a placeholder for zero in the PangoAttrType enum, corresponds
to G_TYPE_INVALID.
* pango/pango-attributes.c: Add PangoColor type, use for
PangoAttrColor
(pango_color_get_type): new function
(pango_color_copy): new function
(pango_color_free): new function
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-11-13 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* pango/pango-attributes.c, pango/pango-attributes.h: Renamed
pango_attribute_compare to pango_attribute_equal. Renamed compare
member of PangoAttrClass to equal. Renamed some static functions
from ..._compare to ..._equal.
* pango/fonts.c, pango/pango-font.h, pango/pango-context.c:
Renamed pango_font_description_compare to
pango_font_description_equal.
* docs/pango-sections.txt, docs/tmpl/fonts.sgml,
docs/tmpl/text-attributes.sgml: Changed accordingly.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-11-01 Havoc Pennington <hp@pobox.com>
* pango/pango-attributes.c (pango_attr_scale_new): Add a new
attribute for scaling a font; also required adding PangoAttrFloat.
(pango_attr_iterator_get_font): Add PANGO_ATTR_SCALE handling.
* pango/pango-utils.c (pango_parse_stretch): Take a plain string
not a GString
(pango_parse_weight): ditto
(pango_parse_variant): ditto
(pango_parse_style): ditto
* pango/pangox-fontmap.c (pango_x_font_map_read_alias_file): pass
GString::str instead of the GString itself to pango_parse_*
* pango/pangoft2-fontmap.c (pango_ft2_insert_face): ditto
* pango/pangowin32-fontmap.c
(pango_win32_font_map_read_alias_file): ditto
* pango/pango-layout.c (get_tab_pos): adapt to new pango_itemize()
signature
(pango_layout_check_lines): Raise attr list copy/creation out of
the loop over paragraphs. Adapt to pango_itemize() changes.
* pango/pango-context.c (pango_itemize): pass in a starting
index and a cached iterator
(add_engines): Easy optimization, pass in
n_chars instead of recomputing it. Also, pass on the start
index and cached iterator.
* docs/pango-sections.txt: Add new stuff
docs/pango_markup.sgml: Docs on markup format
* pango/pango-layout.c (pango_layout_get_attributes): New function
to retrieve the AttrList from a layout
(pango_layout_set_markup): Set layout from markup
(pango_layout_set_markup_with_accel): Set layout from markup
including accelerator parsing.
* pango/pango-attributes.h (pango_parse_markup): New function to
convert a tag string to an attribute list
* pango/pango-markup.c (pango_parse_markup): implement
* docs/Makefile.am, docs/pango-docs.sgml, docs/pango-sections.txt,
docs/pango_markup.sgml: oooooh, documentation for the above patch!
* docs/tmpl/pango-unused.sgml: Remove from CVS; just causes
problems, and was full of checked-in conflict markers.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Sun Sep 10 03:01:53 2000 Owen Taylor <otaylor@redhat.com>
* pango/pango-layout.c (pango_layout_set_attributes): Fix
bug where wrong attribute list was unreferenced.
* pango/pango-attributes.[ch]: Add function
pango_attr_list_splice() to splice contents of one
attribute list into another attribute list.
* pango/pango-utils.h: Add include of pango-font.h since
it now depends on declarations from there.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Fri Jul 21 15:17:26 2000 Owen Taylor <otaylor@redhat.com>
* pango/pango-context.c (pango_itemize): A bit of code
cleanup.
* pango/pango-attributes.[ch]: Add a new attribute type
PangoAttrShape, for imposing specific shapes on glyphs.
This is used for handling embedded pixmaps and similar
objects.
* pango/pango-layout.c: Hnadle PangoAttrShape.
* pango/pango-context.[ch]:
|
|
|
|
|
|
|
|
|
|
|
|
| |
Sun Jul 2 17:59:56 2000 Owen Taylor <otaylor@redhat.com>
* pango/pango-attributes.[ch] (pango_attr_list_insert_before): New
function that inserts before other attributes with matching
start index.
* pango/pango-layout.[ch] (pango_layout_set_font_description): Add
the ability to set a default font description on the layout, overriding
the font description from the context.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-06-14 Havoc Pennington <hp@redhat.com>
* pango/pango-attributes.c (pango_attr_list_copy): Function to
copy the attribute list.
2000-06-13 Havoc Pennington <hp@redhat.com>
* pango/pango-layout.h: Convert PangoLayout to GObject
* pango/pango-context.h: Convert to
PangoContext to GObject
|
| |
|
|
|
|
|
|
|
| |
2000-06-07 Havoc Pennington <hp@redhat.com>
* pango/pango-attributes.c (pango_attr_iterator_copy): New
function to copy a PangoAttrIterator.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Mon Apr 17 12:04:20 2000 Owen Taylor <otaylor@redhat.com>
* pango/pango-layout.[ch]: Add a function pango_layout_line_get_x_ranges(),
to allow handling selections not as attributes. Which is necessary,
since currently setting the background/foreground results in
splitting shaped runs.
Fri Apr 14 13:20:05 2000 Owen Taylor <otaylor@redhat.com>
* pango/pango-layout.c (pango_layout_check_lines): Fix bug with
indent handling.
* pango/pango-layout.c (process_item): Never break a line at
a non-break position, even if that position ends an item.
Fri Apr 14 10:43:09 2000 Owen Taylor <otaylor@redhat.com>
* pango/pangox.c (pango_x_render_layout_line): Fix a missing
PANGO_SCALE factor for UNDERLINE_SINGLE.
* pango/pango-layout.c (pango_layout_get_cursor_pos): New function
to determine cursor positions corresponding to a particular
index.
Wed Apr 12 15:44:22 2000 Owen Taylor <otaylor@redhat.com>
* pango/pango-attributes.[ch]: Add PANGO_ATTR_FONT_DESC, which
allows an entire font description to be specified as a single
attribute, instead of as 6 separate attributes.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Mon Mar 13 10:54:48 2000 Owen Taylor <otaylor@redhat.com>
* pango/pango-item.[ch]: Memory management functions for PangoItem.
* pango/*.[ch]: Random constification.
* pango/pangox.c pango/pango-layout.c pango/pango-context.c:
Add an extra_attrs field to PangoItem. Use this to handle underlining
for PangoLayout.
* examples/viewer.c (reload_font): Make paragraphs global
to save the complexity of passing it around all over the place.
* pango/pango-layout.[ch] (pango_layout_context_changed): Add
a function to reset the layout on changes to the layout's
context.
* pango/pangox.c (pango_x_make_matching_xlfd): Prefer bitmap
to scaleable if the discrepancy is < 1 pixel. (Probably not
the ideal criterion.)
* pango/pangox.c (pango_x_font_map_for_display): Fix resolution
computation error.
* pango/pango-layout.c (pango_layout_check_lines): Handle
text with embedded newlines.
* pango/pangox.c (pango_x_render_layout): Fix y to refer
to the top of the layout, not the baseline of the first
line.
* pango/pango-layout.c (process_item): Don't wrap if width is
set to -1.
* Makefile.am configure.in **/*.[ch]: move libpango/ directory
and fix all headers to install under include/pango/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Wed Feb 16 16:39:46 2000 Owen Taylor <otaylor@redhat.com>
* libpango/pango-coverage.c (pango_coverage_get): Make refcounted.
* libpango/modules.c (struct _PangoEnginePair): Since we don't
currently unload engines, cache loaded engines. (Not really
quite satisfactory, but should work OK)
* libpango/pango-context.c (pango_context_get_font_description):
Added a global font description.
* libpango/modules.c (_pango_find_map): Allow NULL
language tags.
* libpango/pango-context.c (pango_itemize) examples/viewer.c:
Switch itemize over to take a PangoAttrList.
* examples/viewer.c: Conform to changes in itemization interface
* libpango/font.[ch]: Add a compare function for FontDescription
* libpango/pango-attributes.[ch]: Change the iteration iterface
to be more convenient.
* libpango/pango-context.[ch]: Add the ability to set a default font.
* libpango/pango-context.[ch]: Take the font for itemization from
the attributes on the text.
* libpango/pangox.c: Cache currently loaded fonts, and cache
coverages.
|
|
|
|
|
|
|
|
|
| |
Tue Feb 15 02:35:56 2000 Owen Taylor <otaylor@redhat.com>
* docs/**: Add documentation for attributes.
* Makefile.am libpango/pango-attributes.[ch]: Finish initial
implementation of attributes APIs.
|
|
Mon Feb 14 22:04:38 2000 Owen Taylor <otaylor@redhat.com>
* libpango/pango-attributes.[ch]: Start of attribute lists.
|