| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
| |
2007-12-03 Behdad Esfahbod <behdad@gnome.org>
* examples/cairotwisted.c: Add some more comments to document
the math involved.
svn path=/trunk/; revision=2510
|
|
|
|
|
|
|
|
|
|
|
| |
2007-11-30 Behdad Esfahbod <behdad@gnome.org>
* examples/cairotwisted.c (two_points_distance), (curve_length),
(parametrize_path), (point_on_path), (draw_twisted), (main):
Document cairotwisted example.
svn path=/trunk/; revision=2509
|
|
|
|
| |
svn path=/trunk/; revision=2508
|
|
|
|
|
|
|
|
|
| |
2007-11-29 Behdad Esfahbod <behdad@gnome.org>
* example/cairo*.c: Add some documentation.
svn path=/trunk/; revision=2507
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2007-11-29 Behdad Esfahbod <behdad@gnome.org>
Bug 485536 – underline_position can be zero
* pango/pango-utils.c (pango_cairo_quantize_line_geometry):
Document that returned position may be zero.
* pango/pangocairo-win32font.c
(pango_cairo_win32_font_create_metrics_for_context):
* pango/pangofc-font.c (get_face_metrics):
Handle case of underline_position==0 after rounding.
svn path=/trunk/; revision=2506
|
|
|
|
|
|
|
|
|
|
|
| |
2007-11-29 Behdad Esfahbod <behdad@gnome.org>
Bug 500549 – pangocairo.h should include pango.h and cairo.h
* pango/pangocairo.h: #include <pango/pango.h>
svn path=/trunk/; revision=2505
|
|
|
|
|
|
|
|
|
| |
2007-11-23 Behdad Esfahbod <behdad@gnome.org>
* docs/check.docs: Make it reusable by not hardcoding "pango".
svn path=/trunk/; revision=2504
|
|
|
|
|
|
|
|
|
| |
2007-11-23 Behdad Esfahbod <behdad@gnome.org>
* pango/opentype/harfbuzz-impl.c: Remove unused macro.
svn path=/trunk/; revision=2503
|
|
|
|
| |
svn path=/trunk/; revision=2502
|
|
|
|
|
|
|
|
|
| |
2007-11-18 Behdad Esfahbod <behdad@gnome.org>
* docs/Makefile.am: Replace GNU-specific syntax with more general one.
svn path=/trunk/; revision=2501
|
|
|
|
| |
svn path=/trunk/; revision=2500
|
|
|
|
| |
svn path=/trunk/; revision=2499
|
|
|
|
|
|
|
|
|
|
| |
2007-11-16 Tor Lillqvist <tml@novell.com>
* pango/pango-utils.c (handle_alias_line): Factor out the common
code from read_builtin_aliases() and read_alias_file(). (#492517)
svn path=/trunk/; revision=2498
|
|
|
|
|
|
|
|
|
| |
2007-11-09 Behdad Esfahbod <behdad@gnome.org>
* pango/Makefile.am: Include ATSUI included modules.
svn path=/trunk/; revision=2497
|
|
|
|
|
|
|
|
|
|
|
|
| |
2007-11-08 Behdad Esfahbod <behdad@gnome.org>
Bug 495091 – pango-utils.c:variable is declared at middle of block
* pango/pango-utils.c (read_builtin_aliases): Move variable
declaraction before code.
svn path=/trunk/; revision=2496
|
|
|
|
| |
svn path=/trunk/; revision=2495
|
|
|
|
|
|
|
|
|
| |
2007-11-07 Behdad Esfahbod <behdad@gnome.org>
* pango/opentype/*: And some more.
svn path=/trunk/; revision=2494
|
|
|
|
|
|
|
|
|
| |
2007-11-07 Behdad Esfahbod <behdad@gnome.org>
* pango/opentype/*: Some more cleanup and merging.
svn path=/trunk/; revision=2493
|
|
|
|
|
|
|
|
|
|
| |
2007-11-05 Behdad Esfahbod <behdad@gnome.org>
* tools/gen-script-for-lang-new.c (scripts_for_lang), (main):
Update to new propsed language enumeration API for fontconfig.
svn path=/trunk/; revision=2492
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2007-11-02 Tor Lillqvist <tml@novell.com>
* pango/pango-utils.c (read_builtin_aliases, pango_load_aliases):
On Windows store the default aliases file in a string
array. (#492517)
Compared to the pango.aliases file as distributed with my most
recent Windows builds there are some changes: Add the DejaVu fonts
as the first ones listed for the generic sans, serif and mono font
names. Use Tahoma instead of Arial for sans, and Georgia instead
of Times New Roman for serif (to be used if the DejaVu fonts
aren't present). Add Arial Unicode MS (a font with quite large
coverage that comes with MS Office and thus is often
available). Add Sylfaen (the Armenian and Georgian font bundled
with Windows).
When using the MS-Windows theme the font used by GTK+ will the
system UI one. Both fonts typically used as system fonts, Tahoma
(on XP) and Segoe UI (on Vista), are aliased here.
* pango/pango-utils.c (read_alias_file): Accept also a quoted
string for the left-hand side of an aliases file line. This is to
enable aliasing fonts with spaces in their name, like "Segoe UI"
which is the default system font on Vista. (#492504) (With the
above built-in default aliases lists, no actual pango.aliases file
is longer required on Windows for non-Latin script support,
though.)
svn path=/trunk/; revision=2489
|
|
|
|
|
|
|
|
|
|
|
|
| |
2007-10-30 Behdad Esfahbod <behdad@gnome.org>
* docs/pango-sections.txt:
* docs/tmpl/main.sgml:
* docs/tmpl/vertical.sgml:
Improve vertical docs.
svn path=/trunk/; revision=2488
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2007-10-29 Behdad Esfahbod <behdad@gnome.org>
* === Released 1.19.0 ===
* configure.in: Version 1.19.0
* NEWS: Updated.
svn path=/trunk/; revision=2487
|
|
|
|
| |
svn path=/trunk/; revision=2486
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2007-10-28 Behdad Esfahbod <behdad@gnome.org>
* pango/pango-script-lang-table.h:
* tools/gen-script-for-lang-new.c:
Sort scripts based on frequency.
* tools/Makefile.am: Don't build anything by default.
svn path=/trunk/; revision=2485
|
|
|
|
|
|
|
|
|
|
| |
2007-10-26 Murray Cumming <murrayc@murrayc.com>
* docs/pango_markup.sgml: Adds a link to
pango_font_description_from_string() so that the font_desc
attribute is not so mysterious. Bug #490661.
svn path=/trunk/; revision=2483
|
|
|
|
|
|
|
|
|
|
|
|
| |
2007-10-26 Behdad Esfahbod <behdad@gnome.org>
* tools/Makefile.am:
* tools/gen-script-for-lang-new.c:
Functional dup of gen-script-for-lang that uses FcGetLangs() and
FcCharSetForLang() instead of parsing .orth files.
svn path=/trunk/; revision=2482
|
|
|
|
| |
svn path=/trunk/; revision=2481
|
|
|
|
|
|
|
|
|
| |
2007-10-26 Behdad Esfahbod <behdad@gnome.org>
* pango/pango-script-lang-table.h: Update for fontconfig-2.4.91.
svn path=/trunk/; revision=2480
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2007-10-25 Behdad Esfahbod <behdad@gnome.org>
* pango/pangofc-fontmap.c (pango_fc_font_map_get_patterns):
Call FcFontSetDestroy() instead of FcFontSetSortDestroy().
These days they are the same, but previously the latter was
not freeing the actual patterns. But we don't need the
sort patterns, so this retroactively fixes a leak in older
versions!
svn path=/trunk/; revision=2479
|
|
|
|
|
|
|
|
|
| |
2007-10-25 Behdad Esfahbod <behdad@gnome.org>
* pango/opentype/*: Even more cleanup and more type renames.
svn path=/trunk/; revision=2478
|
|
|
|
|
|
|
|
|
| |
2007-10-25 Behdad Esfahbod <behdad@gnome.org>
* pango/opentype/*: More cleanup, remove redundant error types.
svn path=/trunk/; revision=2477
|
|
|
|
|
|
|
|
|
|
| |
2007-10-24 Behdad Esfahbod <behdad@gnome.org>
* pango/opentype/*: Rename ftglue.c to harfbuzz-impl.c and more
type renames and moving code around.
svn path=/trunk/; revision=2476
|
|
|
|
|
|
|
|
|
|
| |
2007-10-24 Behdad Esfahbod <behdad@gnome.org>
* pango/opentype/*: New header file harfbuzz-global.h. Rename
FT_* int types to HB_* types.
svn path=/trunk/; revision=2475
|
|
|
|
|
|
|
|
|
|
|
| |
2007-10-24 Behdad Esfahbod <behdad@gnome.org>
* pango/opentype/harfbuzz-gpos-private.h:
* pango/opentype/harfbuzz-gsub-private.h:
Add commented-out dummy struct for Extension lookups.
svn path=/trunk/; revision=2474
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2007-10-24 Behdad Esfahbod <behdad@gnome.org>
Bug 478865 – Drastically reduce number of PangoFont objects created
for rotating text
* pango/pangofc-fontmap.c (fontset_hash_key_hash),
(get_scaled_size), (pango_fc_font_map_get_patterns):
Use a Pango-unit int for scaled-size instead of double.
Merges even more queries...
svn path=/trunk/; revision=2473
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2007-10-24 Behdad Esfahbod <behdad@gnome.org>
Bug 478865 – Drastically reduce number of PangoFont objects created
for rotating text
* pango/pangofc-fontmap.c (fontset_hash_key_equal),
(fontset_hash_key_hash), (fontset_hash_key_copy),
(get_scaled_size), (pango_fc_font_map_get_patterns):
Only keep scaled-size in fontset hash, instead of unscaled-size
and context matrix.
svn path=/trunk/; revision=2472
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2007-10-24 Behdad Esfahbod <behdad@gnome.org>
Bug 471568 – Optimizations in _pango_cairo_update_context()
* pango/pangocairo-context.c (_pango_cairo_update_context):
Skip change notification about matrix changes if merged font
options for the context set metrics hinting to off.
svn path=/trunk/; revision=2471
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2007-10-24 Behdad Esfahbod <behdad@gnome.org>
Bug 489909 – pango_cairo_update_context() should ignore matrix
translation
* pango/pangocairo-context.c (_pango_cairo_update_context):
Just compare the first four doubles of matrices for change
notification purposes.
svn path=/trunk/; revision=2470
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2007-10-24 Behdad Esfahbod <behdad@gnome.org>
Bug 486951 – ChangeLog.pre-1-18
* Makefile.am:
* ChangeLog.pre-1-18:
Split ChangeLog.
svn path=/trunk/; revision=2467
|
|
|
|
|
|
|
|
|
|
|
| |
2007-10-24 Behdad Esfahbod <behdad@gnome.org>
* pango/glyphstring.c (pango_glyph_string_copy),
(pango_glyph_string_free):
Fix another Oops of mine from recent commits.
svn path=/trunk/; revision=2466
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2007-10-24 Behdad Esfahbod <behdad@gnome.org>
Bug 472924 – Mark some classes abstract
* pango/fonts.c:
* pango/pango-fontmap.c:
* pango/pangofc-font.c:
* pango/pangofc-fontmap.c:
Public API chance:
Mark the following types as abstract:
PangoFont
PangoFontFace
PangoFontFamily
PangoFontMap
PangoFcFont
PangoFcFontMap
svn path=/trunk/; revision=2465
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2007-10-24 Behdad Esfahbod <behdad@gnome.org>
Bug 472303 – Make PANGO_GLYPH_EMPTY and PANGO_GLYPH_UNKNOWN_FLAG public
* pango/pango-font.h: Make PANGO_GLYPH_EMPTY,
* PANGO_GLYPH_UNKNOWN_FLAG,
and PANGO_GET_UNKNOWN_GLYPH() public. Previously they were only
defined for backend/engine implementations.
svn path=/trunk/; revision=2464
|
|
|
|
| |
svn path=/trunk/; revision=2463
|
|
|
|
| |
svn path=/trunk/; revision=2462
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2007-10-24 Behdad Esfahbod <behdad@gnome.org>
Bug 471601 – Pass pango version information to fontconfig
* pango/pangofc-fontmap.h:
New public API:
PANGO_FC_GRAVITY
PANGO_FC_VERSION
* pango/pangofc-fontmap.c (pango_fc_make_pattern):
Set PANGO_FC_VERSION in pattern.
* docs/pango-sections.txt:
* docs/tmpl/pangofc-fontmap.sgml:
Update.
svn path=/trunk/; revision=2461
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2007-10-24 Behdad Esfahbod <behdad@gnome.org>
Bug 472629 – Add pango_renderer_get_layout(_line)
* pango/pango-renderer.h:
* pango/pango-renderer.c:
New public API:
pango_renderer_get_layout()
pango_renderer_get_layout_line()
* pango/pangocairo-render.c (pango_cairo_renderer_draw_shape),
(release_renderer), (_pango_cairo_do_layout_line),
(_pango_cairo_do_layout): Use above API to simplify
shape_renderer implementation.
* pango/pango.def:
* docs/pango-sections.txt:
* docs/tmpl/pango-renderer.sgml:
Update.
svn path=/trunk/; revision=2460
|
|
|
|
|
|
|
|
|
|
| |
2007-10-24 Behdad Esfahbod <behdad@gnome.org>
* pango/pango-attributes.c: Fix couple Oopses from my last
commit.
svn path=/trunk/; revision=2459
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2007-10-24 Behdad Esfahbod <behdad@gnome.org>
Bug 469641 – Initialize attribute start/end to [0..MAXUINT]
* pango/pango-attributes.h:
* pango/pango-attributes.c:
New public API:
pango_attribute_init()
* pango/pango-attributes.c:
(pango_attr_string_new), (pango_attr_language_new),
(pango_attr_color_new), (pango_attr_int_new),
(pango_attr_float_new), (pango_attr_size_new_internal),
(pango_attr_font_desc_new), (pango_attr_shape_new_with_data):
Initialize attributes using pango_attribute_init().
* pango/pango.def:
* docs/pango-docs.sgml:
* docs/pango-sections.txt:
* docs/tmpl/text-attributes.sgml:
Update.
svn path=/trunk/; revision=2458
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2007-10-24 Behdad Esfahbod <behdad@gnome.org>
Bug 471577 – GBoxed GType for PangoGlyphItem
* pango/pango-glyph-item.h:
* pango/pango-glyph-item.c:
New public API:
PANGO_TYPE_GLYPH_ITEM
pango_glyph_item_copy()
pango_glyph_item_get_type()
* pango/pango-layout.c:
New public API:
pango_layout_iter_copy()
* pango/fonts.c (pango_font_description_copy),
(pango_font_description_copy_static),
(pango_font_description_free), (pango_font_descriptions_free),
(pango_font_metrics_ref), (pango_font_metrics_unref):
* pango/glyphstring.c (pango_glyph_string_copy),
(pango_glyph_string_free):
* pango/pango-attributes.c (pango_attr_list_ref),
(pango_attr_list_unref), (pango_attr_list_copy):
* pango/pango-color.c (pango_color_copy), (pango_color_free):
* pango/pango-item.c (pango_item_copy), (pango_item_free):
* pango/pango-layout.c (pango_layout_line_ref),
(pango_layout_line_unref), (pango_layout_iter_copy),
(pango_layout_iter_free):
* pango/pango-layout.h:
* pango/pango-matrix.c (pango_matrix_copy), (pango_matrix_free):
Update all copy/free functions to accept NULL as legitimate input.
Previously all were g_return_[val_]if_fail()ing it.
* pango/pango.def:
* docs/pango-sections.txt:
* docs/tmpl/glyphs.sgml:
* docs/tmpl/layout.sgml:
Update.
svn path=/trunk/; revision=2457
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2007-10-22 Behdad Esfahbod <behdad@gnome.org>
Bug 471571 – Add pango_layout_iter_get_layout()
* docs/pango-sections.txt:
* docs/tmpl/layout.sgml:
* pango/pango-layout.c (pango_layout_iter_get_layout):
* pango/pango-layout.h:
* pango/pango.def:
Add trivial yet missing pango_layout_iter_get_layout().
svn path=/trunk/; revision=2456
|