-
Notifications
You must be signed in to change notification settings - Fork 0
/
ChangeLog.pre-1-23
1858 lines (1296 loc) · 58.9 KB
/
ChangeLog.pre-1-23
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
2009-02-03 Behdad Esfahbod <[email protected]>
* === Released 1.23.0 ===
* configure.in: Version 1.23.0
* NEWS: Updated.
2009-02-03 Behdad Esfahbod <[email protected]>
* pango/Makefile.am: Comment out gobject-introspection for now,
to get a release out.
2009-02-02 Behdad Esfahbod <[email protected]>
* configure.in: Fix conditional.
2009-02-01 Behdad Esfahbod <[email protected]>
* pango/pangocairo-fcfont.c (pango_cairo_fc_font_class_init):
Don't do anything in shutdown. Was causing double-free of cairo
font private data.
2009-01-31 Behdad Esfahbod <[email protected]>
* pango/opentype/harfbuzz-gpos.c (Load_Mark2Array),
(Free_Mark2Array):
Allocate all array rows in a single ALLOC call. Saves over 100
alloc calls when loading DejaVu Sans,
2009-01-31 Behdad Esfahbod <[email protected]>
* pango/pangofc-fontmap.c (pango_fc_face_describe),
(pango_fc_face_list_sizes), (pango_fc_family_list_faces):
It's not a programming error if face->family is NULL or
family->fontmap is NULL. Be graceful.
2009-01-30 Behdad Esfahbod <[email protected]>
Bug 569763 – pango doesn't like font descriptions without family!
* pango/pangofc-fontmap.c (pango_fc_make_pattern): Don't crash is desc
doesn't have family set.
2009-01-29 Behdad Esfahbod <[email protected]>
* pango-view/viewer-render.c (make_layout), (get_options_string):
Remove default font family and size. This means default size is not
12 IIRC, not 18 as it was.
2009-01-29 Behdad Esfahbod <[email protected]>
* pango/opentype/harfbuzz-open.h:
* pango/opentype/harfbuzz-gdef.c (Make_ClassRange),
(HB_GDEF_Build_ClassDefinition):
* pango/opentype/harfbuzz-gpos.c (Load_PosClassRule),
(Load_ChainPosClassRule):
* pango/opentype/harfbuzz-gsub.c (Load_SubClassRule),
(Load_ChainSubClassRule):
* pango/opentype/harfbuzz-open.c (Load_ClassDef1),
(Load_ClassDef2), (_HB_OPEN_Load_ClassDefinition),
(_HB_OPEN_Load_EmptyClassDefinition),
(_HB_OPEN_Free_ClassDefinition):
Remove ClassDef->Defined field. This is the comment accompanying it:
The `Defined' field is not defined in the OpenType specification
but apparently needed for processing fonts like trado.ttf: This
font refers to a class which contains not a single element. We
map such classes to class 0.
The comment is correct that trado.ttf (MS Traditional Arabic) uses
such classes. However, in my testing I couldn't identify any
problems with the font if the special handling is removed. I also
processed as many fonts as I could get my hand on and trado.ttf was
the only not-totally-broken font hitting the special-case code.
DejaVu fonts hit it too, but I'm sure they do not require the
special-handling code. Most probably, that code introduces bugs
in them.
The special-casing was consuming lots of memory. EIGHT MEGABYTES
for loading DejaVu Sans! While this could be complete fixed, I
decided to remove the special-handling code altogether. I don't
think it will make any real difference, and if it does, we'll fix
fonts. Such hacks will not be in harfbuzz-ng anyway.
Bug originally reported by nsf.
2009-01-29 Behdad Esfahbod <[email protected]>
* pango/opentype/harfbuzz-impl.c (_hb_alloc): Use calloc(),
instead of malloc()ing and memset()ing.
2009-01-29 Behdad Esfahbod <[email protected]>
* pango/opentype/harfbuzz-dump-main.c (main): Remove old cruft.
2009-01-29 Behdad Esfahbod <[email protected]>
* pango/pangofc-fontmap.c (pango_fc_font_map_fini),
(pango_fc_font_map_shutdown): Don't disassociate family from fontmap
during cache_clear().
2009-01-29 Behdad Esfahbod <[email protected]>
* pango/opentype/harfbuzz-gpos.c (Load_BaseArray), (Free_BaseArray):
Allocate all array rows in a single ALLOC call. Saves over 2000
alloc calls when loading DejaVu Sans!
2009-01-28 Behdad Esfahbod <[email protected]>
Bug 560792 – Make PangoLayoutLine with line->layout==NULL renderable
* pango/pango-renderer.c (pango_renderer_draw_layout_line),
(pango_renderer_draw_glyph_item), (pango_renderer_set_matrix):
Handle line->layout == NULL.
2009-01-28 Behdad Esfahbod <[email protected]>
Bug 567392 – Abiword crashes in pango when opening document with
certain locales
* pango/pango-ot-info.c (pango_ot_info_find_language),
(pango_ot_info_find_feature), (pango_ot_info_list_languages),
(pango_ot_info_list_features): Protect against more broken fonts.
2009-01-28 Behdad Esfahbod <[email protected]>
* configure.in: Bump version to 1.23.0. Not releasing yet.
2009-01-27 Behdad Esfahbod <[email protected]>
Bug 566727 – PangoFontsetLazy
* pango/pangofc-fontmap.c: Rework caching.
Cache FcFontSort results separately from PangoFontset's.
Add PangoFcFontset which is lazy and does not create fonts until it
really needs to.
Use FcFontMatch() and only do FcFontSort() if fallback fonts are
needed.
2009-01-16 Behdad Esfahbod <[email protected]>
* docs/pango-sections.txt:
* docs/tmpl/pangofc-fontmap.sgml:
* pango/pangocairo-fcfontmap.c
(pango_cairo_fc_font_map_fontset_key_substitute),
(pango_cairo_fc_font_map_class_init):
* pango/pangofc-font.c (_pango_fc_font_get_font_key),
(_pango_fc_font_set_font_key):
* pango/pangofc-fontmap.c (pango_fc_fontset_key_equal),
(pango_fc_fontset_key_hash), (pango_fc_fontset_key_free),
(pango_fc_fontset_key_copy), (pango_fc_fontset_key_get_language),
(pango_fc_fontset_key_get_description),
(pango_fc_fontset_key_get_matrix),
(pango_fc_fontset_key_get_absolute_size),
(pango_fc_fontset_key_get_resolution),
(pango_fc_fontset_key_get_context_key), (pango_fc_font_key_hash),
(pango_fc_font_map_init), (_pango_fc_font_map_remove),
(pango_fc_make_pattern), (pango_fc_font_map_new_font),
(pango_fc_default_substitute), (pango_fc_fontset_key_make_pattern),
(pango_fc_font_map_get_patterns):
* pango/pangofc-fontmap.h:
Use new type PangoFcFontset for pattern substitution.
2009-01-09 Behdad Esfahbod <[email protected]>
Bug 567165 – Apply all pattern matrices
* pango/pangocairo-fcfont.c (_pango_cairo_fc_font_new):
* pango/pangofc-fontmap.c (pango_fc_font_map_new_font):
Apply all FC_MATRIX values, not just the first one. Fixes synthetic
italic rotated text with ft2 and xft backends. Can't believe no one
ever noticed that they are broken...
2009-01-09 Behdad Esfahbod <[email protected]>
* docs/Makefile.am:
* docs/pango.types:
Autogenerage pango.types. Remove it from repository, but dist it.
2009-01-09 Behdad Esfahbod <[email protected]>
* docs/pango-sections.txt:
* docs/tmpl/pangofc-fontmap.sgml:
* docs/tmpl/text-attributes.sgml:
* pango/pangocairo-fc.h:
* pango/pangocairo-fcfont.c (get_font_size), (get_gravity_class),
(get_gravity), (_pango_cairo_fc_font_new):
* pango/pangocairo-fcfontmap.c
(pango_cairo_fc_font_map_font_key_substitute),
(pango_cairo_fc_font_map_create_font),
(pango_cairo_fc_font_map_class_init):
* pango/pangofc-font.c (_pango_fc_font_get_font_key),
(_pango_fc_font_set_font_key):
* pango/pangofc-fontmap.c (pango_fc_font_key_equal),
(pango_fc_font_key_hash), (pango_fc_font_key_free),
(pango_fc_font_key_copy), (get_context_matrix),
(pango_fc_font_key_init), (pango_fc_font_key_get_pattern),
(pango_fc_font_key_get_matrix),
(pango_fc_font_key_get_context_key), (pango_fc_font_map_init),
(pango_fc_font_map_class_init), (pango_fc_font_map_add),
(_pango_fc_font_map_remove), (pango_fc_make_pattern),
(pango_fc_font_map_new_font), (pango_fc_default_substitute),
(pango_fc_font_map_get_patterns), (pango_fc_font_map_load_fontset):
* pango/pangofc-fontmap.h:
* pango/pangofc-private.h:
Change PangoFc font loading API such that PangoContext is not passed
down. We use a new opaque struct called PangoFcFontKey. This struct
is in fact our font hash key. This avoids problems where previously
we were using context members that were not necessarily considered
by the pangofc layer when caching.
This is in preparation for lazy loading of fonts in the pangofc fontmap.
2009-01-09 Behdad Esfahbod <[email protected]>
* pango/pangocairo-atsuifont.c (_pango_cairo_atsui_font_new):
* pango/pangocairo-fcfont.c (_pango_cairo_fc_font_new):
* pango/pangocairo-font.c (_pango_cairo_font_private_initialize):
* pango/pangocairo-private.h:
* pango/pangocairo-win32font.c (_pango_cairo_win32_font_new):
Remove desc argument from _pango_cairo_font_private_initialize().
Replace it with gravity, the only thing from desc we actually needed.
This is in preparation for lazy loading of fonts in the pangofc fontmap.
2009-01-09 Behdad Esfahbod <[email protected]>
* pango/pangofc-fontmap.c (font_hash_key_equal):
Avoid context key comparison if any of the keys is NULL.
2009-01-09 Behdad Esfahbod <[email protected]>
* pango/pangocairo-atsuifont.c (_pango_cairo_atsui_font_new):
* pango/pangocairo-fcfont.c (_pango_cairo_fc_font_new):
* pango/pangocairo-font.c (_pango_cairo_font_private_initialize):
* pango/pangocairo-private.h:
* pango/pangocairo-win32font.c (_pango_cairo_win32_font_new):
Remove context argument from _pango_cairo_font_private_initialize().
Replace it with pango_ctm and font_options, the only things from
context we actually needed. This is in preparation for lazy loading
of fonts in the pangofc fontmap.
2009-01-20 Johan Dahlin <[email protected]>
Bug 567934 – Add introspection support inside pango
* configure.in:
* pango/Makefile.am:
* pango/pango-attributes.c:
* pango/pango-layout.c:
2009-01-08 Behdad Esfahbod <[email protected]>
* pango/pangofc-fontmap.c (pango_fc_font_map_get_patterns):
Protect against a NULL context.
2009-01-08 Behdad Esfahbod <[email protected]>
* pango/pango-context.c (itemize_state_process_run):
Improve warning message.
2009-01-08 Behdad Esfahbod <[email protected]>
Bug 549532 – Correction to the sample string for Hindi in
pango-language-sample-table.h
* pango/pango-language-sample-table.h:
Improve Hindi sample text.
2009-01-07 Behdad Esfahbod <[email protected]>
Bug 566726 – Minor optimization
* pango/pango-context.c (get_shaper_and_font):
Don't walk the fontset if there are no engines.
2009-01-07 Behdad Esfahbod <[email protected]>
Bug 566941 – Add PANGO_ATTRIBUTE_INDEX_FROM_TEXT_BEGINNING and
PANGO_ATTRIBUTE_INDEX_TO_TEXT_END
* docs/pango-sections.txt:
* docs/tmpl/text-attributes.sgml:
* pango/pango-attributes.c (pango_attribute_init):
* pango/pango-attributes.h:
Add two new public macros:
PANGO_ATTRIBUTE_INDEX_FROM_TEXT_BEGINNING
PANGO_ATTRIBUTE_INDEX_TO_TEXT_END
2009-01-06 Behdad Esfahbod <[email protected]>
Bug 551469 – Fold '@' to '-' when parsing PangoLanguages
* pango/pango-language.c: Fold '@' to '-' when parsing PangoLanguages.
2009-01-06 Behdad Esfahbod <[email protected]>
Bug 328206 – Update/remove some old files
* docs/Makefile.am:
* docs/TEXT/glossary:
Remove some old files.
2009-01-06 Behdad Esfahbod <[email protected]>
Bug 328206 – Update/remove some old files
* tools/Makefile.am:
* tools/add-copyright:
* tools/compress-table.pl:
* tools/maps/README:
* tools/maps/tis-620:
Remove some old files.
2009-01-06 Behdad Esfahbod <[email protected]>
* tools/Makefile.am:
* tools/gen-script-for-lang.c:
* tools/gen-script-for-lang-new.c:
Remove the old gen-script-for-lang tool, rename the new one to it.
2009-01-06 Behdad Esfahbod <[email protected]>
Bug 166709 – Handle font variants more consistently
* configure.in: Require fontconfig >= 2.5.0
* pango/fonts.c: Parse "Roman" as style=normal instead of
weight=normal. Doesn't make much difference in reality.
* pango/pangofc-fontmap.c (pango_fc_convert_weight_to_fc),
(pango_fc_convert_weight_to_pango): Update to reflect newly
added weights.
2009-01-06 Behdad Esfahbod <[email protected]>
Bug 166709 – Handle font variants more consistently
* pango/pango-font.h:
Add enum values PANGO_WEIGHT_BOOK and PANGO_WEIGHT_ULTRAHEAVY.
* pango/fonts.c:
* docs/tmpl/fonts.sgml:
Add new weights with their aliases, as well as aliasing "Roman" to the
normal weight.
2009-01-06 Behdad Esfahbod <[email protected]>
* pango/fonts.c (pango_font_description_to_filename):
Make it Unicode safe.
2009-01-06 Behdad Esfahbod <[email protected]>
* pango/fonts.c (find_field), (parse_field), (pango_parse_style),
(pango_parse_variant), (pango_parse_weight), (pango_parse_stretch):
Move the parse_*() functions in fonts.c and have them share tables
with pango_font_description_to/from_string().
* pango/pango-utils.c (parse_int), (pango_parse_enum):
Accept integers in pango_parse_enum().
2009-01-06 Behdad Esfahbod <[email protected]>
Bug 166676 – pango_fc_font_map_finalize
* pango/pangofc-fontmap.c (pango_fc_font_map_finalize),
(pango_fc_face_describe), (pango_fc_face_list_sizes),
(pango_fc_face_finalize), (pango_fc_face_class_init),
(pango_fc_family_list_faces), (pango_fc_family_finalize),
(pango_fc_family_class_init):
Finalize families and faces.
2009-01-06 Tor Lillqvist <[email protected]>
Bug 164001 - pango-querymodules doesn't work uninstalled on win32
* pango/pango-utils.c (pango_get_lib_subdirectory): When running
against an uninstalled, compile-time DLL, in the libtool-style
.libs folder, use the compile-time install prefix.
2009-01-03 Behdad Esfahbod <[email protected]>
Bug 384362 – pango can't select some font styles
* pango/pango-font.h:
Add enum values PANGO_WEIGHT_THIN and PANGO_WEIGHT_MEDIUM to
PangoWeight.
* pango/fonts.c: Parse "Thin", "Extra-Light", "Regular", "Demi-Bold",
"Extra-Bold", and "Black" as weight descriptors (from the OpenType
spec).
2009-01-03 Behdad Esfahbod <[email protected]>
Bug 168085 – numeric styles in pango_font_description_to_string()
* pango/fonts.c (parse_int), (find_field), (find_field_any),
(append_field), (pango_font_description_to_string):
Print-out, and parse, numeric styles correctly. Things like
"DejaVu Sans weight=100" parse correctly now.
2009-01-03 Behdad Esfahbod <[email protected]>
Bug 529591 – Code related to malayalam is misplaced.
Patch from Rahul Bhalerao
* modules/indic/indic-ot.c (indic_ot_reorder): Fix it.
2009-01-02 Behdad Esfahbod <[email protected]>
Bug 515807 – Don't bind modules lazily
* pango/modules.c (pango_module_load): Don't bind modules lazy.
2009-01-02 Behdad Esfahbod <[email protected]>
Bug 512662 – Update check.docs for pango-undeclared.txt
* docs/Makefile.am:
* docs/check.docs:
Sync to the version in cairo.
2009-01-02 Behdad Esfahbod <[email protected]>
* pango-view/viewer-main.c (main):
* pango-view/viewer-pangocairo.c (pangocairo_view_render):
* pango-view/viewer-pangoft2.c (pangoft2_view_render):
* pango-view/viewer-pangox.c (pangox_view_render):
* pango-view/viewer-pangoxft.c (pangoxft_view_render):
* pango-view/viewer.h:
Make sure we measure layout with the same surface type as the
final target. Also reduces fonts loaded by the pangocairo backend.
2009-01-02 Behdad Esfahbod <[email protected]>
* pango/pangocairo-context.c (_pango_cairo_update_context):
Completely ignore CTM translation offsets.
2009-01-02 Behdad Esfahbod <[email protected]>
* pango/pangocairo-fcfontmap.c (pango_cairo_fc_font_map_finalize):
* pango/pangoft2-fontmap.c (pango_ft2_font_map_finalize):
Finalize FreeType library after finalizing the FC fontmap. Fixes
segfault in the PangoFT2FontMap's finalize.
2009-01-02 Behdad Esfahbod <[email protected]>
* pango/pango-context.c (shaper_font_element_destroy),
(get_shaper_font_cache), (shaper_font_cache_insert),
(get_shaper_and_font_foreach), (itemize_state_process_run):
Fix possible reference leak when fallback is disabled.
2008-12-26 Behdad Esfahbod <[email protected]>
Bug 565644 – Maybe pango_font_descriptions_free is deprecated
* pango/fonts.c: Adjust docs.
2008-12-26 Behdad Esfahbod <[email protected]>
* pango-view/viewer-pangocairo.c (pangocairo_view_destroy):
Call cairo_debug_reset_static_data().
2008-12-25 Behdad Esfahbod <[email protected]>
* modules/arabic/arabic-fc.c (arabic_engine_shape):
* modules/arabic/arabic-lang.c (arabic_engine_break):
* modules/basic/basic-fc.c (basic_engine_shape):
* modules/basic/basic-x.c (find_char), (conv_8bit), (conv_eucjp),
(conv_16bit), (conv_16bit_MSB_on), (conv_gb18030_1), (conv_euctw),
(conv_ucs4), (basic_engine_shape), (basic_engine_covers):
* modules/hangul/hangul-fc.c (hangul_engine_shape):
* modules/hebrew/hebrew-fc.c (add_cluster), (fallback_shape):
* modules/indic/indic-lang.c (indic_engine_break):
* modules/khmer/khmer-fc.c (khmer_engine_shape):
* modules/syriac/syriac-fc.c (syriac_engine_shape):
* modules/thai/thai-fc.c (get_glyph_index_tis),
(thai_engine_shape), (thai_make_unknown_glyph):
* modules/thai/thai-lang.c (thai_engine_break):
* modules/thai/thai-shaper.c (get_glyphs_list):
* modules/tibetan/tibetan-fc.c (tibetan_engine_shape):
Fix all warnings in modules/.
2008-12-25 Behdad Esfahbod <[email protected]>
* pango-view/viewer-main.c (main):
* pango-view/viewer-pangocairo.c (pangocairo_view_create),
(transform_callback), (pangocairo_view_render),
(pangocairo_view_write):
* pango-view/viewer-pangoft2.c (substitute_func),
(pangoft2_view_create), (pangoft2_view_create_surface),
(pangoft2_view_destroy_surface), (render_callback),
(pangoft2_view_render), (pangoft2_view_write):
* pango-view/viewer-pangox.c (render_callback):
* pango-view/viewer-pangoxft.c (default_substitute),
(render_callback):
* pango-view/viewer-render.c (parse_enum), (parse_align),
(parse_ellipsis), (parse_gravity), (parse_gravity_hint),
(parse_hinting), (parse_wrap), (parse_backend), (show_version):
* pango-view/viewer-x.c (x_view_init):
Fix all warnings in pango-view/
2008-12-25 Behdad Esfahbod <[email protected]>
* pango/pangofc-fontmap.c (pango_fc_font_map_finalize),
(pango_fc_font_map_shutdown):
Cleanup fontmap finalization.
2008-12-25 Behdad Esfahbod <[email protected]>
Bug 469049 – Fix all compiler warnings
* pango-view/viewer-pangocairo.c (render_callback):
* pango/fonts.c (append_field), (pango_font_description_to_string):
* pango/opentype/harfbuzz-dump.c:
* pango/pango-bidi-type.c (pango_log2vis_get_embedding_levels):
* pango/pango-coverage.c (pango_coverage_set):
* pango/pango-markup.c (span_parse_func):
* pango/pango-renderer.c
(pango_renderer_default_draw_error_underline):
* pango/pango-utils.c (pango_scan_string):
* pango/pangocairo-render.c (pango_cairo_renderer_draw_trapezoid),
(draw_error_underline), (pango_cairo_renderer_class_init):
Fix all the remaining warnings.
2008-12-25 Behdad Esfahbod <[email protected]>
* pango/modules.c (pango_module_load), (script_info_free):
* pango/opentype/harfbuzz-gpos.c (HB_Load_GPOS_Table):
* pango/pango-bidi-type.c:
* pango/pango-coverage.c (pango_coverage_ref),
(pango_coverage_unref):
* pango/pango-engine.c (pango_engine_shape_real_covers),
(fallback_engine_shape), (fallback_engine_covers):
* pango/pango-fontmap.c (pango_font_map_init):
* pango/pango-ot-ruleset.c (pango_ot_ruleset_finalize),
(pango_ot_ruleset_new):
* pango/pangofc-decoder.c (pango_fc_decoder_init),
(pango_fc_decoder_class_init):
* pango/pangofc-font.c (pango_fc_font_find_shaper),
(pango_fc_font_get_coverage):
* pango/pangofc-fontmap.c (pango_fc_font_map_list_families),
(pango_fc_make_pattern), (pango_fc_font_map_get_patterns),
(get_first_font), (_pango_fc_font_map_get_coverage),
(cleanup_font), (pango_fc_font_description_from_pattern),
(pango_fc_face_list_sizes), (pango_fc_family_list_faces):
* pango/pangoft2-fontmap.c (pango_ft2_font_map_get_resolution):
* pango/pangoft2-render.c (pango_ft2_renderer_init),
(pango_ft2_renderer_draw_trapezoid):
* pango/pangoft2.c (pango_ft2_font_get_face),
(pango_ft2_font_real_unlock_face),
(pango_ft2_free_glyph_info_callback):
Fix more warnings.
2008-12-25 Behdad Esfahbod <[email protected]>
* pango/break.c (pango_default_break):
* pango/fonts.c (find_field_any), (pango_font_class_init),
(pango_font_init), (pango_font_metrics_ref),
(pango_font_metrics_unref), (pango_font_family_class_init),
(pango_font_family_init), (pango_font_face_class_init),
(pango_font_face_init):
* pango/pango-attributes.c (pango_attr_list_ref),
(pango_attr_list_unref), (pango_attr_iterator_get_font):
* pango/pango-layout.c (pango_layout_set_height), (extents_free),
(no_shape_filter_func), (pango_layout_line_ref),
(pango_layout_line_unref), (pango_layout_get_item_properties):
* pango/pango-markup.c (end_element_handler), (text_handler),
(b_parse_func), (big_parse_func), (span_parse_func),
(i_parse_func), (markup_parse_func), (s_parse_func),
(sub_parse_func), (sup_parse_func), (small_parse_func),
(tt_parse_func), (u_parse_func):
* pango/pango-ot-info.c (get_glyph_class):
* pango/pango-renderer.c (get_item_properties),
(pango_renderer_default_prepare_run):
* pango/pango-utils.c (_pango_shape_shape):
* pango/pangocairo-fcfontmap.c
(pango_cairo_fc_font_map_get_font_type),
(pango_cairo_fc_font_map_context_substitute),
(pango_cairo_fc_font_map_context_key_get),
(pango_cairo_fc_font_map_context_key_copy),
(pango_cairo_fc_font_map_context_key_free),
(pango_cairo_fc_font_map_context_key_hash),
(pango_cairo_fc_font_map_context_key_equal):
* pango/pangocairo-fontmap.c
(pango_cairo_font_map_new_for_font_type),
(pango_cairo_font_map_set_default):
* pango/pangocairo-render.c (pango_cairo_renderer_init):
* pango/pangox-fontcache.c (free_cache_entry):
* pango/pangox-fontmap.c (close_display_cb),
(list_families_foreach), (pango_x_font_map_load_font),
(ignore_error):
* pango/pangox.c (average_width_foreach), (subfonts_foreach),
(pango_x_font_find_shaper), (pango_x_get_unknown_glyph),
(pango_x_get_item_properties), (pango_x_apply_ligatures),
(pango_x_font_get_unknown_glyph):
* pango/pangoxft-fontmap.c (pango_xft_font_map_init),
(close_display_cb):
* pango/querymodules.c (show_version):
Fix warnings.
2008-12-22 Behdad Esfahbod <[email protected]>
Bug 565379 – pango_font_description_better_match some style attributes
of old_match are not checked
* pango/fonts.c: Improve docs.
2008-12-17 Behdad Esfahbod <[email protected]>
Bug 564877 – pango-engine.h: PANGO_MODULE_PREFIX and G_MODULE_EXPORT
* pango/pango-engine.h: Don't add G_MODULE_EXPORT. This
roles back a change introduced in 1.22.4.
2008-12-15 Behdad Esfahbod <[email protected]>
* === Released 1.22.4 ===
* configure.in: Version 1.22.4
* NEWS: Updated.
2008-12-15 Behdad Esfahbod <[email protected]>
Bug 564644 – Not complete description of the
pango_font_description_better_match function
* pango/fonts.c: Improve docs even more.
2008-12-15 Behdad Esfahbod <[email protected]>
Bug 564644 – Not complete description of the
pango_font_description_better_match function
* pango/fonts.c: Improve docs.
2008-12-14 Behdad Esfahbod <[email protected]>
Bug 563898 – Generated output is not deterministic
* docs/pango-querymodules.xml:
* docs/pango_markup.sgml:
Add section ids, such that generated HTML is deterministic.
2008-12-09 Behdad Esfahbod <[email protected]>
* pango/pangoxft-font.c (pango_xft_font_init),
(load_fallback_font): Don't call exit(). Let us crash.
2008-12-09 Behdad Esfahbod <[email protected]>
Bug 563803 – pango_renderer_finalize fails to call parent finalize
* pango/pango-renderer.c (pango_renderer_class_init),
(pango_renderer_finalize): Call parent finalize.
* pango/pango-renderer.c (add_strikethrough),
(pango_renderer_default_draw_glyph_item),
(pango_renderer_default_draw_error_underline):
Clean up a bit.
2008-12-07 Behdad Esfahbod <[email protected]>
Bug 499626 – Space should be optional after comma in
PangoFontDescription input string
* pango/fonts.c (getword): Don't require space after comma.
2008-12-07 Behdad Esfahbod <[email protected]>
Bug 499624 – Spaces around commas in PangoFontDescription family name
should be trimmed
* pango/fonts.c (pango_font_description_from_string):
* pango/pangofc-fontmap.c (pango_fc_make_pattern):
Do it in pango_font_description_from_string() instead of pangofc
backend.
2008-12-07 Behdad Esfahbod <[email protected]>
Bug 499624 – Spaces around commas in PangoFontDescription family name
should be trimmed
* pango/pangofc-fontmap.c (pango_fc_make_pattern): Trim family strings
before adding to pattern.
2008-12-07 Behdad Esfahbod <[email protected]>
Bug 563557 – set g_get_prgname() in fc pattern
* docs/pango-sections.txt:
* pango/pangofc-fontmap.c (pango_fc_make_pattern):
* pango/pangofc-fontmap.h:
Add PANGO_FC_PRGNAME which is the fontconfig element "pangoprgname".
Populate it on all our fontconfig search patterns using
g_get_prgname(). See bug for sample use.
2008-12-07 Behdad Esfahbod <[email protected]>
* pango/pango-engine.h: Add G_MODULE_EXPORT annotation for modules.
2008-12-07 Behdad Esfahbod <[email protected]>
* pango/pango-context.c (pango_context_get_metrics):
Fix docs re NULL language. Also allow NULL desc.
2008-12-06 Behdad Esfahbod <[email protected]>
* pango/pangocairo-font.c
(_pango_cairo_font_private_get_scaled_font):
Add more debug info if creating scaled font failed.
2008-12-05 Behdad Esfahbod <[email protected]>
Bug 563356 – The input area of firefox and the blank width after text
in gnome-menu was stretched too wide, under pango-1.22.3
* docs/tmpl/fonts.sgml:
* pango/pango-impl-utils.h:
* pango/pangocairo-atsuifont.c
(pango_cairo_atsui_font_create_metrics_for_context):
* pango/pangocairo-win32font.c
(pango_cairo_win32_font_create_metrics_for_context):
* pango/pangofc-font.c (pango_fc_font_create_metrics_for_context):
For approximate_char_width calculation take each char's width into
account. That is, do a weighted average instead of uniform average.
g_unichar_iszerowidth() chars count as 0, g_unichar_iswide() chars
count 2, and the rest count as 1. Pretty much wcwidth() behavior.
See bug report for rationale.
2008-11-28 Behdad Esfahbod <[email protected]>
Bug 562574 – Pangocariowin32 is leaking every cairo font it ever
creates
* pango/pangocairo-atsuifont.c (pango_cairo_atsui_font_finalize):
* pango/pangocairo-win32font.c (pango_cairo_win32_font_finalize):
Finalize shared pangocairo font resources. Oops!
* pango/pangocairo-font.c (_pango_cairo_font_private_finalize):
Protect against multiple calls to finalize. This is practiced by the
pangocairo-fcfont when a font is shutdown and then finalized.
2008-11-26 Behdad Esfahbod <[email protected]>
* examples/cairotwisted.c (parametrize_path), (point_on_path):
Handle close_path correctly.
2008-11-23 Behdad Esfahbod <[email protected]>
* === Released 1.22.3 ===
* configure.in: Version 1.22.3
* NEWS: Updated.
2008-11-22 Theppitak Karoonboonyanan <[email protected]>
* modules/thai/thai-lang.c (thai_engine_break):
Minor indentation fixes for previous commit.
2008-11-22 Chris Wilson <[email protected]>
Bug 561740 – Use stack allocation for thai_engine_break
* modules/thai/thai-lang.c (utf8_to_tis), (thai_engine_break):
Small tweak to allocate small, temporary arrays on the stack.
2008-11-21 Behdad Esfahbod <[email protected]>
Bug 561779 – incorrect calculations in pango_matrix_concat
implementation
* pango/pango-matrix.c (pango_matrix_concat): Fix bug in y0
computation.
2008-11-19 Behdad Esfahbod <[email protected]>
Bug 560730 – pango 1.22.2 build failure on Solaris 10, too many array
initializers in pango-language.c
* pango/pango-language.c: Don't use anonymous struct.
2008-11-19 Behdad Esfahbod <[email protected]>
* pango/pango-ot-info.c (pango_ot_info_get_gdef),
(pango_ot_info_get_gsub), (pango_ot_info_get_gpos):
Write error code in capital hex.
2008-10-28 Behdad Esfahbod <[email protected]>
* === Released 1.22.2 ===
* configure.in: Version 1.22.2
* NEWS: Updated.
2008-10-28 Behdad Esfahbod <[email protected]>
Bug 558254 – Internal reference handling messed up
* pango/pangofc-font.c (pango_fc_font_get_coverage):
* pango/pangofc-fontmap.c (pango_fc_font_map_finalize):
Make sure fonts->fontmap is set to NULL when fontmap finalizes.
2008-10-27 Richard Hult <[email protected]>
Bug 558107 – is_monospace always returns FALSE in pangoatsui
* pango/pangoatsui-fontmap.c: (pango_atsui_family_is_monospace),
(pango_atsui_font_map_init): Mark families whose faces have the
NSFixedPitchFontMask set as monospaced, and use this in the
is_monospace implementation.
2008-10-23 Behdad Esfahbod <[email protected]>
Bug 557620 – pango_font_description_from_string not correct
* pango/fonts.c (find_field_any): Fix parsing of "normal" when
not at the end of string.
2008-10-20 Behdad Esfahbod <[email protected]>
* === Released 1.22.1 ===
* configure.in: Version 1.22.1
* NEWS: Updated.
2008-10-14 Behdad Esfahbod <[email protected]>
Bug 528272 – "Error loading GPOS table 5503" when using katakana
characters
* pango/opentype/harfbuzz-gpos.c (Load_Mark2Array): Skip parsing
null anchor tables.
2008-10-10 Behdad Esfahbod <[email protected]>
Bug 552107 – Small libtool fixes
* configure.in: Regenerate libtool early, quote $deplibs_check_method.
Patch by Patryk Zawadzki
2008-10-10 Kjartan Maraas <[email protected]>
* pango/pangox.c: (get_context_info): Fix a gcc warning.
2008-10-06 Christian Persch <[email protected]>
Bug 539623 – document that pango_color_parse accepts NULL
* pango/pango-color.c: Clarify docs.
2008-10-06 Behdad Esfahbod <[email protected]>
Bug 555219 – Memory leak when using pango_layout_iter_copy
Patch from Falk Rohsiepe
* pango/pango-layout.c (pango_layout_iter_copy): Use gslice, not
memdup. Oops!
2008-09-29 Behdad Esfahbod <[email protected]>
* pango/opentype/harfbuzz-gpos.c (Position_CursiveChain):
Fix left-to-right positioning. Reported by Peter Hunter.
2008-09-22 Behdad Esfahbod <[email protected]>
Bug 553345 – Japanese pangram.
Patch from Takeshi AIHANA
* pango/pango-language-sample-table.h: Improve Japanese text.
2008-09-22 Behdad Esfahbod <[email protected]>
* === Released 1.22.0 ===
* configure.in: Version 1.22.0
* NEWS: Updated.
2008-09-22 Behdad Esfahbod <[email protected]>
* configure.in:
* pango/pangocairo-render.c
(pango_cairo_renderer_show_text_glyphs), (save_current_point):
Update to cairo-1.7.6 API.
2008-09-20 Behdad Esfahbod <[email protected]>
Bug 552993 – Romanian pangram
* pango/pango-language-sample-table.h: New Romanian sample text
from Misu Moldovan.
2008-09-18 Tor Lillqvist <[email protected]>
* pango-zip.sh.in: Drop pango.aliases as we have a default such
built-in nowadays.
2008-09-13 Tor Lillqvist <[email protected]>
* pango/pango-utils.c: Don't use the deprectated
g_win32_get_package_installation_subdirectory(). Use
g_win32_get_package_installation_directory_of_module()
instead. Also, don't use the deprecated silly
G_WIN32_DLLMAIN_FOR_DLL_NAME() macro, but an explicit minimal
DllMain() that just saves the DLL handle.
2008-09-11 Behdad Esfahbod <[email protected]>
Bug 551865 – Can't change justification of a PangoLayout after first
draw
* pango/pango-layout.c (pango_layout_set_attributes),
(pango_layout_set_font_description), (pango_layout_set_justify),
(pango_layout_set_alignment), (pango_layout_set_tabs):
Invalidate layout after property change. Oops!
2008-09-08 Tor Lillqvist <[email protected]>
Bug 551416 - pangowin32-fontcache.c: argument is different type
* pango/pangowin32-fontcache.c: Pass address of int to
g_atomic_int_inc().
2008-09-08 Behdad Esfahbod <[email protected]>
* === Released 1.21.6 ===
* configure.in: Version 1.21.6
* NEWS: Updated.
2008-09-03 Alberto Ruiz <[email protected]>
Bug 550659 – configure.in ignores a win32 backend only scenario
* configure.in: Added $have_win32 check
2008-08-28 Behdad Esfahbod <[email protected]>
Bug 549758 – Swedish font sample text could use punctuation
* pango/pango-language-sample-table.h: Add final punctuation to many
that were missing one.
2008-08-27 Behdad Esfahbod <[email protected]>
Bug 549522 – New pt_BR pangram for pango
* pango/pango-language-sample-table.h: Change pt_BR string as per
Leonardo Ferreira Fontenelle's suggestion.
2008-08-26 Behdad Esfahbod <[email protected]>
Bug 549520 – fr sample string
* pango/pango-language-sample-table.h: Change French sample string
as per Vincent Untz's suggestion.
2008-08-26 Behdad Esfahbod <[email protected]>
* === Released 1.21.5 ===
* configure.in: Version 1.21.5
* NEWS: Updated.
2008-08-22 Behdad Esfahbod <[email protected]>
Bug 549003 – pango_layout_set_height(): layout should not be cleared
unless required
* pango/pango-layout-private.h:
* pango/pango-layout.c (pango_layout_init),
(pango_layout_set_height), (pango_layout_get_line_count),
(pango_layout_clear_lines), (add_line):
Don't invalidate layout if the new height does not force
ellipsization.
2008-08-22 Richard Hult <[email protected]>
* pango/pangoatsui.c: (_pango_atsui_font_set_font_map): Fix build,
small typo.
2008-08-22 Behdad Esfahbod <[email protected]>
* pango/fonts.c (pango_font_metrics_ref),
(pango_font_metrics_unref):
* pango/pango-attributes.c (pango_attr_list_ref),
(pango_attr_list_unref):
* pango/pango-coverage.c (pango_coverage_ref),
(pango_coverage_unref):
* pango/pango-layout.c (pango_layout_line_ref),