81
459
1.5.13+, where the quartz surface has been fixed for transformed
84
2008-03-10 Behdad Esfahbod <behdad@gnome.org>
86
* === Released 1.20.0 ===
88
* configure.in: Version 1.20.0
92
2008-02-28 Behdad Esfahbod <behdad@gnome.org>
94
Bug 518084 – Thai is not Virama language
95
Patch from Theppitak Karoonboonyanan
97
* pango/break.c: Remove Thai Phinthu from VIRAMA()
99
2008-02-25 Behdad Esfahbod <behdad@gnome.org>
101
* === Released 1.19.4 ===
103
* configure.in: Version 1.19.4
107
2008-02-25 Behdad Esfahbod <behdad@gnome.org>
109
Bug 511172 – pango_layout_set_height() with positive height always
110
shows at least two lines
112
* pango/pango-layout.c (should_ellipsize_current_line),
113
(pango_layout_check_lines),
114
(pango_layout_get_empty_extents_at_index),
115
(pango_layout_line_get_empty_extents):
116
Initialize line_height using empty-line extents.
118
2008-02-25 Tor Lillqvist <tml@novell.com>
120
Bug 515484 – Uniscribe interface handles surrogate
123
* modules/basic/basic-win32.c (itemize_shape_and_place): Pass
124
correctly offset wchar string to set_up_pango_log_clusters() so
125
that when it passes the string on to unichar_index(), that
126
function notices the surrogate pairs correctly.
128
2008-02-24 Tor Lillqvist <tml@novell.com>
130
Bug 515484 – Pango on Windows is missing Type 1
132
Patch from Adrian Johnson.
134
* pango/pangowin32-private.h (PangoWin32Face): Add has_cmap field
135
that tells whether the font has a cmap or not. A Type 1 font
138
* pango/pangowin32.c (pango_win32_font_get_type1_glyph_index): New
139
static function. Uses GetGlyphIndicesW() to get the glyph indices
140
for Type 1 fonts. Possibly also TrueType fonts that for some
141
reason lack the cmap formats we understand.
142
(pango_win32_font_calc_type1_coverage): New static function. Uses
143
GetFontUnicodeRanges() to get the coverage for Type 1 fonts, and
144
possibly TrueType fonts that lack the cmap formats we understand.
145
(pango_win32_font_get_glyph_index): Set has_cmap to false if the
146
font doesn't have a cmap. Call
147
pango_win32_font_get_type1_glyph_index() in that case.
148
(pango_win32_font_calc_coverage): Set has_cmap to false if the
149
font doesn't have a cmap. Call
150
pango_win32_font_calc_type1_coverage() in that case.
152
* pango/pangowin32-fontmap.c (pango_win32_enum_proc): Accept also
154
(pango_win32_insert_font): Initialise has_cmap tentativaly to True.
156
2008-02-21 Kristian Rietveld <kris@imendio.com>
158
* modules/basic/basic-atsui.c (basic_engine_shape): free the
159
ATSU style and utf16 string at the end.
161
2008-02-17 Behdad Esfahbod <behdad@gnome.org>
163
Bug 517083 – pango modules: wrong fallback adding code?
165
* pango/modules.c (map_add_engine): Fix typo.
167
2008-02-17 Behdad Esfahbod <behdad@gnome.org>
169
* pango/pango-layout.c: Improve docs.
171
2008-02-15 Behdad Esfahbod <behdad@gnome.org>
173
* pango/pango-layout.c: Improve docs.
175
2008-02-14 Tor Lillqvist <tml@novell.com>
177
Bug 515484 – Pango on Windows is missing non-TrueType
179
Patch from Adrian Johnson.
181
* pango/pangowin32-fontmap.c (pango_win32_enum_proc): Accept also
182
OpenType/PS fonts. Interpret the metrics parameter as a
183
NEWTEXTMETRICW struct and check the ntmFlags field.
185
2008-02-13 Sven Neumann <sven@gimp.org>
187
* pango/pangoft2.c: indentation.
189
2008-02-09 Dominic Lachowicz <domlachowicz@gmail.com>
191
Bug 515484 – Variable is initialized twice
193
* pango/pangofc-fontmap.c (_pango_fc_font_map_fc_to_coverage):
194
Variable was initialized twice.
196
2008-02-08 Behdad Esfahbod <behdad@gnome.org>
198
Bug 504810 – Samvruthokaram (combination of U+0D41 and U+0D4D) is not
202
* modules/indic/indic-ot-class-tables.c:
203
* modules/indic/indic-ot.c (indic_ot_reorder):
206
2008-01-29 Behdad Esfahbod <behdad@gnome.org>
208
* configure.in: Oops. Add fontconfig cflags/libs with freetype's.
210
2008-01-29 Behdad Esfahbod <behdad@gnome.org>
212
Bug 496244 – Don't use freetype-config, use pkg-config
215
Don't use freetype-config. Also cleanup lots of old stale macros
218
* pango-uninstalled.pc.in:
220
* pangocairo-uninstalled.pc.in:
222
* pangoft2-uninstalled.pc.in:
225
* pangox-uninstalled.pc.in:
227
* pangoxft-uninstalled.pc.in:
229
And cleaned up all the pkg-config files as a result.
231
2008-01-28 Behdad Esfahbod <behdad@gnome.org>
233
Bug 512566 – dont' use deprecated macro
234
Patch from Christian Persch
236
* tests/test-ot-tags.c:
237
* tests/testscript.c:
238
Replace G_GNUC_PRETTY_FUNCTION by G_STRFUNC
240
2008-01-28 Wouter Bolsterlee <wbolster@svn.gnome.org>
242
Bug 512473 – [patch] gtk-doc warnings
244
* pango/pango-context.c:
245
* pango/pango-fontmap.c:
246
* pango/pango-utils.c:
247
* pango/pangofc-fontmap.h:
249
* pango/reorder-items.c:
250
Fixed gtk-doc warnings.
252
2008-01-21 Behdad Esfahbod <behdad@gnome.org>
254
* === Released 1.19.3 ===
256
* configure.in: Version 1.19.3
260
2008-01-21 Behdad Esfahbod <behdad@gnome.org>
262
* pango/pango-layout.c (pango_layout_set_height()): Mark behavior as
263
undefined if height is not -1 and ellipsize mode is
264
PANGO_ELLIPSIZE_NONE.
266
2008-01-21 Behdad Esfahbod <behdad@gnome.org>
268
Bug 508002 – change pango_layout_pixel_extents() to round logical rect
271
* pango/pango-layout.c (pango_layout_get_pixel_extents),
272
(pango_layout_line_get_pixel_extents): Round extents to pixels
273
inclusively. That is, pass both ink_rect and logical_rect as first
274
argument to pango_extents_to_pixels().
276
* pango/pango-matrix.c (pango_matrix_transform_pixel_rectangle):
279
* pango/pango-types.h:
280
* docs/tmpl/glyphs.sgml:
281
* pango/pango-utils.c (pango_extents_to_pixels):
282
Rename pango_extents_to_pixels() function arguments from @ink_rect and
283
@logical_rect to @inclusive and @nearest. Given that this API is a
284
fairly new addition and not commonly used, language bindings are
285
encouraged to update their argument names accordingly. Moreover, they
286
are encouraged to wrap this function as two different calls:
287
extents_to_pixels_inclusive() and extents_to_pixels_nearest(), or
288
similar conventions that best reflect their native language.
290
2008-01-16 Behdad Esfahbod <behdad@gnome.org>
292
* pango/opentype/Makefile.am: Remove COPYING.GPL and COPYING.FTL that
295
2008-01-15 Behdad Esfahbod <behdad@gnome.org>
298
HarfBuzz was relicensed to a more generous and simpler license.
299
Adapt. See pango/opentype/COPYING for the new license which is
302
2008-01-15 Behdad Esfahbod <behdad@gnome.org>
304
* pango/pango-layout.c (debug), (process_line),
305
(pango_layout_line_postprocess): Minor cleanup.
307
2008-01-15 Behdad Esfahbod <behdad@gnome.org>
309
Bug 469313 – Add pango_layout_set_height()
311
* pango/pango-layout.c (get_x_offset),
312
(should_ellipsize_current_line), (add_line), (process_line),
313
(pango_layout_check_lines), (pango_layout_line_get_width),
314
(pango_layout_line_get_x_ranges), (justify_words),
315
(pango_layout_line_postprocess):
316
Implement height >= 0; There are still bugs left. Most notably,
317
there will be at least two lines showed no matter how small height is.
319
2008-01-14 Behdad Esfahbod <behdad@gnome.org>
321
Bug 469313 – Add pango_layout_set_height()
323
* pango/pango-layout.h:
324
* pango/pango-layout-private.h:
325
* pango/pango-layout.c:
326
* pango/ellipsize.c (_pango_layout_line_ellipsize):
329
pango_layout_set_height()
331
See docs for semantics. Currently only negative height values (number
332
of lines) is implemented.
334
* pango-view/viewer-render.c (make_layout), (output_body),
339
* docs/pango-sections.txt:
340
* docs/tmpl/layout.sgml:
343
2008-01-14 Behdad Esfahbod <behdad@gnome.org>
345
Bug 508179 – PangoGlyphUnit confusion
347
* pango/pangowin32.c:
348
* pango/glyphstring.c:
349
* pango/pango-layout.c (process_item): Remove all traces of
352
2008-01-08 Behdad Esfahbod <behdad@gnome.org>
354
Bug 508381 – indent and center alignment don't mix
356
* pango/pango-layout.c: Ignore indent if aligned center, and document
357
so. This assumption was present in some places and not the others.
360
2008-01-08 Behdad Esfahbod <behdad@gnome.org>
362
Bug 508007 – Add option for single-paragraph mode to pango-view
364
* pango-view/viewer-render.c (make_layout), (parse_options): Add
365
--single-par option to pango-view.
367
2008-01-08 Behdad Esfahbod <behdad@gnome.org>
369
* pango/pango-layout.c (ensure_tab_width), (process_line),
370
(pango_layout_get_effective_attributes),
371
(pango_layout_check_lines): Minor cleanup. Attributes are initialized
372
with start/end_index to apply to entire text now, no need to
373
initialize them explicitly anymore.
375
2007-12-29 Behdad Esfahbod <behdad@gnome.org>
377
Bug 506284 – docs typo for pango_coverage_unref
378
Patch from Christian Persch
380
* pango/pango-coverage.c (pango_coverage_unref): Fix typo in docs.
382
2007-12-21 Behdad Esfahbod <behdad@gnome.org>
384
* docs/Makefile.am: Check for dummy man pages in dist-local.
386
2007-12-21 Behdad Esfahbod <behdad@gnome.org>
388
Bug 504802 – build failure: No rule to make target
389
`pango-querymodules.1', needed by `all-am'. Stop.
391
* docs/Makefile.am: Create dummy pango-querymodules.1 if it doesn't
392
exsits (SVN checkout) and --enable-man is not used.
394
2007-12-19 Behdad Esfahbod <behdad@gnome.org>
396
Bug 504585 – pango-querymodules.1 syntax error
400
* docs/pango-querymodules.1:
401
Fix man-page generation rule, also remove pango-querymodules.1 from
402
SVN so it's regenerated from XML at dist time.
404
2007-12-19 Behdad Esfahbod <behdad@gnome.org>
406
Red Hat Bug 426178: gtkdoc-scan fails on pango
408
* docs/pango-sections.txt:
409
* pango/pango-ot-private.h:
411
Make the following symbols available to engines:
418
PANGO_TYPE_OT_RULESET
419
pango_ot_info_get_type
420
pango_ot_ruleset_get_type
422
2007-12-17 Behdad Esfahbod <behdad@gnome.org>
424
* === Released 1.19.2 ===
426
* configure.in: Version 1.19.2
430
2007-12-13 Benjamin Otte <otte@gnome.org>
432
* configure.in: use pkg-config to detect cairo features
434
2007-12-10 Behdad Esfahbod <behdad@gnome.org>
436
* configure.in: Better fix: set both LIBS and LDFLAGS.
438
2007-12-10 Behdad Esfahbod <behdad@gnome.org>
440
Bug 502926 – pango-1.16.4 configure bug: can fail to accept cairo
442
* configure.in: Fix cairo library checking.
444
2007-12-10 Behdad Esfahbod <behdad@gnome.org>
446
* pango/pangocairo-fontmap.c: Improve
447
pango_cairo_font_map_get_default() docs.
449
2007-12-10 Behdad Esfahbod <behdad@gnome.org>
451
Bug 399573 – replace strtoul in pango-markup.c with pango_scan_int()
453
* pango/pango-markup.c (span_parse_func): Use pango_scan_int() and
454
improve error message on parse failure.
456
2007-12-10 Behdad Esfahbod <behdad@gnome.org>
458
Bug 478914 – Use something invalid instead of '?' when validating
461
* pango/pango-layout.c (pango_layout_set_text): Set invalid input
462
bytes to -1, which gives a unichar value of -1, and eventually a
463
glyph value of -1, aka PANGO_GLYPH_INVALID_INPUT.
465
* pango/fonts.c (pango_font_get_glyph_extents),
466
(pango_font_get_metrics), (pango_font_get_font_map):
467
* pango/modules.c (build_map):
468
* pango/pango-context.c (get_script), (get_shaper_and_font),
469
(string_from_script), (itemize_state_process_run):
470
* pango/pango-coverage.c (pango_coverage_get):
471
* pango/pango-impl-utils.h:
472
* pango/pango-utils.c:
473
* pango/pangocairo-font.c (pango_cairo_font_get_scaled_font),
474
(_pango_cairo_font_private_get_hex_box_info),
475
(_pango_cairo_font_private_get_glyph_extents_missing):
476
* pango/pangocairo-private.h:
477
* pango/pangocairo-render.c (_pango_cairo_renderer_draw_frame),
478
(_pango_cairo_renderer_draw_box_glyph),
479
(_pango_cairo_renderer_draw_unknown_glyph):
480
* pango/pangofc-fontmap.c (pango_fc_font_map_get_patterns):
481
* pango/pangoft2-private.h:
482
* pango/pangoft2-render.c (pango_ft2_font_render_box_glyph),
483
(pango_ft2_font_render_glyph), (pango_ft2_renderer_draw_glyph):
484
* pango/pangoft2.c (pango_ft2_font_get_face),
485
(pango_ft2_font_get_glyph_extents):
486
* pango/pangox.c (pango_x_find_subfont), (pango_x_render):
487
* pango/pangoxft-font.c (_pango_xft_font_get_mini_font),
488
(get_glyph_extents_missing), (pango_xft_font_get_font):
489
* pango/pangoxft-private.h:
490
* pango/pangoxft-render.c (get_total_matrix), (draw_box),
491
(_pango_xft_renderer_draw_box_glyph),
492
(_pango_xft_renderer_draw_unknown_glyph),
493
(pango_xft_renderer_draw_glyphs):
494
* pango/shape.c (pango_shape):
495
Render PANGO_GLYPH_INVALID_INPUT to a single-width box with a cross
496
inside. Also cleanup spewed warnings and warn at the source, where
497
we fail to find a shaper, instead of at every location that we see
500
* pango/pango-font.h:
501
* docs/pango-sections.txt:
502
* docs/tmpl/glyphs.sgml:
505
PANGO_GLYPH_INVALID_INPUT
507
2007-12-05 Behdad Esfahbod <behdad@gnome.org>
509
* examples/cairotwisted.c (point_on_path): Optimize double math.
511
2007-12-05 Behdad Esfahbod <behdad@gnome.org>
513
Bug 501938 – Arabic shaping broken with vertical layout with
516
* modules/arabic/arabic-fc.c (arabic_engine_shape): Take gravity into
517
equation when deciding whether to shape visually or logically.
519
2007-12-05 Behdad Esfahbod <behdad@gnome.org>
521
* pango-view/viewer-pangocairo.c (render_callback): Fix assertion
522
in pango_gravity_get_rotation().
524
2007-12-04 Behdad Esfahbod <behdad@gnome.org>
526
Bug 501575 – Compile errors
527
Patch from Jens Granseuer
529
* pango/opentype/harfbuzz-stream.c (_hb_font_goto_table):
530
* pango/pango-utils.c (handle_alias_line):
533
2007-12-03 Behdad Esfahbod <behdad@gnome.org>
535
* === Released 1.19.1 ===
537
* configure.in: Version 1.19.1
541
2007-12-03 Behdad Esfahbod <behdad@gnome.org>
543
Bug 501317 – "and" found where word should be "an"
545
* docs/tmpl/layout.sgml: Fix typo.
547
2007-12-03 Behdad Esfahbod <behdad@gnome.org>
549
* examples/cairotwisted.c: Add some more comments to document
552
2007-11-30 Behdad Esfahbod <behdad@gnome.org>
554
* examples/cairotwisted.c (two_points_distance), (curve_length),
555
(parametrize_path), (point_on_path), (draw_twisted), (main):
556
Document cairotwisted example.
558
2007-11-29 Behdad Esfahbod <behdad@gnome.org>
560
* example/cairo*.c: Add some documentation.
562
2007-11-29 Behdad Esfahbod <behdad@gnome.org>
564
Bug 485536 – underline_position can be zero
566
* pango/pango-utils.c (pango_cairo_quantize_line_geometry):
567
Document that returned position may be zero.
569
* pango/pangocairo-win32font.c
570
(pango_cairo_win32_font_create_metrics_for_context):
571
* pango/pangofc-font.c (get_face_metrics):
572
Handle case of underline_position==0 after rounding.
574
2007-11-29 Behdad Esfahbod <behdad@gnome.org>
576
Bug 500549 – pangocairo.h should include pango.h and cairo.h
578
* pango/pangocairo.h: #include <pango/pango.h>
580
2007-11-23 Behdad Esfahbod <behdad@gnome.org>
582
* docs/check.docs: Make it reusable by not hardcoding "pango".
584
2007-11-23 Behdad Esfahbod <behdad@gnome.org>
586
* pango/opentype/harfbuzz-impl.c: Remove unused macro.
588
2007-11-18 Behdad Esfahbod <behdad@gnome.org>
590
* docs/Makefile.am: Replace GNU-specific syntax with more general one.
592
2007-11-16 Tor Lillqvist <tml@novell.com>
594
* pango/pango-utils.c (handle_alias_line): Factor out the common
595
code from read_builtin_aliases() and read_alias_file(). (#492517)
597
2007-11-09 Behdad Esfahbod <behdad@gnome.org>
599
* pango/Makefile.am: Include ATSUI included modules.
601
2007-11-08 Behdad Esfahbod <behdad@gnome.org>
603
Bug 495091 – pango-utils.c:variable is declared at middle of block
605
* pango/pango-utils.c (read_builtin_aliases): Move variable
606
declaraction before code.
608
2007-11-07 Behdad Esfahbod <behdad@gnome.org>
610
* pango/opentype/*: And some more.
612
2007-11-07 Behdad Esfahbod <behdad@gnome.org>
614
* pango/opentype/*: Some more cleanup and merging.
616
2007-11-05 Behdad Esfahbod <behdad@gnome.org>
618
* tools/gen-script-for-lang-new.c (scripts_for_lang), (main):
619
Update to new propsed language enumeration API for fontconfig.
621
2007-11-02 Tor Lillqvist <tml@novell.com>
623
* pango/pango-utils.c (read_builtin_aliases, pango_load_aliases):
624
On Windows store the default aliases file in a string
627
Compared to the pango.aliases file as distributed with my most
628
recent Windows builds there are some changes: Add the DejaVu fonts
629
as the first ones listed for the generic sans, serif and mono font
630
names. Use Tahoma instead of Arial for sans, and Georgia instead
631
of Times New Roman for serif (to be used if the DejaVu fonts
632
aren't present). Add Arial Unicode MS (a font with quite large
633
coverage that comes with MS Office and thus is often
634
available). Add Sylfaen (the Armenian and Georgian font bundled
637
When using the MS-Windows theme the font used by GTK+ will the
638
system UI one. Both fonts typically used as system fonts, Tahoma
639
(on XP) and Segoe UI (on Vista), are aliased here.
641
* pango/pango-utils.c (read_alias_file): Accept also a quoted
642
string for the left-hand side of an aliases file line. This is to
643
enable aliasing fonts with spaces in their name, like "Segoe UI"
644
which is the default system font on Vista. (#492504) (With the
645
above built-in default aliases lists, no actual pango.aliases file
646
is longer required on Windows for non-Latin script support,
649
2007-10-30 Behdad Esfahbod <behdad@gnome.org>
651
* docs/pango-sections.txt:
652
* docs/tmpl/main.sgml:
653
* docs/tmpl/vertical.sgml:
654
Improve vertical docs.
656
2007-10-29 Behdad Esfahbod <behdad@gnome.org>
658
* === Released 1.19.0 ===
660
* configure.in: Version 1.19.0
664
2007-10-28 Behdad Esfahbod <behdad@gnome.org>
666
* pango/pango-script-lang-table.h:
667
* tools/gen-script-for-lang-new.c:
668
Sort scripts based on frequency.
670
* tools/Makefile.am: Don't build anything by default.
672
2007-10-26 Murray Cumming <murrayc@murrayc.com>
674
* docs/pango_markup.sgml: Adds a link to
675
pango_font_description_from_string() so that the font_desc
676
attribute is not so mysterious. Bug #490661.
678
2007-10-26 Behdad Esfahbod <behdad@gnome.org>
681
* tools/gen-script-for-lang-new.c:
682
Functional dup of gen-script-for-lang that uses FcGetLangs() and
683
FcCharSetForLang() instead of parsing .orth files.
685
2007-10-26 Behdad Esfahbod <behdad@gnome.org>
687
* pango/pango-script-lang-table.h: Update for fontconfig-2.4.91.
689
2007-10-25 Behdad Esfahbod <behdad@gnome.org>
691
* pango/pangofc-fontmap.c (pango_fc_font_map_get_patterns):
692
Call FcFontSetDestroy() instead of FcFontSetSortDestroy().
693
These days they are the same, but previously the latter was
694
not freeing the actual patterns. But we don't need the
695
sort patterns, so this retroactively fixes a leak in older
698
2007-10-25 Behdad Esfahbod <behdad@gnome.org>
700
* pango/opentype/*: Even more cleanup and more type renames.
702
2007-10-25 Behdad Esfahbod <behdad@gnome.org>
704
* pango/opentype/*: More cleanup, remove redundant error types.
706
2007-10-24 Behdad Esfahbod <behdad@gnome.org>
708
* pango/opentype/*: Rename ftglue.c to harfbuzz-impl.c and more
709
type renames and moving code around.
711
2007-10-24 Behdad Esfahbod <behdad@gnome.org>
713
* pango/opentype/*: New header file harfbuzz-global.h. Rename
714
FT_* int types to HB_* types.
716
2007-10-24 Behdad Esfahbod <behdad@gnome.org>
718
* pango/opentype/harfbuzz-gpos-private.h:
719
* pango/opentype/harfbuzz-gsub-private.h:
720
Add commented-out dummy struct for Extension lookups.
722
2007-10-24 Behdad Esfahbod <behdad@gnome.org>
724
Bug 478865 – Drastically reduce number of PangoFont objects created
727
* pango/pangofc-fontmap.c (fontset_hash_key_hash),
728
(get_scaled_size), (pango_fc_font_map_get_patterns):
729
Use a Pango-unit int for scaled-size instead of double.
730
Merges even more queries...
732
2007-10-24 Behdad Esfahbod <behdad@gnome.org>
734
Bug 478865 – Drastically reduce number of PangoFont objects created
737
* pango/pangofc-fontmap.c (fontset_hash_key_equal),
738
(fontset_hash_key_hash), (fontset_hash_key_copy),
739
(get_scaled_size), (pango_fc_font_map_get_patterns):
740
Only keep scaled-size in fontset hash, instead of unscaled-size
743
2007-10-24 Behdad Esfahbod <behdad@gnome.org>
745
Bug 471568 – Optimizations in _pango_cairo_update_context()
747
* pango/pangocairo-context.c (_pango_cairo_update_context):
748
Skip change notification about matrix changes if merged font
749
options for the context set metrics hinting to off.
751
2007-10-24 Behdad Esfahbod <behdad@gnome.org>
753
Bug 489909 – pango_cairo_update_context() should ignore matrix
756
* pango/pangocairo-context.c (_pango_cairo_update_context):
757
Just compare the first four doubles of matrices for change
758
notification purposes.
760
2007-10-24 Behdad Esfahbod <behdad@gnome.org>
762
Bug 486951 – ChangeLog.pre-1-18
765
* ChangeLog.pre-1-18:
768
2007-10-24 Behdad Esfahbod <behdad@gnome.org>
770
* pango/glyphstring.c (pango_glyph_string_copy),
771
(pango_glyph_string_free):
772
Fix another Oops of mine from recent commits.
774
2007-10-24 Behdad Esfahbod <behdad@gnome.org>
776
Bug 472924 – Mark some classes abstract
779
* pango/pango-fontmap.c:
780
* pango/pangofc-font.c:
781
* pango/pangofc-fontmap.c:
783
Mark the following types as abstract:
792
2007-10-24 Behdad Esfahbod <behdad@gnome.org>
794
Bug 472303 – Make PANGO_GLYPH_EMPTY and PANGO_GLYPH_UNKNOWN_FLAG public
796
* pango/pango-font.h: Make PANGO_GLYPH_EMPTY, PANGO_GLYPH_UNKNOWN_FLAG,
797
and PANGO_GET_UNKNOWN_GLYPH() public. Previously they were only
798
defined for backend/engine implementations.
800
2007-10-24 Behdad Esfahbod <behdad@gnome.org>
802
Bug 471601 – Pass pango version information to fontconfig
804
* pango/pangofc-fontmap.h:
810
* pango/pangofc-fontmap.c (pango_fc_make_pattern):
811
Set PANGO_FC_VERSION in pattern.
813
* docs/pango-sections.txt:
814
* docs/tmpl/pangofc-fontmap.sgml:
817
2007-10-24 Behdad Esfahbod <behdad@gnome.org>
819
Bug 472629 – Add pango_renderer_get_layout(_line)
821
* pango/pango-renderer.h:
822
* pango/pango-renderer.c:
825
pango_renderer_get_layout()
826
pango_renderer_get_layout_line()
828
* pango/pangocairo-render.c (pango_cairo_renderer_draw_shape),
829
(release_renderer), (_pango_cairo_do_layout_line),
830
(_pango_cairo_do_layout): Use above API to simplify
831
shape_renderer implementation.
834
* docs/pango-sections.txt:
835
* docs/tmpl/pango-renderer.sgml:
838
2007-10-24 Behdad Esfahbod <behdad@gnome.org>
840
* pango/pango-attributes.c: Fix couple Oopses from my last
843
2007-10-24 Behdad Esfahbod <behdad@gnome.org>
845
Bug 469641 – Initialize attribute start/end to [0..MAXUINT]
847
* pango/pango-attributes.h:
848
* pango/pango-attributes.c:
851
pango_attribute_init()
853
* pango/pango-attributes.c:
854
(pango_attr_string_new), (pango_attr_language_new),
855
(pango_attr_color_new), (pango_attr_int_new),
856
(pango_attr_float_new), (pango_attr_size_new_internal),
857
(pango_attr_font_desc_new), (pango_attr_shape_new_with_data):
858
Initialize attributes using pango_attribute_init().
861
* docs/pango-docs.sgml:
862
* docs/pango-sections.txt:
863
* docs/tmpl/text-attributes.sgml:
866
2007-10-24 Behdad Esfahbod <behdad@gnome.org>
868
Bug 471577 – GBoxed GType for PangoGlyphItem
870
* pango/pango-glyph-item.h:
871
* pango/pango-glyph-item.c:
874
PANGO_TYPE_GLYPH_ITEM
875
pango_glyph_item_copy()
876
pango_glyph_item_get_type()
878
* pango/pango-layout.c:
881
pango_layout_iter_copy()
883
* pango/fonts.c (pango_font_description_copy),
884
(pango_font_description_copy_static),
885
(pango_font_description_free), (pango_font_descriptions_free),
886
(pango_font_metrics_ref), (pango_font_metrics_unref):
887
* pango/glyphstring.c (pango_glyph_string_copy),
888
(pango_glyph_string_free):
889
* pango/pango-attributes.c (pango_attr_list_ref),
890
(pango_attr_list_unref), (pango_attr_list_copy):
891
* pango/pango-color.c (pango_color_copy), (pango_color_free):
892
* pango/pango-item.c (pango_item_copy), (pango_item_free):
893
* pango/pango-layout.c (pango_layout_line_ref),
894
(pango_layout_line_unref), (pango_layout_iter_copy),
895
(pango_layout_iter_free):
896
* pango/pango-layout.h:
897
* pango/pango-matrix.c (pango_matrix_copy), (pango_matrix_free):
898
Update all copy/free functions to accept NULL as legitimate input.
899
Previously all were g_return_[val_]if_fail()ing it.
902
* docs/pango-sections.txt:
903
* docs/tmpl/glyphs.sgml:
904
* docs/tmpl/layout.sgml:
907
2007-10-22 Behdad Esfahbod <behdad@gnome.org>
909
Bug 471571 – Add pango_layout_iter_get_layout()
911
* pango/pango-layout.h:
912
* pango/pango-layout.c:
915
pango_layout_iter_get_layout()
917
* docs/pango-sections.txt:
918
* docs/tmpl/layout.sgml:
921
2007-10-22 Behdad Esfahbod <behdad@gnome.org>
923
* docs/tmpl/layout.sgml: Remove obsolete comment. PangoLayoutRun
924
is not deprecated. It's just same type as PangoGlyphItem.
926
2007-10-21 Behdad Esfahbod <behdad@gnome.org>
928
* pango/pango-layout.h: Remove obsolete comment. PangoLayoutRun is
929
not deprecated. It's just same type as PangoGlyphItem.
931
2007-10-21 Behdad Esfahbod <behdad@gnome.org>
933
Bug 488840 – harfbuzz: protect against ligid overflow
935
* pango/opentype/harfbuzz-buffer.c (_hb_buffer_allocate_ligid):
936
Never return zero, even in case of overflow.
938
* pango/opentype/harfbuzz-impl.h: Define dummy HB_LIKELY() and
939
HB_UNLIKELY(), to be filled later.
941
2007-10-20 Behdad Esfahbod <behdad@gnome.org>
943
* examples/cairotwisted.c (curve_length): Implement bezier curve
944
length function that flattens the curve and sum the length of straight
945
lines approximating it.
947
2007-10-15 Behdad Esfahbod <behdad@gnome.org>
949
Bug 483600 – Leak of font family name in
950
pango_win32_font_description_from_logfont(w)
951
Patch from Daniel Atallah
953
* pango/pangowin32-fontmap.c
954
(pango_win32_font_description_from_logfont),
955
(pango_win32_font_description_from_logfontw):
958
2007-10-15 Behdad Esfahbod <behdad@gnome.org>
960
Bug 486932 – Apply vkrn GPOS feature in vertical writing
962
* modules/basic/basic-fc.c (basic_engine_shape): Apply vkrn
963
GPOS feature in vertical writing mode. Previously we had
964
no GPOS feature for vertical mode.
966
2007-10-15 Behdad Esfahbod <behdad@gnome.org>
968
Bug 481537 – compiler warning fixes
969
Patch from Kjartan Maraas
971
* pango/break.c (pango_get_log_attrs):
972
* pango/pango-attributes.c (pango_attr_list_insert_internal):
973
* pango/pango-layout.c (process_item), (justify_clusters):
974
* pango/pango-markup.c (span_parse_boolean):
975
* pango/pango-ot-ruleset.c (pango_ot_ruleset_finalize),
976
(pango_ot_ruleset_new):
977
* pango/pango-utils.c (pango_scan_int):
978
* pango/pangocairo-font.c (_pango_cairo_font_install):
979
* pango/pangofc-font.c (pango_fc_font_create_metrics_for_context):
980
* pango/pangoft2.c (load_fallback_face):
981
* pango/pangox-fontmap.c (pango_x_get_coverage_win):
982
* pango/pangox.c (itemize_string_foreach):
985
2007-10-11 Behdad Esfahbod <behdad@gnome.org>
987
Bug 485566 – Cache one OpenType Buffer
989
* pango/pango-ot-buffer.c (acquire_buffer), (release_buffer),
990
(pango_ot_buffer_new), (pango_ot_buffer_destroy):
991
* pango/pango-ot-private.h:
992
Cache one HB_Buffer that is acquired using a lock. A new one is
993
created if the shared buffer is locked. The shared buffer is
994
cleared when released. May want to make it free shared buffer if
995
buffer->allocated is too large. Not sure.
997
2007-10-11 Behdad Esfahbod <behdad@gnome.org>
999
* pango/opentype/*: Mark internal symbols as HB_INTERNAL and
1000
define that to static in harfbuzz.c.
1002
* pango/opentype/harfbuzz-buffer-internal.h: New file.
1004
2007-10-11 Behdad Esfahbod <behdad@gnome.org>
1006
* pango/opentype/ftglue.[ch]: Remove FTGLUE_API/APIDEF cruft.
1008
2007-10-11 Behdad Esfahbod <behdad@gnome.org>
1010
* pango/opentype/Makefile.am: Build harfbuzz.c instead of individual
1011
source files, to let compiler go wild with optimizations!
1013
2007-10-11 Behdad Esfahbod <behdad@gnome.org>
1015
* pango/opentype/harfbuzz.c: Same here.
1017
2007-10-11 Behdad Esfahbod <behdad@gnome.org>
1019
* pango/opentype/Makefile.am: Don't include harfbuzz-dump.[ch] in
1020
libharfbuzz.a. Those are just used by the harfbuzz-dump tool.
1022
2007-10-11 Behdad Esfahbod <behdad@gnome.org>
1024
* pango/opentype/harfbuzz-buffer.c: Some more cleanup.
1026
2007-10-11 Behdad Esfahbod <behdad@gnome.org>
1028
* pango/opentype/harfbuzz-buffer.c: Move some code around.
1030
2007-10-11 Behdad Esfahbod <behdad@gnome.org>
1032
* pango/opentype/harfbuzz-buffer.[ch]: Rename buffer->inplace to
1033
buffer->separate_out with the inverted meaning, such that buffer
1034
is initialization is memset(0).
1036
2007-10-11 Behdad Esfahbod <behdad@gnome.org>
1038
* pango/opentype/*: Allocate buffer->positions lazily.
1040
2007-10-11 Behdad Esfahbod <behdad@gnome.org>
1042
Bug 485621 – Get rid of freetype memory allocator in harfbuzz
1044
* pango/opentype/*: Remove all occurences of FT_Memory. Use
1045
malloc/realloc/free directly.
1047
* pango/pango-ot*: Update to above.
1049
2007-10-10 Behdad Esfahbod <behdad@gnome.org>
1051
Bug 485559 – Boston Summit HarfBuzz optimizations
1053
* pango/opentype/*: HarfBuzz hacking to:
1055
- Rename last remaining FT_Err stuff to HB_Err.
1057
- Fix a couple invalid table paths to be permissive so
1058
fonts work better. Particularly GDEF table for Nafees
1059
Nastaliq is loaded and works great now.
1061
- Optimize harfbuzz buffer to not copy/swap for simple
1062
one-to-one and "copy" GSUB operations.
1064
* pango/pango-ot*: Update to FT_Err to HB_Err renaming.
1066
2007-09-21 Behdad Esfahbod <behdad@gnome.org>
1068
* pango/pangofc-fontmap.c: Fix typo in comments.
1070
2007-09-17 Behdad Esfahbod <behdad@gnome.org>
1072
* === Released 1.18.2 ===
1074
* configure.in: Version 1.18.2
1078
2007-09-07 Behdad Esfahbod <behdad@gnome.org>
1080
Bug 474708 – pangocairo leaks memory
1082
* pango-view/viewer-pangocairo.c (pangocairo_view_create):
1083
Use pango_cairo_font_map_new() instead of
1084
pango_cairo_font_map_get_default(), so the font map is freed at the
1085
end so we can use valgrind to detect leaks without noise.
1087
2007-09-07 Behdad Esfahbod <behdad@gnome.org>
1089
Part of Bug 474708 – pangocairo leaks memory
1091
* pango/pangocairo-font.c
1092
(_pango_cairo_font_private_get_hex_box_info):
1095
* pango/pangocairo-atsui.h:
1096
* pango/pangocairo-atsuifontmap.c
1097
(pango_cairo_atsui_font_map_finalize):
1098
* pango/pangocairo-fc.h:
1099
* pango/pangocairo-fcfontmap.c (pango_cairo_fc_font_map_finalize):
1100
* pango/pangocairo-win32.h:
1101
* pango/pangocairo-win32fontmap.c
1102
(pango_cairo_win32_font_map_finalize):
1103
Remove unused leftover renderer variable.
1105
* pango/pangofc-fontmap.c (pango_fc_font_map_finalize): Fix thinko.
1107
2007-09-07 Behdad Esfahbod <behdad@gnome.org>
1109
* pango/pangox-fontcache.c (free_cache_entry),
1110
(pango_x_font_cache_free), (pango_x_font_cache_new),
1111
(pango_x_font_cache_load):
1112
* pango/pangox-fontmap.c (pango_x_font_map_finalize),
1113
(pango_x_insert_font):
1114
* pango/pangox.c (free_context_info), (pango_x_get_context),
1115
(pango_x_font_init), (pango_x_font_get_metrics),
1116
(pango_x_insert_subfont), (free_metrics_info),
1117
(pango_x_font_finalize):
1118
Switch some g_new (*, 1) to g_slice_new ()... I know...
1120
2007-09-07 Behdad Esfahbod <behdad@gnome.org>
1122
Patch from Chris Wilson
1124
* pango/pangoft2.c (load_fallback_face): Use g_error() instead
1125
of g_warning()+exit().
1127
2007-09-02 Mathias Hasselmann <mathias.hasselmann@gmx.de>
1129
Bug 472891 – Bad consistency check in pango_get_log_attrs
1131
* pango/break.c: Invert the consistency check.
1133
2007-08-29 Behdad Esfahbod <behdad@gnome.org>
1135
Bug 302952 – The placement of a diacritic marks for an arabic ligature
1138
* pango/opentype/harfbuzz-buffer.c (hb_buffer_allocate_ligid): Don't
1139
use zero as allocated ligature id. Zero means no ligature id.
1141
2007-08-28 Behdad Esfahbod <behdad@gnome.org>
1143
* pango/pango-ot-ruleset.c (pango_ot_ruleset_init),
1144
(pango_ot_ruleset_new): Move ruleset initialization to _init()
1147
2007-08-28 Behdad Esfahbod <behdad@gnome.org>
1149
Bug 410152 – testboundaries test fails
1151
* configure.in: Require libthai >= 0.1.9
1153
2007-08-27 Behdad Esfahbod <behdad@gnome.org>
1155
* === Released 1.18.1 ===
1157
* configure.in: Version 1.18.1
1161
2007-08-24 Behdad Esfahbod <behdad@gnome.org>
1163
Bug 470042 – missing Macedonian OT tag
1164
Patch from Denis Jacquerye
1166
* pango/pango-ot-tag.c: Add Macedoninan language tag.
1168
2007-08-21 Behdad Esfahbod <behdad@gnome.org>
1170
Bug 468953 – pango-renderer.c: using function without prototype
1172
* pango/pango-renderer.c: #include <pango-impl-utils.h>
1174
2007-08-21 Behdad Esfahbod <behdad@gnome.org>
1176
Bug 463430 – Gets stuck while "formatting message"
1178
* pango/opentype/harfbuzz-gpos.c (Lookup_PairPos1),
1179
(Lookup_PairPos2), (Lookup_PairPos), (Do_ContextPos):
1180
* pango/opentype/harfbuzz-gsub.c (Do_ContextSubst):
1181
Change type of intermediate index variable from FT_UShort to
1182
FT_ULong as it was overlowing with more than 65536 glyphs.
1184
2007-08-20 Behdad Esfahbod <behdad@gnome.org>
1186
* README: Remove reference to required version of glib. It falls
1187
out of synch every single time.
1189
462
Local Variables: