-
Notifications
You must be signed in to change notification settings - Fork 0
/
ChangeLog.pre-1-12
1748 lines (1166 loc) · 57.9 KB
/
ChangeLog.pre-1-12
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
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
2006-03-13 Behdad Esfahbod <[email protected]>
* === Released 1.12.0 ===
* configure.in: Version 1.12.0
* NEWS, README: Updated.
2006-03-03 Tor Lillqvist <[email protected]>
* pango/pangowin32-private.h (PING): Fix compilation error with
MSVC. (#333115)
2006-03-01 Tor Lillqvist <[email protected]>
* pango/pango-context.c (update_metrics_from_items): Check the
font pointer being NULL to avoid crashes for at least one class of
"bad" fonts (those without a Unicode cmap) on Win32. It would
probably be better to prune out such fonts already in the
enumeration phase. That would require opening (CreateFontIndirect)
every font, though, to be able to check with GetFontData() whether
there is a Unicode cmap. Don't know how much that would slow down
the enumeration.
2006-02-28 Tor Lillqvist <[email protected]>
* pango/pangowin32-private.h (PING)
* pango/pangowin32.c
* modules/basic/basic-win32.c: Use g_print() instead of printf()
for debugging output, to enable easy redirection using GLib
facilities. (#332855)
2006-02-26 Behdad Esfahbod <[email protected]>
* === Released 1.11.99 "Just In Case" ===
* configure.in: Version 1.11.99
* NEWS: Updated.
2006-02-26 Behdad Esfahbod <[email protected]>
* pango/pango-layout.c (pango_layout_set_text): Replace each byte in
invalid UTF-8 sequences with '?'. (bug #331995)
* examples/renderdemo.c: Don't exit on invalid UTF-8 input.
2006-02-25 Hans Breuer <[email protected]>
* pango/pangocairo-win32font.c(pango_cairo_win32_font_install):
return TRUE to glyphs rendered at all (instead of box). This may
be compiler specific (what to return w/o return) but fixes bug #332538
* pango/makefile.msc: updated
* pango/pango.def: just some sorting
2006-02-25 Behdad Esfahbod <[email protected]>
* examples/test-hebrew.txt: Added. Parts of Genesis.
* examples/Makefile.am: Adjusted.
2006-02-22 Behdad Esfahbod <[email protected]>
Bug 332167 – Void function returns value - breaks Solaris build
Reported by Damien Carbery
* pango/pangocairo-fcfont (pango_cairo_fc_font_unlock_face): Simply
return.
2006-02-21 Behdad Esfahbod <[email protected]>
* === Released 1.11.6 ===
* configure.in: Version 1.11.6
* NEWS: Updated.
2006-02-21 Behdad Esfahbod <[email protected]>
Bug 328206 – Update/remove some old files
* docs/TEXT/{coding-style,modules,questions,ligatures,western-design}:
Removed.
* HACKING: Added. Renamed from docs/TEXT/coding-style.
* Makefile.am: Add HACKING.
2006-02-21 Behdad Esfahbod <[email protected]>
Bug 314239 – pangocairo crashes when font cannot be read
* pango/pangocairo-fcfont.c, pango/pangocairo-font.c: Hack up to not
crash if we cannot create cairo_scaled_font_t for PangoFont (font is
not readable, removed, etc.)
2006-02-21 Behdad Esfahbod <[email protected]>
Bug 331723 – shapers should not crash on failures
* modules/*/*-fc.c: Return instead of g_return_if_fail when
face == NULL.
* pango/pango-engine.h (PangoEngineShape): Document that a shaper
should return an empty glyph string on failure.
2006-02-21 Behdad Esfahbod <[email protected]>
* pango/fonts.c, pango/glyphstring.c, pango/pango-fontmap.c,
pango/pango-ot-buffer.c, pango/pangocairo-font.c, pango/pangoft2.c,
pango/pangoxft-font.c, pango/shape.c: Change g_critical to g_warning.
We already handle them gracefully.
Bug 331994 – --disable-debug removes G_DISABLE_CAST_CHECKS
Patch from [email protected]
* configure.in: Do not lose PANGO_DEBUG_FLAGS when reassigning.
Bug 331995 – pango_layout_set_text optimization
Patch from [email protected]
* pango/pango-layout.c: Do not validate input text if asserts are
disabled. Moreover, do not truncate input text on invalid sequence.
Bug 331996 – avoid crashes in win32 font handling
Patch from [email protected]
* pango/pangofc-fontmap.c, pango/pangowin32-fontmap.c,
pango/pangowin32.c: if (!font) return NULL in a number of places.
2006-02-17 Behdad Esfahbod <[email protected]>
Bug 329148 – pango_glyph_item_split: assertion `split_index > 0' failed
* pango/ellipsize.c (init_state): Do not mistakenly set start_offset = 0.
2006-02-17 Behdad Esfahbod <[email protected]>
* pango/pango-types.h, pango/pango-font.h: Move PANGO_GLYPH_EMPTY,
PANGO_GLYPH_UNKNOWN_FLAG, and PANGO_GET_UNKNOWN_GLYPH from the former
to the latter, and only define if PANGO_ENABLE_ENGINE or
PANGO_ENABLE_BACKEND is set.
2006-02-15 Behdad Esfahbod <[email protected]>
Bug 331038 – pango-querymodules --help and --version
Patch from Antoine Dopffer.
* examples/renderdemo.c, pango/querymodules.c: Add --version option.
2006-02-13 Behdad Esfahbod <[email protected]>
* configure.in: Pass gnits instead of gnu to automake.
* AUTHORS: Contributors move to THANKS.
* THANKS: New file.
2006-02-13 Behdad Esfahbod <[email protected]>
* configure.in: Pass 1.6 and gnu options to automake.
* modules/Makefile.am: Distribute Module.mk.
* modules/Module.mk: Common bits for writing module Makefil.am's.
* modules/*/Makefile.am: Include Module.mk instead of copying common
bits.
2006-02-11 Behdad Esfahbod <[email protected]>
Bug 330795 – pango_renderer_draw_glyph segfaults when trying to call
the class vfunc
Opened by Torsten Schoenfeld
* pango/pango-renderer.c (pango_renderer_draw_trapezoid,
pango_renderer_draw_glyph): Bail if method is not implemented.
2006-02-11 Behdad Esfahbod <[email protected]>
* === Released 1.11.5 ===
* configure.in: Version 1.11.5
* NEWS: Updated.
2006-02-10 Tor Lillqvist <[email protected]>
Fix #135098 and #322510.
* pango/pangowin32-fontmap.c (case_insensitive_hash)
(case_insensitive_equal): New helper functions for string hashing
based on ASCII case insensitivity..
(logfont_nosize_hash): Use case_insensitive_hash().
(logfont_nosize_equal): Use case_insensitive_equal().
(pango_win32_font_map_init): Use the case-insensitive functions
for the PangoWin32FontMap::families hash table.
(pango_win32_font_map_load_font): Consequently we don't need to
lowercase the name before looking up from the hash table.
(get_family_name): Constify parameter.
(get_family_name_lowercase): Not needed any longer.
(pango_win32_font_description_from_logfont): New public
function. Code moved from pango_win32_insert_font(). Use family
name as such, don't lowercase it.
(pango_win32_insert_font): Use the above new function. Don't
bother looking for superfluos copies of the font entry as that
shouldn't ever happen. We have pruned out fonts that differ only
in charset already earlier.
* pango/pangowin32.h: Declare pango_win32_font_description_from_logfont().
* pango/pangowin32.def
* docs/pango-sections.txt: Add it here too.
2006-02-09 Behdad Esfahbod <[email protected]>
Bug 330602 – pango_parse_weight
Reported by Morten Welinder.
* pango/pango-utils.c (pango_parse_weight): Pass 10 as base to
strtol.
2006-02-09 Behdad Esfahbod <[email protected]>
Bug 314548 – pango_shape() is missing const correctness
Patch from Antoine Dopffer.
* modules/arabic/arabic-fc.c, modules/basic/basic-fc.c,
modules/basic/basic-x.c, modules/hangul/hangul-fc.c,
modules/hebrew/hebrew-fc.c, modules/indic/indic-fc.c,
modules/khmer/khmer-fc.c, modules/syriac/syriac-fc.c,
modules/thai/thai-shaper.c, modules/thai/thai-shaper.h,
modules/tibetan/tibetan-fc.c, pango/pango-context.c,
pango/pango-engine-private.h, pango/pango-engine.c,
pango/pango-engine.h, pango/pango-glyph.h pango/pango-layout.c,
pango/shape.c: Make PangoAnalysis *analysis const in all shaper
interfaces.
2006-02-08 Anders Carlsson <[email protected]>
* configure.in: Add basic-atsui to basic_modules
2006-02-08 Behdad Esfahbod <[email protected]>
Bug 330146 – pango-view --help should list available backends
Patch from Antoine Dopffer.
* examples/renderdemo.c: Show backends in --help output.
2006-02-07 Behdad Esfahbod <[email protected]>
Bug 330289 – Fix build with gcc 2.95 (pangox.c)
* pango/pangox.c (get_subfonts_foreach): Fixed.
2006-02-07 Tor Lillqvist <[email protected]>
* examples/viewer-main.c (main): Initialise GError pointer to
NULL. Use waitpid() only on Unix.
* pango-zip.sh.in: Drop the timestamp from the zipfile names.
2006-02-06 Behdad Esfahbod <[email protected]>
* === Released 1.11.4 ===
* configure.in: Version 1.11.4
* NEWS: Updated.
2006-02-06 Behdad Esfahbod <[email protected]>
As cairo 1.2 seems to be delayed infinitely, make all cairo HEAD
API that we use conditional, to make a release.
* configure.in: Depend on cairo 1.0.0 again. Check for
cairo_scaled_font_get_*() and cairo_scaled_font_text_extents()
availability.
* pango/pangocairo-font.c: Work around if the above functions are not
available.
2006-02-06 Behdad Esfahbod <[email protected]>
* pango/pango-utils.c (pango_matrix_copy, pango_matrix_free): If
NULL is passed to _copy, return NULL with no warning. If NULL is
passed to _free, do nothing with no warning. Docs updated.
* examples/viewer-pangoxft.c (render_callback): Multiply x,y by
PANGO_SCALE, as pango_xft_render_layout takes coordinates in
Pango units weirdly enough.
* viewer-pangocairo.c (render_callback): Do cairo_translate, to
draw correct bounding boxes for x,y nonzero.
* examples/renderdemo.c (do_output): If context has an all-zero matrix
set, interpret it as backend does not support transformation, so
warn on --rotate, and do not try to rotate.
* examples/viewer-pangox.c (pangox_view_get_context): Set an all-zero
matrix on context, to negotiate that we don't support transformations.
2006-02-06 Behdad Esfahbod <[email protected]>
Bug 328067 – Install pango-view
Added a rather generic framework for a pango-view example. All
backends have their own pango*-view built, and a pango-view binary
is built too, that can choose backend via --backend. This one is
installed in bindir.
* examples/Makefile.am: Updated, to build pangox-view, pangoft2-view,
pangoxft-view, pangocairo-view, and pango-view.
* examples/viewer.h, examples/viewer-x.c, examples/viewer-x.h
examples/viewer-cairo.c, examples/viewer-cairo.h,
examples/viewer-main.c, examples/viewer-pangox.c,
examples/viewer-pangoft2.c, examples/viewer-pangoxft.c,
examples/viewer-pangocairo.c, examples/pango-view.c,
examples/pango-xview.c, examples/pango-ft2view.c,
examples/pango-xftview.c, examples/pango-cairoview.c: Added.
* examples/cairoview.c, examples/xftview.c, examples/pangoft2topgm.c,
examples/viewer-qt.cc, examples/viewer-qt.h: Removed.
* configure.in: Check for Cairo Xlib backend, also AC_DEFINE various
backend bits.
2006-02-06 Behdad Esfahbod <[email protected]>
* pango/pango-fontmap.c (pango_font_map_real_load_fontset): Warn
only once per font-description that cannot be loaded.
* pango/pangox.c: Make it not crash if no font found, like other
backends.
2006-02-05 Behdad Esfahbod <[email protected]>
* configure.in: AC_DEFINE various version components.
* *.c: Change various const return types to G_CONST_RETURN.
2006-02-04 Behdad Esfahbod <[email protected]>
Bug 324408 – tab can result in 0 characters
* pango/pango-layout.c (shape_tab): Make sure there is
at least an space-width of space between tab-aligned text
and the text before it.
2006-02-04 Behdad Esfahbod <[email protected]>
Bug 329528 – implement --wrap in examples/renderdemo.c
Patch from Antoine Dopffer.
* examples/renderdemo.c: Add --wrap option.
2006-02-04 Behdad Esfahbod <[email protected]>
* pango/pango-types.h: Change PANGO_GLYPH_EMPTY to 0x0FFFFFFF, to
not overlap with PANGO_GLYPH_UNKNOWN_FLAG (0x10000000).
Define PANGO_GET_UNKNOWN_GLYPH(wc) that simply returns
wc|PANGO_GLYPH_UNKNOWN_FLAG.
* docs/pango-sections.txt, docs/tmpl/glyphs.sgml: Document new
symbols.
* modules/*/*.c: Use PANGO_GET_UNKNOWN_GLYPH instead of various
backend-specific functions.
* pango/pangofc-font.c, pango/pangoft.c, pango/pangoxft-font.c,
* pango/pangowin32.c, pango/pangox.c: Suggest using
PANGO_GET_UNKNOWN_GLYPH in docs.
* pango/pangofc-font.h: Deprecate pango_fc_font_get_unknown_glyph().
* pango/pangowin32.h: Deprecate pango_win32_get_unknown_glyph().
2006-02-04 Behdad Esfahbod <[email protected]>
* pango/pangoft2.c, pango/pangoft2-render.c: Move the
FT_IS_SFNT(font) logic into pango_ft2_get_unknown glyph.
2006-02-03 Behdad Esfahbod <[email protected]>
* configure.in: AC_DEFINE the module version, such that
pango-querymodules gets rebuilt after module version
update.
* pango/Makefile.am: Do not set -DMODULE_VERSION.
2006-02-03 Behdad Esfahbod <[email protected]>
* configure.in: Bump pango_module_version to 1.5.0.
2006-02-03 Behdad Esfahbod <[email protected]>
* Makefile.am: Distribute autogen.sh.
2006-02-02 Behdad Esfahbod <[email protected]>
Finish the 'glyph 0' work of this morning:
PANGO_GLYPH_NULL that I introduced is renamed to
PANGO_GLYPH_EMPTY. It means, no rendering should
be performed. The backends however, still return
0 if a glyph is not found. The modules then are
free to replace this 0 glyph with an unknown
character.
* modules/arabic/arabic-fc.c, modules/basic/basic-atsui.c,
modules/basic/basic-fc.c, modules/basic/basic-win32.c,
modules/basic/basic-x.c, modules/hangul/hangul-fc.c,
modules/hebrew/hebrew-fc.c, modules/indic/indic-fc.c,
modules/khmer/khmer-fc.c, modules/syriac/syriac-fc.c,
modules/thai/thai-fc.c, modules/tibetan/tibetan-fc.c,
pango/pangox.c, pango/pangowin32.c:
Adapt to above change. Backends return 0 if glyph not
found.
* pango/fonts.c (pango_font_get_glyph_extents): If font
is not usable (!PANGO_IS_FONT (font)), return the generic
UNKNOWN_GLYPH metrics. This is used when your backends
are misconfigured and you don't find *any* font at all.
* pango/pango-engince.c: Add unknown glyphs in fallback
shaper, instead of empty glyphs.
* pango/shape.c: Call the fall-back shaper if shaper
fails, instead of generating a dummy glyph string ourselves.
* pango/pango-layout.c (imposed_shape, shape_tab): Use
PANGO_GLYPH_EMPTY instead of glyph 0.
* pango/pango-renderer.c (pango_renderer_draw_glyph): No-op on
PANGO_GLYPH_EMPTY instead of glyph 0.
* pango/pangocairo-atsuifont.c, pango/pangocairo-win32font.c,
pango/pangocairo-fcfont.c, pango/pangocairo-font.c,
pango/pangocairo-private.h: install_font returns a boolean now.
* pango/pangocairo-render.c, pango/pangoxft-render.c: Handle font
and hex-box failures more gracefully by drawing a generic
unknown-box glyph.
* pango/pangoft2.c, pango/pangoft2-render.c: Draw the generic
unknown-box glyph here too. For unknown glyphs though, if
the font is TTF (FT_IS_SFNT), use the zero-indexed glyph,
otherwise, draw a box of proper size.
2006-02-02 Behdad Esfahbod <[email protected]>
* pango/pangoft2.c: Do unknown glyph extents here too.
2006-02-02 Behdad Esfahbod <[email protected]>
* pango/pangoxft-font.c, pango/pangoxft-render.c: Guard Xft
backend agains crashes too.
2006-02-02 Behdad Esfahbod <[email protected]>
* modules/arabic/arabic-fc.c, modules/basic/basic-atsui.c,
modules/basic/basic-fc.c, modules/basic/basic-win32.c,
modules/basic/basic-x.c, modules/hangul/hangul-fc.c,
modules/hebrew/hebrew-fc.c, modules/indic/indic-fc.c,
modules/khmer/khmer-fc.c, modules/syriac/syriac-fc.c,
modules/thai/thai-fc.c, modules/tibetan/tibetan-fc.c,
pango/fonts.c, pango/pango-engine-private.h pango/pango-types.h,
pango/pangocairo-fcfont.c, pango/pangocairo-font.c,
pango/pangocairo-private.h, pango/pangocairo-render.c,
pango/pangofc-decoder.c, pango/pangofc-font.c,
pango/pangoft2-render.c, pango/pangoft2.c pango/pangowin32.c,
pango/pangox.c, pango/pangoxft-font.c pango/pangoxft-private.h,
pango/pangoxft-render.c, pango/shape.c: Use PANGO_GLYPH_NULL for
when no glyph should be drawn. Use PANGO_GLYPH_UNKNOWN_FLAG for
all backends to mark unknown flags. There's no need for
pango_font_get_unknown_glyph() anymore, since all backends know
how to handle PANGO_GLYPH_UNKNOWN_FLAG gracefully. We may add
that in the future however. (fixes bug #73147, closes bug #329524)
2006-02-02 Behdad Esfahbod <[email protected]>
* pango/pango-utils.c (read_config_file): Fix GKeyFile transition.
2006-02-01 Behdad Esfahbod <[email protected]>
* configure.in: AC_DEFINE (HAVE_CAIRO_PNG).
* examples/cairoview.c: Save to PNG if cairo has PNG support and
--output is given.
2006-02-01 Behdad Esfahbod <[email protected]>
* pango/pangocairo-font.c: For mini_font, set family to "monospace",
not "mono-space" which didn't work!
2006-02-01 Behdad Esfahbod <[email protected]>
* examples/xftview.c: Add a default_substitute function to set
correct dpi on the pattern.
2006-02-01 Behdad Esfahbod <[email protected]>
* examples/viewer-x.c, examples/viewer-x.h: Driver for X-based
viewer. Used by pangocairo-view and pangoxft-view currently.
* examples/Makefile.am, examples/cairoview.c, examples/xftview.c,
examples/pangoft2topgm.c, examples/renderdemo.h,
examples/renderdemo.c: Adjust to the above change.
2006-02-01 Behdad Esfahbod <[email protected]>
* examples/viewer.c: Removed.
2006-02-01 Behdad Esfahbod <[email protected]>
* pango/pango-utils.c, pango/pangocairo-font.c: Initialize warning
history structs more explicitly. (bug #329459)
2006-01-31 Behdad Esfahbod <[email protected]>
* examples/syriac.utf, examples/tibetan.utf, examples/muru.utf,
examples/dev-example.utf: Removed/renamed.
* examples/test-arabic.txt, examples/test-devanagari.txt,
examples/test-ipa.txt, test-syriac.txt, test-tamil.txt,
test-tibetan.txt: Added.
* examples/Makefie.am: Change pango-cairoview, pango-xftview,
pangoft2topgm to pangocairo-view, pangoxft-view, and pangoft2-topgm
respectively.
2006-01-31 Behdad Esfahbod <[email protected]>
* pango/pangocairo-font.c (_pango_cairo_get_hex_box_info): Use
cairo_scaled_font_text_extents instead of cairo_text_extents.
2006-01-31 Behdad Esfahbod <[email protected]>
* configure.in: Require cairo >= 1.1.1.
2006-01-31 Behdad Esfahbod <[email protected]>
* pango/pangocairo-private.h, pango/pangocairo-font.c,
pango/pangocairo-render.c: Hint hexbox. Also draw a single-row
hexbox for very small sizes.
2006-01-31 Behdad Esfahbod <[email protected]>
Bug 328313 – Use GKeyFile for parsing pangorc
Patch from Antoine Dopffer.
* pango/pango-utils.c (read_config_file): Use GKeyFile to parse
config file.
2006-01-31 Behdad Esfahbod <[email protected]>
* pango/fonts.c, pango/glyphstring.c pango/pango-attributes.c,
pango/pango-color.c, pango/pango-context.c,
pango/pango-coverage.c, pango/pango-fontset.c,
pango/pango-glyph-item.c, pango/pango-item.c,
pango/pango-layout.c, pango/pango-ot-buffer.c,
pango/pango-ot-info.c, pango/pango-ot-ruleset.c,
pango/pango-script.c, pango/pango-tabs.c pango/pango-utils.c,
pango/pangocairo-fcfontmap.c, pango/pangocairo-fontmap.c,
pango/pangox-fontcache.c, pango/pangoxft-render.c:
Improve documentation for functions allocating memory,
on how the object should be freed.
2006-01-30 Behdad Esfahbod <[email protected]>
* === Released 1.11.3 ===
* configure.in: Version 1.11.3
* NEWS: Updated.
2006-01-30 Behdad Esfahbod <[email protected]>
* pango/shape.c (pango_shape):
* pango/fonts.c (pango_font_get_glyph_extents):
* pango/pangocairo-font.c (_pango_cairo_font_install):
Improve error handling in high-frequency functions: Only warn
once.
* pango-impl-utils.h, pangoutils.h:
* pangocairo-private.h, pangocairo-font.c:
Add machinery for above: _pango_warning_history and
_pango_cairo_warning_history.
2006-01-30 Behdad Esfahbod <[email protected]>
Bug 328314 – Examples should use GOption instead of argcontext.c
Patch from Antoine Dopffer.
* examples/renderdemo.c: Use GOption for parsing cmd-line
options.
* examples/argcontext.c, examples/argcontext.h: Removed.
2006-01-30 Behdad Esfahbod <[email protected]>
* pango/opentype/ftxgsub.c: Handle GSUB Lookup type 8,
and ReverseChainContextualSubst table. (bug #149696,
patch from Aamir Wali)
2006-01-29 Behdad Esfahbod <[email protected]>
* modules/arabic/arabic-fc.c, modules/basic/basic-fc.c,
modules/hebrew/hebrew-fc.c, modules/indic/indic-fc.c,
modules/khmer/khmer-fc.c, modules/syriac/syriac-fc.c,
modules/thai/thai-ot.c, modules/thai/thai-shaper.c,
modules/tibetan/tibetan-fc.c: If locking font face failed,
do not assert, just return zero glyphs with an implicit
warning.
* pango/fonts.c, pango/glyphstring.c pango/modules.c,
pango/pango-color.c, pango/pango-context.c,
pango/pango-coverage.c, pango/pango-fontmap.c,
pango/pango-glyph-item.c, pango/pango-item.c,
pango/pango-layout.c, pango/pango-markup.c,
pango/pango-ot-buffer.c, pango/pango-script.c,
pango/pango-tabs.c, pango/pango-utils.c,
pango/pangoatsui-fontmap.c, pango/pangocairo-fcfont.c,
pango/pangocairo-fcfontmap.c, pango/pangocairo-fontmap.c,
pango/pangocairo-win32font.c, pango/pangofc-font.c,
pango/pangofc-fontmap.c, pango/pangoft2-fontmap.c,
pango/pangoft2-render.c, pango/pangoft2.c,
pango/pangowin32-fontcache.c, pango/pangoxft-font.c,
pango/pangoxft-render.c, pango/break.c pango/ellipsize.c:
Use g_slice for allocating all types. Also, change some
g_error's to g_critical's...
2006-01-29 Behdad Esfahbod <[email protected]>
Do not crash if the (win32 typically) shaper fails. Bug #304702:
* pango/pango-engine.c (_pango_engine_shape_shape): Set num_glyphs to
zero if failing.
* pango/pango-shape.c (pango_shape): Instead of crashing if the shaper
failed to produce any glyphs, print out a warning message containing
the name of the font, and mark the font such that we don't keep
printing warning for the same font. Moreover, inject one whitespace
glyph per character, so you just see nothing, but everything works
otherwise.
2006-01-28 Behdad Esfahbod <[email protected]>
* .cvsusers: Removed.
2006-01-28 Behdad Esfahbod <[email protected]>
* doc/tmpl/opentype.sgml: Document PangoOTBuffer and PangoOTGlyph.
* pango/pango-ot-buffer.c, pango/pango-ot-info.c,
pango/pango-ot-ruleset.c: Document remaining symbols.
2006-01-28 Behdad Esfahbod <[email protected]>
* pango/opentype/pango-ot-*: Removed.
* pango/pango-ot-*: Added.
* pango/Makefile.am, pango/opentype/Makefile.am, doc/Makefile.am:
Adjusted.
2006-01-28 Behdad Esfahbod <[email protected]>
* pango/pangofc-font.h, pango/pangoft2-render.c, pango/pangowin32.c,
pango/pangoxft-render.c, docs/tmpl/xft-fonts.sgml,
docs/tmp/atsui-fonts.sgml: Documentation improvements.
2006-01-28 Behdad Esfahbod <[email protected]>
* configure.in: Use AC_HELP_STRING everywhere. Bump required version
to 2.56.
* doc/tmpl/pango-renderer.sgml (PANGO_TYPE_RENDER_PART): Document it.
2006-01-27 Behdad Esfahbod <[email protected]>
* modules/Makefile.am: Remove pango.modules on uninstall. (bug #328869)
* pango/pango-fontmap.c, pango/pangocairo-*font.c: Better error
messages.
2006-01-26 Behdad Esfahbod <[email protected]>
* pango/pangoatsui-fontmap.c: #include <modules.h>. (bug #328632)
2006-01-26 Behdad Esfahbod <[email protected]>
* pango/modules.h, pango/Makefile.am: Fix more ATSUI stuff in build
infrastructure. Sigh... (bug #328632)
2006-01-25 Behdad Esfahbod <[email protected]>
* configure.in: If major.minor of required and available glib versions
are the same, add -DG_DISABLE_DEPRECATED to GLIB_CFLAGS. (bug #328617)
* */Makefile.am: Remove hardcoded -DG_DISABLE_DEPRECATED.
2006-01-25 Behdad Esfahbod <[email protected]>
* pango/pangoatsui-fontmap.c (pango_atsui_family_class_init): Declare
int i! (bug #328632)
2006-01-24 Behdad Esfahbod <[email protected]>
* pango/pangolayout.c (pango_layout_get_width): Improve docs to say
it may return -1.
2006-01-24 Behdad Esfahbod <[email protected]>
* pango/pangocairo-atsuifont.c: Change cwfont to cafont in a couple
places.
2006-01-24 Behdad Esfahbod <[email protected]>
* modules/indic/pango-indic-script.h: Removed, not used for quite a
while.
2006-01-24 Behdad Esfahbod <[email protected]>
* examples/pangoft2.aliases: Removed based on an old ChangeLog entry
saying: Remove pangoft2.aliases from CVS/distribution; it is
no longer used. (#82736, Sven Neumann.)
2006-01-23 Behdad Esfahbod <[email protected]>
Make tests/examples do use generated pango.modules. (bug #328291)
* examples/pangorc, tests/pangorc: Removed. Moved to modules/.
* examples/pangox.aliases: Removed. Moved to pango/.
* examples/Makefile.am, tests/Makefile.am: Remove pango.modules
creation stuff, copy pangorc from $(srcdir)/../modules/pangorc
insteadd.
* examples/renderdemo.c: Add --pangorc option, default to ./pangorc.
Setenv PANGO_RC_FILE to whatever pangorc file decided.
* tests/*.c: Setenv PANGO_RC_FILE to ./pangorc.
* pango/pangox.aliases: Added.
* pango/Makefile.am: Install pangox.aliases.
* modules/pangorc: Added.
* modules/Makefile.am: Create pango.modules. Added pangorc.
* modules/.cvsignore, examples/.cvsignore, tests/.cvsignore: Updated.
2006-01-23 Behdad Esfahbod <[email protected]>
* modules/basic/basic-fc.c: Set cluster only on base chars, like the
Arabic module does.
* modules/indic/indic-fc.c: Draw an unknown glyph on missing glyphs,
like other modules do. (part of bug #326960, LingNing Zhang)
2006-01-22 Behdad Esfahbod <[email protected]>
* docs/TEXT/coding-style: Added "Since:" in the doc example.
2006-01-22 Behdad Esfahbod <[email protected]>
* TODO: Removed old file. Filed some bugs out of it.
* TODO.xml: Removed old file. Filed some bugs out of it.
* Makefile.am (EXTRA_DIST): Removed TODO.xml.
2006-01-21 Behdad Esfahbod <[email protected]>
* MAINTAINERS: Added.
* AUTHORS: Added myself to contributors.
* Makefile.am: Added MAINTAINERS to EXTRA_DIST.
2006-01-21 Behdad Esfahbod <[email protected]>
* pango/pangocairo-fontmap.c (pango_cairo_context_get_font_options):
Fix typo in docs.
2006-01-21 Behdad Esfahbod <[email protected]>
* pango/pango-utils.c (pango_matrix_get_font_scale_factor): Fix docs.
2006-01-21 Behdad Esfahbod <[email protected]>
* pango/pango-types.h, pango/pango-utils.c
(pango_matrix_get_font_scale_factor): Make matrix parameter const.
* pango/fonts.c, pango/pango-context.c, pango/pango-coverage.c,
pango/pango-fontset.c, pango/pango-layout.c, pango/pango-renderer.c,
pango/pango-types.h, pango/pango-utils.c,
pango/pangocairo-atsuifont.c, pango/pangofc-font.c,
pango/pangoft2-fontmap.c, pango/pangowin32-fontmap.c,
pango/pangowin32.c, pango/pangox-fontmap.c, pango/pangoxft-font.c:
Replace "Returns:" with "Return value:" in docs.
2006-01-21 Behdad Esfahbod <[email protected]>
Finish ATSUI module work. Bug #322022, Matthias Clasen.
* docs/tmpl/atsui-fonts.sgml: Added.
* docs/pango-docs.sgml: Updated to reflect above change.
* docs/pango-sections.txt: Updated to reflect above change and
also document Standard ATSUI symbols.
* pango/pangocairo-atsuifont.c
(pango_cairo_atsui_font_get_atsu_font_id): Add docs.
* pango/pangoatsui-fontmap.c: Register included ATSUI modules.
2006-01-20 Behdad Esfahbod <[email protected]>
* examples/cairosimple.c: Small fixes.
2006-01-20 Behdad Esfahbod <[email protected]>
* pango/pangocairo-font.c (_pango_cairo_get_hex_box_info): Add a
comment about using cairo_scaled_font_text_extents instead of
cairo_text_extents.
2006-01-16 Behdad Esfahbod <[email protected]>
* === Released 1.11.2 ===
* configure.in: Version 1.11.2
* NEWS: Updated.
2006-01-16 Behdad Esfahbod <[email protected]>
* pango/Makefile.am: Move GLIB_CFLAGS before external libraries'
CFLAGS. Some formatting changes too.
2006-01-16 Behdad Esfahbod <[email protected]>
* docs/Makefile.am, examples/Makefile.am, pango/Makefile.am,
tests/Makefile.am: Adjust the order of *_CFLAGS to the same order
known to work. (Fixes bug #325588)
2006-01-16 Behdad Esfahbod <[email protected]>
Fixes bug #314675, Brian Cameron.
* configure.in: Handle uninstalled cairo.
* pangocairo-uninstalled.pc.in: Fix typo: libpangoxft->libpangocairo.
2006-01-16 Behdad Esfahbod <[email protected]>
* modules/indic/mprefixups.c (indic_mprefixups_apply): Remove unused
variable clusterSave that was leaking too. (bug #316466, Steve Grubbs)
2006-01-16 Behdad Esfahbod <[email protected]>
Fixes bug #71414, allowing to disable building/installing modules.
* configure.in: Add support for --with-dynamic-modules.
* */Makefile.am: Adapt to the above change.
2006-01-14 Behdad Esfahbod <[email protected]>
Draw hexbox for cairo backend. Bug #313551. Based on patch by
LingNing Zhang.
* pango/pangocairo-private.h (_PangoCairoFontIface): Add new methods:
get_font_face and get_scaled_font, and getters:
_pango_cairo_font_get_font_face, _pango_cairo_font_get_scaled_font.
* pango/pangocairo-private.h: Add _PangoCairoHexBoxInfo, and getter
_pango_cairo_get_hex_box_info, and
_pango_cairo_get_glyph_extents_missing.
* pango/pangocairo-fcfont.c, pango/pangocairo-atsuifont.c,
* pango/pangocairo-win32font.c: Export get_font_face and
get_scaled_font methods.
* pango/pangocairo-fcfont.c: Use _pango_cairo_get_glyph_extents_missing
on missing glyphs.
* pango/pangocairo-font.c: Implement _pango_cairo_font_get_font_face,
_pango_cairo_font_get_scaled_font, _pango_cairo_get_hex_box_info, and
_pango_cairo_get_glyph_extents_missing.
* pango/pangocairo-render.c (_pango_cairo_renderer_draw_unknown_glyph):
Added.
* pango/pangocairo-render.c (pango_cairo_renderer_draw_glyphs):
Cleaned up to use the added function above.
2006-01-14 Behdad Esfahbod <[email protected]>
* */*.c, */*/*.c: Make sure #include <config.h> is the first include
in the file. (bug #158870, based on patch by Luis Menina)
2006-01-14 Behdad Esfahbod <[email protected]>
* pango/pango-utils.h (pango_is_zero_width): Move G_GNUC_CONST to
after declaration, to be compatible with gcc 2.95. (bug #326847)
2006-01-05 Behdad Esfahbod <[email protected]>
* pango/Makefile.am,
* pango/fonts.c,
* pango/glyphstring.c,
* pango/pango-attributes.c,
* pango/pango-color.c,
* pango/pango-impl-utils.h,
* pango/pango-item.c,
* pango/pango-layout.c,
* pango/pango-tabs.c,
* pango/pango-utils.c,
* pango/pango-utils.h,
* pango/pangoatsui-fontmap.c,
* pango/pangocairo-font.c,
* pango/pangocairo-fontmap.c,
* pango/pangofc-fontmap.c,
* pango/pangowin32-fontmap.c,
* pango/pangox-fontmap.c,
* pango/pangox.c,
* pango/opentype/pango-ot-info.c,
* pango/opentype/pango-ot-ruleset.c: Intern strings to avoid
unnecessary strdups in the type system. (bug #325832, Matthias Clasen)
2006-01-04 Behdad Esfahbod <[email protected]>
* docs/Makefile.am (IGNORE_HFILES): Add pangocairo-atsui.h and
pangoatsui-private.h.
* docs/pango-sections.txt: Add pango_matrix_get_font_scale_factor and
pango_layout_index_to_line_x that were missing.
* docs/tmpl/glyphs.sgml: Add pango_matrix_get_font_scale_factor where
other pango_matrix functions reside.
* docs/tmpl/layout.sgml: Add pango_layout_index_to_line_x.
2006-01-04 Behdad Esfahbod <[email protected]>
* pango/pango-context.c: Use g_slice for ShaperFontElement
allocation. (bug #325728, Matthias Clasen)
2006-01-01 Behdad Esfahbod <[email protected]>
* pango/pango-attributes.c: Use g_slice for various attribute types
allocations. (bug #325040, Matthias Clasen)
2005-12-27 Behdad Esfahbod <[email protected]>
* pango/pango-context.c (pango_context_init): Use
pango_font_description_set_family_static. (bug #325013, Matthias
Clasen)
2005-12-27 Behdad Esfahbod <[email protected]>
* pango/opentype/pango-ot-buffer.c: Use g_slice for PangoOTBuffer
allocation. (bug #325026, Matthias Clasen)
2005-12-26 Behdad Esfahbod <[email protected]>
* modules/arabic/arabic-fc.c,
* modules/basic/basic-fc.c,
* modules/hebrew/hebrew-fc.c,
* modules/syriac/syriac-fc.c: Use pango_is_zero_width() to not draw
zero-width characters in the OpenType shapers. (Fixes bug #324621)
2005-12-14 Behdad Esfahbod <[email protected]>
* pango/pango.def: Add pango_matrix_get_font_scale_factor. (bug
#323978, J. Ali Harlow)
2005-12-14 Behdad Esfahbod <[email protected]>
* pango/modules.c (pango_module_load), pango/querymodules.c: Pass
G_MODULE_BIND_LOCAL to g_module_open. (Pointed by Federico)
2005-12-12 Behdad Esfahbod <[email protected]>
* === Released 1.11.1 ===
* configure.in: Version 1.11.1
* NEWS: Updated.
2005-12-12 Behdad Esfahbod <[email protected]>
* pango/Makefile.am: Handle module-defs-atsui.c.
2005-12-12 Behdad Esfahbod <[email protected]>