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
|
2005-11-04 Behdad Esfahbod <behdad@gnome.org>
* pango/break.c: Update to handle new line-breaking types in the
Unicode 4.1 UAX#14. (#313907)
* configure.in: Bump required glib version to 2.9.0. Needed for
above-mentioned line-breaking types.
2005-11-04 Behdad Esfahbod <behdad@gnome.org>
* configure.in, examples/argcontext.c examples/cairoview.c,
examples/renderdemo.c, examples/renderdemo.h examples/xftview.c,
modules/basic/basic-x.c, modules/hangul/hangul-fc.c,
modules/hebrew/hebrew-shaper.c, modules/hebrew/hebrew-shaper.h,
modules/indic/indic-fc.c, modules/indic/mprefixups.c,
modules/syriac/syriac-fc.c, pango/break.c pango/fonts.c,
pango/modules.c, pango/pango-coverage.c pango/pango-engine.c,
pango/pango-engine.h, pango/pango-fontmap.c,
pango/pango-fontset.c, pango/pango-impl-utils.h,
pango/pango-layout.c, pango/pango-layout.h,
pango/pango-renderer.c, pango/pango-script.c,
pango/pango-utils.c, pango/pangocairo-fc.h,
pango/pangocairo-font.c, pango/pangocairo-fontmap.c,
pango/pangocairo-private.h, pango/pangofc-decoder.c,
pango/pangofc-font.c, pango/pangofc-fontmap.c pango/pangoft2.c,
pango/pangox-fontcache.c, pango/pangox-fontmap.c pango/pangox.c,
pango/pangoxft-font.c, pango/querymodules.c,
pango/opentype/ftglue.c, pango/opentype/ftxgpos.c,
pango/opentype/ftxopen.c, pango/opentype/pango-ot-buffer.c,
pango/opentype/pango-ot-info.c,
pango/opentype/pango-ot-ruleset.c, tests/dump-boundaries.c,
tests/testboundaries.c, tests/testcolor.c tests/testiter.c,
tests/testscript.c: Turn various gcc warnings off. Adding const,
adding static, fully initializing structs, match signedness in
comparisons. (#317804)
* tests/testscript.c, tools/gen-script-for-lang.c:
(scripts_for_file): Pass error->message instead of error to fail(),
which was wrong.
(compare_lang): Fix typo comparing a and a instead of a and b.
2005-11-04 Federico Mena Quintero <federico@ximian.com>
Fixes #320665:
* pango/pangocairo-fcfont.c: Use a simple, fixed-size cache to map
gunichars to glyph indices within the font. The cache is
described in detail here:
http://primates.ximian.com/~federico/news-2005-10.html#gtkfilechooser-profile-5
(GlyphCacheEntry): new structure to hold a gunichar and a PangoGlyph.
(struct _PangoCairoFcFont): Add a char_to_glyph_cache field.
(pango_cairo_fc_font_get_glyph): Allocate the char_to_glyph_cache
if needed. We do it on demand because while many fonts will be
alive at any one time (in order to cover the whole Unicode space),
only very few of them will be actually accessed for glyph lookups.
(pango_cairo_fc_font_get_glyph): Look up the gunichar in the
cache, and replace the cache entry if necessary.
(pango_cairo_fc_font_finalize): Free the char_to_glyph_cache.
2005-11-04 Behdad Esfahbod <behdad@gnome.org>
* pango/pangocairo-fontmap.c: Use quarks for GObject data to improve
performance. (Patch from Federico Mena Quintero)
* pango/modules.c (pango_module_load), pango/querymodules.c: Pass
G_MODULE_BIND_LAZY to g_module_open. (Pointed by John Rice)
2005-11-04 Behdad Esfahbod <behdad@gnome.org>
* pango/pangofc-font.c: Use macros for locking and unlocking fonts
we know are valid to avoid redundant PANGO_IS_FC_FONT checks.
(Review by Matthias Clasen)
2005-11-03 Behdad Esfahbod <behdad@gnome.org>
* docs/tmpl/main.sgml, pango/Makefile.am, pango/pango-context.c
(itemize_state_init), pango/pango-utils.c, pango/pango-utils.h,
pango/pangox.c (itemize_string_foreach), pango/mini-fribidi/*:
Updated to FriBidi version 0.10.7 patched to handle UTF-8 directly.
Moved pango_log2vis_get_embedding_levels to pango-utils.c instead
of mini-fribidi. (#317192, review by Matthias Clasen)
2005-11-03 Behdad Esfahbod <behdad@gnome.org>
* examples/pangoft2pgm.c, renderdemo.c, renderdemo.h: Added a --runs
options, useful for profiling. Misc cleanup, freeing memory. (from
#170414)
2005-11-03 Behdad Esfahbod <behdad@gnome.org>
Patches from #170414. Reviewed by Matthias Clasen.
* pango/opentype/ftxgpos.c, pango/opentype/ftxgsub.c: Use call table
to dispatch different lookup types.
* pango/opentype/pango-ot-buffer.c, pango/opentype/pango-ot-ruleset.c:
Small cleanup.
2005-10-02 Behdad Esfahbod <behdad@gnome.org>
* pango/pango-engine.h: Add const to gchar * members of structs.
Shuts up gcc warnings. (#317676)
2005-09-09 Owen Taylor <otaylor@redhat.com>
* pango/pangocairo-render.c (pango_cairo_show_glyph_string): unset
all part colors, since when drawing just a glyph string,
prepare_run() isn't called. (#315599, Choe Hwanjin)
* pango/pango-renderer.c (pango_renderer_draw_layout_line): NULL
out renderer->priv->line_state.
2005-09-25 Behdad Esfahbod <behdad@gnome.org>
* pango/mini-fribidi/fribidi_get_type.c: Removed. Not needed since
2003 or so!
2005-09-22 Tor Lillqvist <tml@novell.com>
* pango/pangocairo-win32font.c (_pango_cairo_win32_font_new): Move
the calculation of dpi and size earlier. Use the size variable
instad of isize when looking for a matching cached font. Isize was
supposed to be the same as size anyway. (Actually it was the same
only when LOGPIXELSY equalled 96 (which often is the default
value), see below.)
* pango/pangocairo-win32fontmap.c (pango_cairo_win32_font_map_init):
Set dpi to the LOGPIXELSY value instead of hardcoding 96.
* pango/Makefile.am (libpangocairo_1_0_la_LIBADD): Need WIN32_LIBS
now.
2005-09-14 Tor Lillqvist <tml@novell.com>
* pango/pangocairo-win32font.c: Use identical glyph extents
cacheing as in pangocairo-fcfont.c. Huge performance improvement.
* README.win32: Update.
2005-09-14 Tor Lillqvist <tml@novell.com>
* pango/pangocairo-win32font.c (struct _PangoCairoWin32Font): Have
a list of metrics by language instead of just one metrics.
(pango_cairo_win32_font_get_scaled_font): Use the name cwfont
instead of cffont.
(free_metrics_info, pango_cairo_win32_font_finalize): Free the
metrics by language list.
(create_metrics_for_context): New helper function. Approximate the
character and digit widths correctly. (#314114)
(pango_cairo_win32_font_get_metrics): Use the list of metrics by
language. Call create_metrics_for_context() to measure metrics.
(_pango_cairo_win32_font_new): Keep the PangoWin32Font objects in
the PangoWin32Face::cached_fonts, like the pangowin32 backend
does.
PangoWin32Face::cached_fonts isn't really a proper cache. It's a
list with unbound length, one PangoWin32Font per size. Once there
is cacheing in cairo this can be dropped presumably? What does the
pangofc backend do? There are too many levels of cacheing going
on: we have the stuff in pangowin32-fontcache.c (unused now with
cairo), the PangoWin32FontMap::freed_fonts cache, and the
PangoWin32::cached_fonts list.
* pango/pangowin32-fontmap.c (pango_win32_fontmap_cache_remove,
pango_win32_fontmap_cache_clear): Use GQueue API instead of
manipulating pointers manually.
* pango/pangowin32-private.h
* pango/pangowin32.c: Move PangoWin32MetricsInfo to the private
header file, as also pangocairo-win32font.c uses it.
2005-09-13 Tor Lillqvist <tml@novell.com>
* modules/basic/basic-win32.c: Drop unused font_cache variable and
the call to pango_win32_font_map_for_display() used in its
initialization, which caused an extra instance of
PangoWin32FontMap to be created, and fonts enumerated an extra
time.
2005-09-12 Jean Brefort <jean.brefort@normalesup.org>
* pango/pango-attributes.c: (pango_attr_list_splice): Fixed typo
(#316054).
2005-09-11 Matthias Clasen <mclasen@redhat.com>
* pango/pangocairo-fontmap.c (free_context_info): Use g_free()
to free g_new()-allocated data, otherwise the GLib memory profiler
becomes very unhappy.
2005-09-05 Behdad Esfahbod <pango@behdad.org>
* pango/pango-layout.c (pango_layout_set_auto_dir): Fixed typo in
docs.
2005-08-29 Behdad Esfahbod <pango@behdad.org>
* pango/opentype/ottest.c, pango/opentype/disasm.c: Generate valid
XML output. Dump LookupFlag too.
2005-08-29 Behdad Esfahbod <pango@behdad.org>
* examples/cairoview.c: Set cairo font resolution.
* tests/testboundaries.c: Remove unused Hangul Jamo macros.
2005-08-29 Behdad Esfahbod <pango@behdad.org>
* examples/HELLO.utf8: Add a few Arabic non-spacing marks to the
example. Put the line with Pango in Greek-Japanese back in.
2005-08-26 Behdad Esfahbod <pango@behdad.org>
* pango/break.c: Protect against future line-break type additions in
glib Unicode module.
2005-08-25 Tor Lillqvist <tml@novell.com>
* pango/Makefile.am: Use pangocairo.def when linking libpangocairo
on Windows, instead of relying on GNU ld auto-exporting all public
symbols.
* pango/pangocairo.def: Add missing entries. (#314420, Kazuki
Iwamoto)
2005-08-24 Owen Taylor <otaylor@redhat.com>
* pango/pangocairo-render.c (draw_error_underline): convert
from Pango units to doubles, fix some coordinate space problems
that had previously been fixed in GTK+. (#313015, Luis Villa)
|