1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
|
Mon Dec 13 14:44:40 2004 Owen Taylor <otaylor@redhat.com>
* pango/pango-layout.[ch] pango/pango.def docs/pango-sections.txt:
Add. (#153548, Morten Welinder)
* pango/pango-layout.c (pango_layout_set_font_description):
Guard against the same description being set back.
2004-12-12 Tor Lillqvist <tml@iki.fi>
* pango/modules.c (read_modules)
* pango/pango-utils.c (read_alias_file,read_config_file): Use
gstdio wrappers. (#16111, Robert Ă–gren)
* pango/pangoft2-fontmap.c: Remove unneded includes of <dirent.h>
and <windows.h>.
Fri Dec 10 16:30:40 2004 Owen Taylor <otaylor@redhat.com>
* pango/pangoxft-render.c (draw_glyph): Fix problem
where the font would get unset after flushing at MAX_GLYPHS.
(#160978)
Thu Dec 2 15:47:44 2004 Owen Taylor <otaylor@redhat.com>
* === Released 1.7.0 ===
* NEWS: Update.
Thu Dec 2 15:31:33 2004 Owen Taylor <otaylor@redhat.com>
* pango/break.c (pango_default_break): Ignore formatting
characters when determining word boundaries (Part of
#97545, Behdad Esfahbod)
2004-11-30 Matthias Clasen <mclasen@redhat.com>
* pango/pango-renderer.c (pango_renderer_default_prepare_run): Set
the background color instead of setting underline twice.
2004-11-28 Theppitak Karoonboonyanan <thep@linux.thai.net>
Add Lao support to Thai module. (#156781)
* modules/thai/Makefile.am modules/thai/thai-shaper.[ch]
+modules/thai/thai-charprop.[ch]: Split WTT tables into a separate
source. Extend the tables for Lao. 3 new classes are added (AM for
SaraAm, AD4 for Nikkhahit, BCON for Lao semivowels). Now the range
0x00-0x7f in TIS is used to store Lao characters. Rewrite ucs2tis()
et al macros accordingly.
* modules/thai/thai-shaper.c (get_next_cluster): Rewrite the
clusterization code, so it's not specific to Thai-English texts. (Note
that the special case of SaraAm is now handled by the new WTT character
class. So, the extra checks are now eliminated.)
* modules/thai/thai-shaper.c (get_glyphs_list, add_cluster):
Add glyph calculation for Lao clusters.
* modules/thai/thai-shaper.c (ThaiShapeTable structs,
get_adjusted_glyphs_list): Generalize the shaping maps according to
the new 8-bit internal encoding scheme. Now the character ranges are
relocatable rather than hard-coded. Add Lao shaping table.
* modules/thai/thai-shaper.c (get_adjusted_glyphs_list): Add special
case for Lao, where clusters can be longer than those of Thai.
* modules/thai/thai-fc.c (get_glyph_index_tis): Add Lao glyphs lookup.
* modules/thai/thai-ot.c (thai_ot_shape, +lao_ot_get_ruleset): Add Lao
OT rulesets retrieval.
* modules/thai/thai-fc.c (PangoEngineScriptInfo thai_scripts[]):
Add Lao script entry.
Thu Nov 25 14:10:53 2004 Manish Singh <yosh@gimp.org>
* autogen.sh: rm autom4te.cache, since it might interfere with
differing autoconf versions.
Tue Nov 23 10:23:43 2004 Owen Taylor <otaylor@redhat.com>
* pango/pango-attributes.[ch]: Add underline_color
and strikethrough_color attribute types. (#147616, Morten
Welinder)
* pango/pango-markup.c docs/pango_markup.sgml: Add
corresponding 'underline_color' and
'strikethrough_color' attributes for <span>.
* pango/pango-renderer.c (pango_renderer_default_prepare_run):
Implement underline and strikethrough colors.
* pango/pango-renderer.c: Fix some bigs with updating
underlines/strikethrough state.
* pango/pango-renderer.c (get_total_matrix): Fix a const
warning.
* docs/pango-sections.txt: Update
Mon Nov 22 15:53:37 2004 Manish Singh <yosh@gimp.org>
* modules/thai/Makefile.am: Remove stray 'x' character.
Mon Nov 22 18:30:14 2004 Owen Taylor <otaylor@redhat.com>
* pango/opentype/Makefile.am pango/Makefile.am
modules/*/Makefile.am: Set G_LOG_DOMAIN (#151923,
Hans Breuer)
Mon Nov 22 15:21:11 2004 Owen Taylor <otaylor@redhat.com>
* modules/syriac configure.in modules/Makefile.am
modules/makefile.msc: Add Syriac module by Emil
Soleyman-Zomalan. (#147779)
* examples/Makefile.am examples/syriac.utf: Syriac
example text.
2004-11-21 Hans Breuer <hans@breuer.org>
* pango/makefile.msc : updated
* pango/pangowin32.[ch] pango/pangowin32.def : implement
pango_win32_render_transformed() by using the transformation
capabilities of GDI (not available on win9x)
Sun Nov 21 11:43:00 2004 Owen Taylor <otaylor@redhat.com>
* pango/break.c: Turn off backspace-deletes-character behavior
for Kana and Hangul. It's wrong for Kana, and for Hangul it's
theoretically right but interacts badly with current input
methods. (#155897, Leon Ho)
Sun Nov 21 11:40:03 2004 Owen Taylor <otaylor@redhat.com>
* pango/pango-layout.c (pango_layout_get_log_attrs): Return n+1
logical attributes not n logical attributes (#155912)
Sun Nov 21 10:52:03 2004 Owen Taylor <otaylor@redhat.com>
* pango/pango-context.c: Don't just call pango_fontset_get_metrics()
to implement pango_context_get_metrics(), since that skips our
normal font selection algorithm. Rather itemize the sample string
and get the metrics from that. (#149438, Felipe Heidrich)
Sun Nov 21 10:46:34 2004 Owen Taylor <otaylor@redhat.com>
* pango/pango-layout.c (pango_layout_set_text): Fix UTF8 => UTF-8
in warning and doc comment. (#153551, Morten Welinder)
Sat Nov 20 23:50:40 2004 Owen Taylor <otaylor@redhat.com>
* pango/pangoxft-font.c (get_glyph_extents_missing): Fix double
multiplication by PANGO_SCALE. (#157419, Matthias Clasen)
* pango/pangoxft-render.c (box_in_bounds): Fix sign typo.
* pango/pangoxft-render.c (pango_xft_renderer_draw_glyphs):
* pango/pangoxft-font.c (get_glyph_extents_missing):
Adjust vertical positioning so that we get integral positioning of
the box without a transform.
Fri Nov 19 18:45:24 2004 Owen Taylor <otaylor@redhat.com>
* pango/pango-renderer.c (pango_renderer_default_draw_error_underline):
Fix crash when renderer->matrix is NULL.
Fri Nov 19 17:44:33 2004 Owen Taylor <otaylor@redhat.com>
* pango/pango-renderer.[ch]: Remove color_set() virtual
function ... it's not absolutely necessary for chaining
renderers, and it's not clear that chaining renderers
is actually useful, anyways.
* pango/pango-renderer.[ch] (pango_renderer_set_color): Constify
color argument.
* pango/pango-render.c: Fix various bugs.
* pango/pango-attributes.[ch] (pango_attr_shape_new_with_data):
Add the ability to create a shape attribute with user data.
* pango/pango-renderer.[ch] (PangoRendererClass): Add a draw_shape
virtual function, to draw content for PangoAttrShape.
* pango/pangoxft-fontmap.c (pango_xft_shutdown_display):
Add note to docs that XCloseDisplay() will automatically take care
of releasing Pango's allocated resources for the display.
* docs/Makefile.am (SCAN_OPTIONS): Add the appropriate
--deprecated-guards option.
* docs/tmpl/xft-fonts.sgml: Add long description.
* docs/tmpl/x-fonts.sgml: Document as dead.
2004-10-26 Matthias Clasen <mclasen@redhat.com>
* docs/tmpl/text-attributes.sgml: Document PANGO_UNDERLINE_ERROR
as a 1.4 addition. (#156533, Morten Welinder)
2004-10-12 Theppitak Karoonboonyanan <thep@linux.thai.net>
* modules/thai/thai-shaper.h (thai_get_glyph_tis,
thai_make_glyph_tis): Use guchar instead of gchar as argument type.
* modules/thai/thai-fc.c (thai_get_glyph_tis, thai_make_glyph_tis):
Make *_tis functions wrappers to *_uni functions.
2004-10-09 Theppitak Karoonboonyanan <thep@linux.thai.net>
Explicitly handle dangling upper/lower marks by optionally using
dottedcircle as base, rather than requiring it.
* modules/thai/thai-shaper.h: Explicitly declare make_glyph and
get_glyph functions for 8-bit and Unicode chars as separate functions.
* modules/thai/thai-shaper.c (get_adjusted_glyphs_list): Rename
function calls to the new ones. Conditionally use dottedcircle glyph
as base for dangling upper/lower marks if available; simply expand
width to that of inkrect otherwise.
* modules/thai/thai-fc.c: Implement those new functions declared in
thai-shaper.h. Remove 0x25cc from tis620_2 glyph set.
2004-10-08 Theppitak Karoonboonyanan <thep@linux.thai.net>
* modules/thai/thai-ot.c (thai_ot_get_ruleset): Return NULL if ruleset
is empty, to indicate the lack of OT features.
* modules/thai/thai-fc.c (tis620_1): Fix the PUA glyph table, after
actually checked with sample OSX (Jaguar) fonts. This actually turns
on PUA-based shaping with Thai OSX fonts in Pango.
2004-10-07 Theppitak Karoonboonyanan <thep@linux.thai.net>
* modules/thai/thai-shaper.c (groups, group1_map, group2_map):
Remove unused data for XTIS.
* modules/thai/thai-shaper.[ch] (enum ThaiFontSet, get_glyphs_list),
modules/thai/thai-fc.c (thai_get_font_info, thai_make_glyph):
Remove THAI_FONT_ISO10646 font set, as it's already covered by
THAI_FONT_TIS.
Sat Oct 2 10:08:13 2004 Manish Singh <yosh@gimp.org>
* modules/thai/thai-ot.c (thai_ot_get_ruleset): Use
g_return_val_if_fail() instead of g_return_if_fail() since this
function returns a value.
2004-10-02 Theppitak Karoonboonyanan <thep@linux.thai.net>
Make Thai module prefer OpenType tables, if available, to PUA
substitutions. (#153927)
* modules/thai/thai-ot.[ch]:
Merge get_gsub_ruleset() and get_gpos_ruleset() into an exported
function thai_ot_get_ruleset(). Rearrange thai_ot_shape() to call
it properly.
* modules/thai/thai-fc.c:
Try OT ruleset before PUA glyph sets.
2004-09-25 Tor Lillqvist <tml@iki.fi>
* pango/pango.def: Add the new pango_renderer_* symbols.
* modules/basic/basic-win32.c (basic_engine_covers,
basic_engine_win32_class_init): Remove the implementation of the
covers method. It was wrong anyway, and unnecessary. No need to
override the default implementation. (#152997)
Fri Sep 24 15:05:02 2004 Owen Taylor <otaylor@redhat.com>
* pango/pango-renderer.c (pango_renderer_draw_glyphs):
Activate the renderer.
* pango/pango-renderer.c (pango_renderer_get_color,
pango_renderer_draw_rectangle, pango_renderer_draw_trapezoid,
pango_renderer_draw_error_underline, pango_renderer_draw_glyph):
Require the renderer to be active.
Fri Sep 24 12:59:22 2004 Owen Taylor <otaylor@redhat.com>
* configure.in: Up version to 1.7.0.
* pango/pango-renderer.[ch] pango/pango.h pango/Makefile.am:
Add PangoRenderer, a base class that is subclassed to produce
rendering drivers for different backends and purposes.
* pango/pangoft2-private.h pango/pangoft2-render.c
pango/pangoft2.c: Move rendering into pangoft2-render.c,
use PangoRenderer.
* pango/pangoft2-fontmap.c pango/pangoft2-private.h: Add
_pango_ft2_font_map_get_renderer() to retrieve a singleton
fontmap for the fontmap.
* pango/pangoxft-render.[ch] pango/pangoxft.c pango/Makefile.am:
Make Xft rendering use PangoRenderer, add publically
visible, subclassable PangoXftRenderer.
* pango/pangoxft-fontmap.c pango/pangoxft-private.h: Add
_pango_xft_font_map_get_renderer() to retrieve a singleton
fontmap for the fontmap.
* examples/xftview.c examples/Makefile.am: Add a test program
using the Xft backend.
* docs/*: Update minimally for PangoRenderer.
Wed Sep 22 16:15:40 2004 Owen Taylor <otaylor@redhat.com>
* pango/pangoxft-font.c (pango_xft_font_get_glyph_extents): Use
get_glyph_extents_raw() when hinting is disabled as well
as when we are transforming. (#152529, Vincent Noel)
* pango/pangofc-font.c (pango_fc_font_get_raw_extents): Duplicate
the fix for non-scalable fonts from get_face_metrics() here as
well.
Wed Sep 22 15:57:30 2004 Owen Taylor <otaylor@redhat.com>
* pango/pango-layout.c (pango_layout_get_ellipsize): Fix
typo in docs. (#153390, Paolo Borelli)
Wed Sep 22 14:07:47 2004 Owen Taylor <otaylor@redhat.com>
Cleanups from 'sparse', #149922, Kjartan Maraas
* pango/pango-utils.c (read_config): () => (void) in
definition.
* pango/pangofc-fontmap.c (pango_fc_font_map_list_families):
Initialize *n_families, not n_families.
* pango/pangofc-fontmap.c pango/pangoft2.c opentype/ftxgdef.c
opentype/ftxgpos.c opentype/ftxgsub.c: : Fix various 0/NULL
confusion.
Mon Sep 20 13:57:35 2004 Owen Taylor <otaylor@redhat.com>
* modules/indic/mprefixups.c (indic_mprefixups_apply):
Fix various bugs, make more robust. (#151689, Arun M)
Mon Sep 13 11:06:47 2004 Owen Taylor <otaylor@redhat.com>
* pango/ellipsize.c (init_state): Initialize
ellipsis_is_cjk (#151901, Christian Persch)
Mon Sep 13 10:18:51 2004 Owen Taylor <otaylor@redhat.com>
* pango/pango-context.c (itemize_state_process_run):
Except ideographic spaces from the !g_unichar_isgraph() test.
(#145275, Federic Zhang)
Mon Sep 20 12:17:37 2004 Owen Taylor <otaylor@redhat.com>
* pango/pangofc-font.c (get_face_metrics):
Don't use face->ascender/descender for non-scalable fonts,
since they aren't set. (#Enrico Scholz,
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=129246)
2004-09-18 Tor Lillqvist <tml@iki.fi>
* pango/pango.def: Add pango_context_set_matrix. (#152883, Ivan
Wong)
2004-09-15 Tor Lillqvist <tml@iki.fi>
* pango/pangowin32-fontmap.c (pango_win32_insert_font): Ignore
fonts in SYMBOL_CHARSET. They don't have any Unicode mapping
table. (#149643)
* pango/querymodules.c (string_needs_escape, escape_string):
Escape also backslashes. (#152607, Kazuki Iwamoto)
|