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
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
|
2008-12-25 Behdad Esfahbod <behdad@gnome.org>
* 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 <behdad@gnome.org>
* 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 <behdad@gnome.org>
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 <behdad@gnome.org>
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 <behdad@gnome.org>
* === Released 1.22.4 ===
* configure.in: Version 1.22.4
* NEWS: Updated.
2008-12-15 Behdad Esfahbod <behdad@gnome.org>
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 <behdad@gnome.org>
Bug 564644 – Not complete description of the
pango_font_description_better_match function
* pango/fonts.c: Improve docs.
2008-12-14 Behdad Esfahbod <behdad@gnome.org>
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 <behdad@gnome.org>
* pango/pangoxft-font.c (pango_xft_font_init),
(load_fallback_font): Don't call exit(). Let us crash.
2008-12-09 Behdad Esfahbod <behdad@gnome.org>
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 <behdad@gnome.org>
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 <behdad@gnome.org>
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 <behdad@gnome.org>
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 <behdad@gnome.org>
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 <behdad@gnome.org>
* pango/pango-engine.h: Add G_MODULE_EXPORT annotation for modules.
2008-12-07 Behdad Esfahbod <behdad@gnome.org>
* pango/pango-context.c (pango_context_get_metrics):
Fix docs re NULL language. Also allow NULL desc.
2008-12-06 Behdad Esfahbod <behdad@gnome.org>
* 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 <behdad@gnome.org>
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 <behdad@gnome.org>
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 <behdad@gnome.org>
* examples/cairotwisted.c (parametrize_path), (point_on_path):
Handle close_path correctly.
2008-11-23 Behdad Esfahbod <behdad@gnome.org>
* === Released 1.22.3 ===
* configure.in: Version 1.22.3
* NEWS: Updated.
2008-11-22 Theppitak Karoonboonyanan <thep@linux.thai.net>
* modules/thai/thai-lang.c (thai_engine_break):
Minor indentation fixes for previous commit.
2008-11-22 Chris Wilson <chris@chris-wilson.co.uk>
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 <behdad@gnome.org>
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 <behdad@gnome.org>
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 <behdad@gnome.org>
* 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 <behdad@gnome.org>
* === Released 1.22.2 ===
* configure.in: Version 1.22.2
* NEWS: Updated.
2008-10-28 Behdad Esfahbod <behdad@gnome.org>
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 <richard@imendio.com>
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 <behdad@gnome.org>
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 <behdad@gnome.org>
* === Released 1.22.1 ===
* configure.in: Version 1.22.1
* NEWS: Updated.
2008-10-14 Behdad Esfahbod <behdad@gnome.org>
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 <behdad@gnome.org>
Bug 552107 – Small libtool fixes
* configure.in: Regenerate libtool early, quote $deplibs_check_method.
Patch by Patryk Zawadzki
2008-10-10 Kjartan Maraas <kmaraas@gnome.org>
* pango/pangox.c: (get_context_info): Fix a gcc warning.
2008-10-06 Christian Persch <chpe@gnome.org>
Bug 539623 – document that pango_color_parse accepts NULL
* pango/pango-color.c: Clarify docs.
2008-10-06 Behdad Esfahbod <behdad@gnome.org>
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 <behdad@gnome.org>
* pango/opentype/harfbuzz-gpos.c (Position_CursiveChain):
Fix left-to-right positioning. Reported by Peter Hunter.
2008-09-22 Behdad Esfahbod <behdad@gnome.org>
Bug 553345 – Japanese pangram.
Patch from Takeshi AIHANA
* pango/pango-language-sample-table.h: Improve Japanese text.
2008-09-22 Behdad Esfahbod <behdad@gnome.org>
* === Released 1.22.0 ===
* configure.in: Version 1.22.0
* NEWS: Updated.
2008-09-22 Behdad Esfahbod <behdad@gnome.org>
* 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 <behdad@gnome.org>
Bug 552993 – Romanian pangram
* pango/pango-language-sample-table.h: New Romanian sample text
from Misu Moldovan.
2008-09-18 Tor Lillqvist <tml@novell.com>
* pango-zip.sh.in: Drop pango.aliases as we have a default such
built-in nowadays.
2008-09-13 Tor Lillqvist <tml@novell.com>
* 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 <behdad@gnome.org>
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 <tml@novell.com>
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 <behdad@gnome.org>
* === Released 1.21.6 ===
* configure.in: Version 1.21.6
* NEWS: Updated.
2008-09-03 Alberto Ruiz <aruiz@gnome.org>
Bug 550659 – configure.in ignores a win32 backend only scenario
* configure.in: Added $have_win32 check
2008-08-28 Behdad Esfahbod <behdad@gnome.org>
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 <behdad@gnome.org>
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 <behdad@gnome.org>
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 <behdad@gnome.org>
* === Released 1.21.5 ===
* configure.in: Version 1.21.5
* NEWS: Updated.
2008-08-22 Behdad Esfahbod <behdad@gnome.org>
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 <richard@imendio.com>
* pango/pangoatsui.c: (_pango_atsui_font_set_font_map): Fix build,
small typo.
2008-08-22 Behdad Esfahbod <behdad@gnome.org>
* 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),
(pango_layout_line_unref):
* pango/pangowin32-fontcache.c (cache_entry_unref),
(pango_win32_font_cache_loadw):
* pango/pangox-fontcache.c (cache_entry_unref),
(pango_x_font_cache_load):
Use atomic reference counting.
Pango may not be thread safe yet, but fixing it little by little
is easier than doing all in one round.
2008-08-22 Behdad Esfahbod <behdad@gnome.org>
Bug 143542 – PangoFT2Fontmap leak
* pango/fonts.c:
* pango/pangoatsui.c (pango_atsui_font_finalize),
(_pango_atsui_font_set_font_map):
* pango/pangocairo-font.c (_pango_cairo_font_get_metrics),
(_pango_cairo_font_private_get_hex_box_info):
* pango/pangocairo-win32font.c (_pango_cairo_win32_font_new):
* pango/pangofc-font.c (pango_fc_font_get_metrics):
* pango/pangofc-fontmap.c (pango_fc_font_map_add),
(_pango_fc_font_map_remove), (cleanup_font):
* pango/pangowin32-fontmap.c (pango_win32_font_neww),
(pango_win32_font_map_real_find_font):
* pango/pangowin32.c (pango_win32_font_finalize):
* pango/pangox-fontmap.c (pango_x_font_map_load_font):
* pango/pangox.c (pango_x_font_new), (pango_x_font_finalize):
Make the reference the font->fontmap reference weak.
The code for setting the reference must look like this:
g_assert (font->fontmap == NULL);
font->fontmap = (PangoFontMap *) fontmap;
g_object_add_weak_pointer (G_OBJECT (font->fontmap), (gpointer *) (gpointer) &font->fontmap);
And releasing it like:
g_assert (font->fontmap != NULL);
g_object_remove_weak_pointer (G_OBJECT (font->fontmap), (gpointer *) (gpointer) &font->fontmap);
font->fontmap = NULL;
I have converted all fontmaps. The win32 and atsui ones can
use some simple testing.
The PangoFc fonts actually don't need the weakref as the fontmap
already provides a similar link by itself.
2008-08-20 Murray Cumming <murrayc@murrayc.com>
* pango/pango-language.c: pango_language_get_scripts(): Fix a
tiny typo in the documentation.
2008-08-20 Behdad Esfahbod <behdad@gnome.org>
* pango/pango-language.c (pango_language_private_init),
(pango_language_get_private), (pango_language_from_string),
(find_best_lang_match), (find_best_lang_match_cached),
(pango_language_get_sample_string), (pango_language_get_scripts):
Cache language information to avoid bsearch()ing all the time.
2008-08-20 Behdad Esfahbod <behdad@gnome.org>
* pango/pango-language.c (find_best_lang_match),
(pango_language_get_sample_string), (pango_language_get_scripts),
(pango_script_get_sample_language):
Cleanup bsearching in language arrays.
Add some language codes for scripts.
2008-08-20 Behdad Esfahbod <behdad@gnome.org>
Bug 314094 – Get rid of poutpourri default sample string
* pango/pango-language-sample-table.h:
* pango/pango-language.c (pango_language_get_sample_string):
Use default language if provided language to get_sample_string()
is NULL.
2008-08-19 Behdad Esfahbod <behdad@gnome.org>
Bug 473806 – Improve pango_language_get_sample_string()
* docs/Makefile.am:
* pango/Makefile.am:
* pango/pango-language-sample-table.h:
* pango/pango-language.c (pango_language_get_sample_string):
Add language sample texts that are actually usable. Compiled from
a variety of sources. See pango-language-sample-table.h.
2008-08-19 Behdad Esfahbod <behdad@gnome.org>
* pango-view/GLASS.txt:
* pango/pango-ot-tag.c:
Various corrections.
2008-08-18 Behdad Esfahbod <behdad@gnome.org>
Bug 473805 – Add API enumerating scripts for a language
* docs/Makefile.am:
* docs/pango-sections.txt:
* docs/tmpl/scripts.sgml:
* docs/tmpl/text-attributes.sgml:
* docs/tmpl/utils.sgml:
* pango/pango-language.c (pango_language_get_scripts),
(pango_language_includes_script),
(pango_script_get_sample_language):
* pango/pango-language.h:
* pango/pango-script.c:
* pango/pango.def:
Add a minor new public API:
pango_language_get_scripts()
This is what pango_language_includes_script() has been using
internally. Previously one had to call that function over all
possible script values to determine which scripts a language
uses. The new API makes that much easier.
2008-08-18 Behdad Esfahbod <behdad@gnome.org>
* pango/pango-language.h:
* pango/pango-script.h:
Fix cyclic header ordering and move pango_language_* to
pango-language.h
2008-08-18 Behdad Esfahbod <behdad@gnome.org>
Bug 470895 – Improve OpenType language tag list
* pango/pango-ot-tag.c: Update to OpenType 1.5 draft, intersected with
ISO639-3 of 2008/08/04.
2008-08-12 Sven Herzberg <sven@imendio.com>
Bug 547432 – Deprecation of pango_(backend)_font_map_create_context()
not clean
reviewed by: Behdad Esfahbod
* pango/pangocairo-fontmap.c,
* pango/pangofc-fontmap.c,
* pango/pangoft2-fontmap.c,
* pango/pangowin32.c,
* pango/pangox.c,
* pango/pangoxft-fontmap.c: use "Deprecated:" for deprecation messages;
fix the deprecation version number
2008-08-11 Behdad Esfahbod <behdad@gnome.org>
* === Released 1.21.4 ===
* configure.in: Version 1.21.4
* NEWS: Updated.
2008-08-11 Behdad Esfahbod <behdad@gnome.org>
Bug 547303 – pango_layout_get_cursor_pos crashes on certain text
buffers
* pango/pango-layout.c (pango_layout_get_cursor_pos): Handle cursor
position in the middle of a "\r\n" cluster.
2008-08-06 Behdad Esfahbod <behdad@gnome.org>
* pango/pangocairo-render.c (pango_cairo_renderer_draw_glyph_item):
Fix cluster iteration.
2008-08-06 Behdad Esfahbod <behdad@gnome.org>
* pango/pangocairo-render.c
(pango_cairo_renderer_show_text_glyphs),
(pango_cairo_renderer_draw_glyphs),
(pango_cairo_renderer_draw_glyph_item):
Implement draw_glyph_item using cairo_show_text_glyphs().
* configure.in: Require cairo >= 1.7.1
2008-08-06 Behdad Esfahbod <behdad@gnome.org>
Fedora Bug 457883 - Sindhi Characters are not supported in
pango [U+097B-U+097F]
Patch from Pravin Satpute
* modules/indic/indic-ot-class-tables.c: Add [U+097B-U+097F].
2008-08-06 Behdad Esfahbod <behdad@gnome.org>
Bug 441654 – prefix fails when more than one base characters (as
conjuncts) present after a half form the next prefix renders
incorrectly
Patch from Rahul Bhalerao
* modules/indic/mprefixups.c (indic_mprefixups_apply):
Do what I was told to do.
2008-08-06 Behdad Esfahbod <behdad@gnome.org>
Bug 546534 – pango_cairo_font_map_set_default(NULL) errs
* pango/pangocairo-fontmap.c (pango_cairo_font_map_set_default):
Allow NULL.
2008-08-06 Behdad Esfahbod <behdad@gnome.org>
Bug 431394 – Use pango_glyph_item_iter in more places
* pango/glyphstring.c (pango_glyph_string_get_logical_widths):
Use pango_glyph_item_iter for cluster iteration.
2008-08-06 Behdad Esfahbod <behdad@gnome.org>
Bug 377948 – Make pango_glyph_item_iter public
* pango/pango-glyph-item.c (pango_glyph_item_iter_copy),
(pango_glyph_item_iter_free), (pango_glyph_item_iter_get_type),
(pango_glyph_item_iter_next_cluster),
(pango_glyph_item_iter_prev_cluster),
(pango_glyph_item_iter_init_start),
(pango_glyph_item_iter_init_end), (pango_glyph_item_apply_attrs),
(pango_glyph_item_letter_space):
* pango/pango-glyph-item.h:
New public API, for iterating a PangoGlyphItem:
PangoGlyphItemIter
PANGO_TYPE_GLYPH_ITEM_ITER
pango_glyph_item_iter_copy()
pango_glyph_item_iter_free()
pango_glyph_item_iter_init_start()
pango_glyph_item_iter_init_end()
pango_glyph_item_iter_next_cluster()
pango_glyph_item_iter_prev_cluster()
* pango/pango.def:
* docs/tmpl/glyphs.sgml:
* docs/pango-sections.txt:
* pango/Makefile.am:
* pango/ellipsize.c (line_iter_next_cluster),
(line_iter_prev_cluster), (find_initial_span):
* pango/pango-layout.c (justify_words):
Update.
* pango/pango-glyph-item-private.h:
Remove.
2008-08-05 Behdad Esfahbod <behdad@gnome.org>
* pango/pango-context.c:
* pango/pango-context.h:
Make the following API public:
pango_context_new()
pango_context_set_font_map()
* pango/pango-fontmap.c (pango_font_map_create_context):
* pango/pango-fontmap.h:
New public API:
pango_font_map_create_context()
* pango/pangocairo-context.c (pango_cairo_create_context):
* pango/pangocairo-font.c (_pango_cairo_font_get_metrics),
(_pango_cairo_font_private_get_hex_box_info):
* pango/pangocairo-fontmap.c (pango_cairo_font_map_create_context):
* pango/pangocairo.h:
Deprecate pango_cairo_font_map_create_context().
* pango/pangofc-font.c (pango_fc_font_get_metrics):
* pango/pangofc-fontmap.c (pango_fc_font_map_create_context):
* pango/pangofc-fontmap.h:
Deprecate pango_fc_font_map_create_context().
* pango/pangoft2-fontmap.c (pango_ft2_font_map_create_context),
(pango_ft2_get_context):
* pango/pangoft2.h:
Deprecate pango_ft2_font_map_create_context().
* pango/pangowin32.c (pango_win32_get_context),
(pango_win32_font_get_metrics):
* pango/pangowin32.h:
Deprecate pango_win32_get_context().
* pango/pangoxft-font.c (_pango_xft_font_get_mini_font):
* pango/pangoxft-fontmap.c (pango_xft_get_context):
* pango/pangoxft.h:
Deprecate pango_xft_get_context().
* pango/pangox-fontmap.c (pango_x_font_map_for_display):
* pango/pangox.c (get_context_info), (pango_x_get_context),
(pango_x_context_set_funcs), (pango_x_render_layout_line):
Deprecate pango_x_get_context(), again.
* docs/pango-sections.txt:
* docs/tmpl/fonts.sgml:
* pango-view/viewer-pangocairo.c (pangocairo_view_get_context):
* pango-view/viewer-pangoft2.c (pangoft2_view_get_context):
* pango-view/viewer-pangox.c (pangox_view_get_context):
* pango-view/viewer-pangoxft.c (pangoxft_view_get_context):
* pango/check.defs:
* pango/pango.def:
Update.
2008-07-30 Behdad Esfahbod <behdad@gnome.org>
Bug 472625 – Add draw_glyph_item() to PangoRenderer
* docs/pango-sections.txt:
* docs/tmpl/pango-renderer.sgml:
* pango/pango-renderer.c:
* pango/pango-renderer.h:
New public API:
PangoRenderer::draw_glyph_item()
pango_renderer_draw_glyph_item()
Make layout and layout-line default renderers go through
draw_glyph_item(), which then by default falls back to
draw_glyphs(). The advantage in draw_glyph_item() is that it
has access to the text and cluster information.
2008-07-30 Behdad Esfahbod <behdad@gnome.org>
* docs/tmpl/text-attributes.sgml: Fix doc build warning.
2008-07-19 Behdad Esfahbod <behdad@gnome.org>
* pango/pango-layout.c (process_line): Justify lines broken by U+2028
LINE SEPARATOR. Also affects return value of pango_layout_is_wrapped().
2008-08-06 Tor Lillqvist <tml@novell.com>
* pango/Makefile.am (install-def-files): Add a mkdir to be sure
the destination directory exists before copying files there.
* configure.in: On Windows set LIB_EXE_MACHINE_FLAG to X86 or X64
depending on host architecture.
* pango/Makefile.am: Use it when running lib.exe.
2008-08-04 Tor Lillqvist <tml@novell.com>
* pango/Makefile.am: Don't attempt to build the MS import
libraries for libpangoft2 unless HAVE_FREETYPE.
2008-08-03 Tor Lillqvist <tml@novell.com>
* pango/pango-bidi-type.c: Include <string.h> for strlen()
prototype.
2008-06-29 Behdad Esfahbod <behdad@gnome.org>
Bug 540592 – Crash in HB_GSUB_Apply_String with Linux-Libertine font
* pango/opentype/harfbuzz-gsub.c (GSUB_Do_String_Lookup): Fix reverse
loops for type 8 lookups.
2008-06-26 Kristian Rietveld <kris@imendio.com>
* configure.in: require glib trunk (for newer glib-mkenums).
* pango/Makefile.am: when generating pango-enum-types.h use
@ENUMPREFIX@ instead of hard coding the prefix.
2008-06-24 Behdad Esfahbod <behdad@gnome.org>
Bug 540036 – Doesn't link to fontconfig
* pango/Makefile.am: Explicitly include FREETYPE_LIBS for pangoxft.
2008-06-23 Behdad Esfahbod <behdad@gnome.org>
Bug 380094 – Fix split matra rendering bug for Kannada language
* modules/indic/indic-ot-class-tables.c: Fix Indic class for
U+0C8D and U+0C8E.
2008-06-21 Johan Dahlin <jdahlin@async.com.br>
* *.[ch]: Include "config.h" instead of <config.h>
Command used:
find -name \*.[ch]|xargs perl -p -i -e 's/^#include <config.h>/#include "config.h"/g'
Rubberstamped by Behdad
2008-06-18 Behdad Esfahbod <behdad@gnome.org>
Bug 536017 – Remove SF_MPRE_FIXUP from Sinhala script flags
Patch by Harshula
* modules/indic/indic-ot-class-tables.c: Just freakin' do it.
I have no idea if it's right or wrong. Just that I've been
pestered enough to do it. Time will tell...
2008-06-16 Behdad Esfahbod <behdad@gnome.org>
* === Released 1.21.3 ===
* configure.in: Version 1.21.3
* NEWS: Updated.
2008-06-16 Behdad Esfahbod <behdad@gnome.org>
Bug 538661 – Improve pango_cairo_context_update_context()
* pango/pangocairo-context.c (_pango_cairo_update_context):
Relayout only if merged options changed.
2008-06-09 Behdad Esfahbod <behdad@gnome.org>
Bug 536190 – Make pango_fc_font_map_clear_cache() public?
* pango/pangofc-fontmap.c:
* pango/pangofc-fontmap.h:
Make pango_fc_font_map_clear_cache() public.
2008-06-09 Behdad Esfahbod <behdad@gnome.org>
Bug 537258 – Add a pango_language_to_string() function
* docs/tmpl/text-attributes.sgml:
* pango/pango-language.c (pango_language_to_string):
* pango/pango-language.h:
* pango/pango.def:
Add a function implementation of pango_language_to_string().
The macro is still available. To be removed in a cycle or two from
now. (bug #537466)
2008-06-09 Behdad Esfahbod <behdad@gnome.org>
Bug 537257 – pango_language_from_string(NULL) not happy
* pango/pango-language.c (pango_language_from_string):
Allow NULL.
2008-06-09 Behdad Esfahbod <behdad@gnome.org>
Bug 537186 – Make PangoFcFont pattern property readable
* pango/pangofc-font.c (pango_fc_font_class_init),
(pango_fc_font_get_property): Make it readable.
2008-06-02 Behdad Esfahbod <behdad@gnome.org>
* === Released 1.21.2 ===
* configure.in: Version 1.21.2
* NEWS: Updated.
2008-05-28 Behdad Esfahbod <behdad@gnome.org>
Bug 510299 – OpenType font variants are broken with ATSUI/Cairo
* pango/fonts.c (field_matches), (find_field): Ignore dashes when
matching fong description fields.
2008-05-28 Tor Lillqvist <tml@novell.com>
* pango/pangowin32-fontmap.c (synthesize_foreach)
(_pango_win32_font_map_init): Rework face synthesis once
again. Code is simpler now, and we don't needlessly synthesize
bold weights for fonts that have a real semi-bold weight, like
Lucida Sans. (The bold weight ended up looking like the semi-bold
anyway.)
(pango_win32_font_description_from_logfont)
(pango_win32_font_description_from_logfontw): Recognize the
semi-bold weight interval.
Map words that indicate weight and slant in the font name into the
corresponding Pango font description settings, and strip those
words from the family name. This maps for instance the DejaVu
Sans, DejaVu Sans Condensed and DejaVu Sans Light fonts into a
single DejaVu Sans family with styles Ultra-Light, Condensed,
Normal, Oblique Condensed, Oblique, Bold Condensed, Bold, Bold
Oblique Condensed, and Bold Oblique, which is nice.
2008-05-27 Tor Lillqvist <tml@novell.com>
* pango/pangowin32-fontmap.c (pango_win32_family_list_faces):
After the change to how the standard pseudo font families are set
up below, we don't need to prune out duplicate face names any
longer.
2008-05-27 Tor Lillqvist <tml@novell.com>
Bug 436363 - Bold and Bold Italic style of MS-Mincho font are not
listed in GtkFontSelection
* pango/pangowin32-fontmap.c: Synthesize also Bold and Bold Italic
(or Oblique) faces when feasible. Don't synthesize these for
decorative or script fonts. Kill the magic code snippet mentioned
below. Instead, explicitly create font families for the standard
pseudo fonts that correspond to the first existing font of the
corresponding built-in alias list. Use the face style name Oblique
for slanted sans and monospace fonts, not Italic.
2008-05-27 Tor Lillqvist <tml@novell.com>
* pango/pangowin32-fontmap.c (pango_win32_family_list_faces):
Prune duplicated face names. Makes the GTK+ font selector look a
bit saner for the "sans", "serif" and "monospace" standard pseudo
font families with just one instance of each style.
That we get duplicated styles in the first place is because of the
magic code snippet in pango_win32_insert_font() that sets up the
list of faces for the standard pseudo font families. I don't like
that code but without it these families wouldn't currently show up
in the font selector at all.
A problem is still that the magic code blindly adds all random
fonts that claim to be FF_ROMAN to the list of faces for the
"serif" family, etc. I think it would be preferrable to do it only
for well-known sensible fonts. That would be those that are listed
in builtin_aliases in pango-utils.c, I guess.
2008-05-26 Tor Lillqvist <tml@novell.com>
* pango/pangowin32-private.h
* pango/pangowin32-fontmap.c: Drop the PangoWin32FontMap::n_fonts
field which wasn't really used for anything. Rename the field
PangoWin32Family::font_entries to faces. Rename some local
variables to be more consistently named.
2008-05-26 Tor Lillqvist <tml@novell.com>
* pango/pangowin32.c
* pango/pangowin32-fontmap.c: Some whitespace cleanup.
2008-05-26 Tor Lillqvist <tml@novell.com>
* pango/pangowin32-private.h
* pango/pangowin32-fontmap.c: Drop the PangoWin32SizeInfo struct
and the hash table mapping from the relevant part of a LOGFONTW
struct to a list of PangoWin32SizeInfos in PangoWin32FontMap. It
seems that each list was always of length one anyway, so instead
just map directly to each such single list member, also a LOGFONTW
struct. Actually I wonder whether this map is needed at all, will
have to experiment.
2008-05-23 Tor Lillqvist <tml@novell.com>
* pango/pango-utils.c: Revert the addition of the alias
"sansserif". The correct name is "sans-serif", and "sans" should
also be accepted. If something uses "sansserif" it is wrong. (I
saw it in some sample svg files in librsvg.)
2008-05-20 Tor Lillqvist <tml@novell.com>
* pango/pango-utils.c: Add alias "sansserif" to the builtin
aliases on Win32. Same contents as "sans" and "sans-serif".
2008-05-20 Tor Lillqvist <tml@novell.com>
Bug 523193 – Vista Hebrew, CJK fonts to builtin win32 pango aliases
Patch by Daniel Atallah.
* pango/pango-utils.c: Add fonts from Vista to the builtin
aliases. Also add Lucida Sans Unicode and Lucida Console.
2008-05-13 Behdad Esfahbod <behdad@gnome.org>
* === Released 1.21.1 ===
* configure.in: Version 1.21.1
* NEWS: Updated.
2008-05-03 Behdad Esfahbod <behdad@gnome.org>
Bug 531242 – Leak when calculating win32 font coverage
Patch from Daniel Atallah
* pango/pangowin32.c (pango_win32_font_calc_coverage): Plug leak.
2008-04-30 Behdad Esfahbod <behdad@gnome.org>
Bug 530757 – Docs build breaks because of hash sign in URL in <ulink...>
* docs/tmpl/main.sgml: Make it build.
2008-04-30 Behdad Esfahbod <behdad@gnome.org>
Bug 530685 – Pango no longer using cairo as a backend as of pango 1.19.4
* configure.in: Be more verbose about cairo font backends found.
2008-04-28 Behdad Esfahbod <behdad@gnome.org>
* pango-view/viewer-main.c (main): Wait for convert(1) to finish.
Patch by Jamie Guinan.
2008-04-24 Behdad Esfahbod <behdad@gnome.org>
Part of Bug 97545 – Make pango_default_break follow Unicode TR #29
* docs/tmpl/main.sgml:
* pango/break.c (pango_default_break):
* pango/pango-break.h:
* tests/testboundaries_ucd.c (main):
Add new PangoLogAttr member is_word_boundary, that implements UAX#29's
Word Boundaries semantics. Test fully passes for it.
2008-04-24 Behdad Esfahbod <behdad@gnome.org>
Part of Bug 97545 – Make pango_default_break follow Unicode TR #29
Patch from Noah Levitt
* tests/Makefile.am:
* tests/runtests.sh.in:
* tests/testboundaries_ucd.c (count_attrs), (parse_line),
(attrs_equal), (make_test_string), (do_test), (main):
Add test driver for UAX#14 and UAX#29 test data from Unicode Character
Databse. Just drop the following four files in pango/tests for it to
use them:
GraphemeBreakTest.txt
LineBreakTest.txt
SentenceBreakTest.txt
WordBreakTest.txt
2008-04-24 Behdad Esfahbod <behdad@gnome.org>
Part of Bug 97545 – Make pango_default_break follow Unicode TR #29
* pango/break.c (pango_default_break): Make Grapheme Boundary code
exactly follow UAX#29 of Unicode 5.1.0
2008-04-24 Behdad Esfahbod <behdad@gnome.org>
* pango/break.c (pango_default_break): Update GraphemeBoundary to
Unicode 5.1.0. Pretty close now. Passes the TR14 test.
2008-04-24 Behdad Esfahbod <behdad@gnome.org>
* pango/break.c (pango_default_break): Allow line break at the end of
string. UAX#14 rule LB3 says "Always break at the end of text."
With this test, Pango passes the LineBreakTest.txt, sans the bug in
the test file that I've already reported to unicoRe.
2008-04-21 Behdad Esfahbod <behdad@gnome.org>
* === Released 1.21.0 ===
* configure.in: Version 1.21.0
* NEWS: Updated.
2008-04-21 Behdad Esfahbod <behdad@gnome.org>
* ChangeLog.pre-1-20:
* Makefile.am:
Wrap ChangeLog.
2008-04-21 Behdad Esfahbod <behdad@gnome.org>
* docs/pango-docs.sgml:
* docs/pango-sections.txt:
* docs/tmpl/bidi.sgml:
* docs/tmpl/main.sgml:
* docs/tmpl/vertical.sgml:
* pango/pango-bidi-type.c (pango_log2vis_get_embedding_levels),
(pango_unichar_direction), (pango_get_mirror_char):
* pango/pango-bidi-type.h:
* pango/pango-types.h:
* pango/pango-utils.c:
Group bidi stuff together. Add a section in the docs for them.
2008-04-21 Behdad Esfahbod <behdad@gnome.org>
Bug 515432 – Add function to get bidirectional character type of a
unicode character
Patch from Jürg Billeter
* docs/pango-sections.txt:
* docs/tmpl/layout.sgml:
* docs/tmpl/main.sgml:
* docs/tmpl/pangocairo.sgml:
* pango/Makefile.am:
* pango/pango-bidi-type.c (pango_bidi_type_for_unichar):
* pango/pango-bidi-type.h:
* pango/pango-types.h:
* pango/pango-utils.c (pango_log2vis_get_embedding_levels),
(pango_unichar_direction):
* pango/pango.def:
* pango/pango.h:
New public API:
enum PangoBidiType;
pango_bidi_type_get_type()
pango_bidi_type_for_unichar()
2008-04-21 Behdad Esfahbod <behdad@gnome.org>
Bug 517119 – Add pango_cairo_create_context()
* docs/pango-sections.txt:
* pango/pangocairo-context.c (pango_cairo_create_context),
(pango_cairo_create_layout):
* pango/pangocairo.def:
* pango/pangocairo.h:
New public API:
pango_cairo_create_context()
2008-04-21 Behdad Esfahbod <behdad@gnome.org>
Bug 404416 – pango_layout_get_baseline or something
* docs/pango-sections.txt:
* pango/pango-layout.c (pango_layout_get_baseline):
* pango/pango-layout.h:
* pango/pango.def:
New public API:
pango_layout_get_baseline()
2008-04-21 Behdad Esfahbod <behdad@gnome.org>
Bug 474706 – cairo hexbox looks ugly
* pango/pangocairo-font.c
(_pango_cairo_font_private_get_hex_box_info):
Tweak minifont size a bit. Also propagate font options correctly.
2008-04-21 Behdad Esfahbod <behdad@gnome.org>
Bug 490669 – add some <span> attribute aliases
* docs/pango_markup.sgml:
* pango/pango-markup.c (span_parse_func):
Add fgcolor, bgcolor, font, font_size, font_weight, font_variant, ...
2008-04-21 Behdad Esfahbod <behdad@gnome.org>
Bug 501334 – Make pango_cairo_[show_]*[_path]() functions preserve
current point
* pango/pangocairo-render.c (_pango_cairo_renderer_draw_box_glyph),
(_pango_cairo_renderer_draw_unknown_glyph), (acquire_renderer),
(release_renderer), (save_current_point), (restore_current_point),
(_pango_cairo_do_glyph_string), (_pango_cairo_do_layout_line),
(_pango_cairo_do_layout):
Preserve current point around pango_cairo_* functions().
2008-04-21 Behdad Esfahbod <behdad@gnome.org>
* configure.in:
* pango/pangocairo-atsui.h:
* pango/pangocairo-atsuifont.c
(pango_cairo_atsui_font_create_font_face):
* pango/pangocairo-fontmap.c
(pango_cairo_font_map_new_for_font_type):
Require cairo >= 1.6.4. Remove compat cruft that were added to
support older cairo that had cairo-atsui instead of cairo-quartz-font.
2008-04-21 Behdad Esfahbod <behdad@gnome.org>
Bug 514617 – Add pango_cairo_font_map_set_default()
* docs/pango-sections.txt:
* docs/tmpl/pangocairo.sgml:
* pango/pangocairo-fontmap.c (pango_cairo_font_map_get_default),
(pango_cairo_font_map_set_default):
* pango/pangocairo.def:
* pango/pangocairo.h:
New public API:
pango_cairo_font_map_set_default()
2008-04-21 Behdad Esfahbod <behdad@gnome.org>
* docs/pango-docs.sgml: Add index of new API in 1.22.
2008-04-21 Behdad Esfahbod <behdad@gnome.org>
Bug 511183 – Add pango_attr_type_get_name()
* docs/pango-sections.txt:
* docs/tmpl/text-attributes.sgml:
* pango/pango-attributes.c (pango_attr_type_register),
(pango_attr_type_get_name):
* pango/pango-attributes.h:
* pango/pango.def:
New public API:
pango_attr_type_get_name()
2008-04-20 Behdad Esfahbod <behdad@gnome.org>
* pango/pango-ot-info.c (pango_ot_info_get_gdef),
(pango_ot_info_get_gsub), (pango_ot_info_get_gpos):
Write out HarfBuzz errors as hex.
2008-04-09 Behdad Esfahbod <behdad@gnome.org>
* === Released 1.20.2 ===
* configure.in: Version 1.20.2
* NEWS: Updated.
2008-04-09 Behdad Esfahbod <behdad@gnome.org>
* pango/pangocairo-atsui.h:
* pango/pangocairo-atsuifont.c:
Really fix build without cairo-atsui.
2008-04-08 Behdad Esfahbod <behdad@gnome.org>
* === Released 1.20.1 ===
* configure.in: Version 1.20.1
* NEWS: Updated.
2008-04-08 Behdad Esfahbod <behdad@gnome.org>
Bug 491553 – Update to Unicode 5.1.0
* docs/tmpl/scripts.sgml:
* pango/mini-fribidi/README:
* pango/mini-fribidi/fribidi_tab_char_type_2.i:
* pango/pango-script-lang-table.h:
* pango/pango-script.h:
Update to Unicode Character Databse 5.1.0. This adds new entries to
the PangoScript enum. Requires glib >= 2.16.3 for the update Unicode
data there, but not bumping the requirement in a stable point release.
2008-04-08 Behdad Esfahbod <behdad@gnome.org>
* configure.in:
* pango/pangocairo-atsui.h:
* pango/pangocairo-atsuifont.c:
Try making our OS X stuff compile with latest cairo 1.5.x snapshots
that renamed cairo-atsui to cairo-quartz-font.
2008-04-08 Behdad Esfahbod <behdad@gnome.org>
* configure.in: Fix check for Carbon/Carbon.h availability. Oops!
2008-03-21 Behdad Esfahbod <behdad@gnome.org>
* pango/pango-layout.c (get_x_offset): When doing ALIGN_CENTER,
round line offset to whole pixel if hinting.
2008-03-11 Richard Hult <richard@imendio.com>
* pango/pangocairo-atsuifont.c (_pango_cairo_atsui_font_new):
Adapt the shear matrix for synthesized italic to work with cairo
1.5.13+, where the quartz surface has been fixed for transformed
text.
Local Variables:
coding: utf-8
End:
vim: encoding=utf-8:
|