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
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
|
2007-08-20 Behdad Esfahbod <behdad@gnome.org>
* pango/opentype/harfbuzz-gsub.c (GSUB_Do_String_Lookup): Don't
ignore error return value of hb_buffer_copy_output_glyph(). Patch
sent to harfbuzz-list.
2007-08-15 Behdad Esfahbod <behdad@gnome.org>
Bug 462630 – pango_cairo_context_set_font_options() and some others
don't have a Since: tag
* pango/pangocairo-context.c: Add missing Since tags to docs.
2007-08-15 Behdad Esfahbod <behdad@gnome.org>
Bug 467077 – Remove special-case for shape attribute in
pango_layout_line_index_to_x()
* pango/pango-layout.c (pango_layout_line_index_to_x): Remove
special-casing for shape-attribute runs. It all works because
pango_glyph_string_index_to_x() is perfectly correct to run on glyphs
returned by _pango_shape_shape().
2007-08-15 Behdad Esfahbod <behdad@gnome.org>
Bug 462420 – Clicking on pixbuf should move the cursor to the position
nearest to the click point
* pango/pango-layout.c (pango_layout_line_x_to_index): Remove
special-casing for shape-attribute runs. It all works because
pango_glyph_string_x_to_index() is perfectly correct to run on glyphs
returned by _pango_shape_shape().
2007-08-15 Behdad Esfahbod <behdad@gnome.org>
Bug 467056 – Shape attribute handling is not consistent
* pango/pango-impl-utils.h:
* pango/pango-layout.c (pango_layout_line_index_to_x), (shape_run),
(pango_layout_line_x_to_index), (pango_layout_run_get_extents),
(update_run):
* pango/pango-renderer.c (pango_renderer_draw_layout_line):
* pango/pango-utils.c (_pango_shape_shape),
(_pango_shape_get_extents):
Fix handling of extents for shaped runs. Previsouly a shaped run
with more than one character was not correctly positioned.
2007-08-14 Behdad Esfahbod <behdad@gnome.org>
Bug 466755 – pango hangul is crashing in gnome-about because it is
failing to retrieve a font.
* pango/pangofc-font.c (pango_fc_font_real_get_glyph),
(pango_fc_font_kern_glyphs), (pango_fc_font_get_raw_extents):
Protect against NULL face.
* pango/shape.c (pango_shape): Improve error message by writing
out shaping engine type name and the text too.
2007-08-14 Behdad Esfahbod <behdad@gnome.org>
* pango/pango-script.h (pango_script_for_unichar): Mark G_GNUC_CONST.
2007-08-09 Behdad Esfahbod <behdad@gnome.org>
Bug 465174 – TextView is ignoring multiple consecutive \t's
* pango/pango-layout.c (get_tab_pos), (shape_tab): Fix two problems
introduced with fix for bug 464183. The code now semantically
matches what it was before changes leading to revision 1734 for
the case that user has set no tabs.
2007-08-08 Behdad Esfahbod <behdad@gnome.org>
* docs/check.docs: Fix typo.
2007-08-07 Behdad Esfahbod <behdad@gnome.org>
Bug 464270 – ellipsize doesn't work consistent
* pango/pango-glyph-item.c (_pango_glyph_item_iter_prev_cluster):
Fix. Was jumping two clusters at a time. Oops!
* pango/ellipsize.c (init_state): Minor cleanup.
2007-08-07 Behdad Esfahbod <behdad@gnome.org>
* MAINTAINERS: Add Userid field.
2007-08-07 Behdad Esfahbod <behdad@gnome.org>
Bug 464183 – Minimum tab width enforcement in pango-layout breaks
TabArray positions
Patch by David Trowbridge
* pango/pango-layout.c (get_tab_pos), (shape_tab): Don't enforce any
minimum space between tabs if tab-array is set on the layout.
2007-08-01 Behdad Esfahbod <behdad@gnome.org>
* pango/Makefile.am:
* pango/glyphstring.c (pango_glyph_string_index_to_x),
(pango_glyph_string_x_to_index):
* pango/mapping.c:
Move contents of mapping.c to glyphstring.c where they belong.
* pango/pango-layout.c (pango_layout_line_x_to_index):
Fix typo.
2007-08-01 Behdad Esfahbod <behdad@gnome.org>
Bug 451682 – Cursor positioning for Sinhala is broken
Based on patch from Harshula
* modules/indic/indic-lang.c (indic_engine_break): Fix bug that
I introduced in the patch.
2007-07-31 Behdad Esfahbod <behdad@gnome.org>
Bug 451682 – Cursor positioning for Sinhala is broken
Based on patch from Harshula
* modules/indic/indic-lang.c (not_cursor_position),
(indic_engine_break):
Clean up cursor position stuff.
2007-07-31 Behdad Esfahbod <behdad@gnome.org>
Bug 462137 – memory corruption in pango_default_break
* pango/break.c (pango_default_break): Handle the case of
an empty string correctly.
2007-07-30 Behdad Esfahbod <behdad@gnome.org>
* === Released 1.17.5 ===
* configure.in: Version 1.17.5
* NEWS: Updated.
2007-07-24 Behdad Esfahbod <behdad@gnome.org>
Bug 150883 – Unicode LRO defect
* modules/arabic/arabic-fc.c (arabic_engine_shape):
* modules/arabic/arabic-ot.c (Get_Joining_Class),
(Arabic_Assign_Properties):
* modules/arabic/arabic-ot.h:
Correctly handle Arabic shaping in left-to-right runs.
2007-07-21 Behdad Esfahbod <behdad@gnome.org>
Part of Bug 347236 – provide pango_cairo_font_get_scaled_font
* docs/Makefile.am:
* docs/pango-sections.txt:
* docs/tmpl/atsui-fonts.sgml:
* docs/tmpl/opentype.sgml:
* docs/tmpl/pango-engine-lang.sgml:
* docs/tmpl/pango-engine-shape.sgml:
* docs/tmpl/pangocairo.sgml:
* pango/pangoatsui.h:
* pango/pangocairo-atsuifont.h:
* pango/pangocairo-font.c (pango_cairo_font_get_scaled_font):
* pango/pangocairo-private.h:
* pango/pangocairo.h:
Export PangoCairoFont and cleanup various standard macros.
2007-07-21 Behdad Esfahbod <behdad@gnome.org>
Bug 449482 – Build error when xft not present
* docs/Makefile.am: Make docs build without xft.
2007-07-21 Behdad Esfahbod <behdad@gnome.org>
* modules/arabic/arabic-fc.c:
* modules/basic/basic-fc.c:
* modules/hebrew/hebrew-fc.c:
* modules/syriac/syriac-fc.c:
* modules/thai/thai-fc.c:
Update copyright headers.
2007-07-10 Behdad Esfahbod <behdad@gnome.org>
* modules/basic/basic-atsui.c: Remove list of supported scripts.
Supporting all is what we really want and that's already there.
2007-07-05 Behdad Esfahbod <behdad@gnome.org>
* modules/basic/Makefile.am:
* modules/basic/basic-fc.c:
* modules/basic/basic-win32.c:
* modules/basic/basic-x.c:
* modules/basic/basic-common.h:
Remove unused empty header file basic-common.h
2007-07-02 Behdad Esfahbod <behdad@gnome.org>
* === Released 1.17.4 ===
* configure.in: Version 1.17.4
* NEWS: Updated.
2007-06-27 Behdad Esfahbod <behdad@gnome.org>
Bug 451547 – FAIL: runtests.sh
* tests/Makefile.am: Don't run tests if cross-compiling.
(though cross-compiling tests work under scratchbox, so I'm not
quite sure how good this change is.)
2007-06-26 Richard Hult <richard@imendio.com>
* pango/pangoatsui.c: (_pango_atsui_font_set_atsu_font_id):
* pango/pangocairo-atsuifont.c:
(pango_cairo_atsui_font_create_metrics_for_context),
(_pango_cairo_atsui_font_new): Move the remaining uses of font_id
from PangoCairoATSUIFont to PangoATSUIFont.
2007-06-24 Richard Hult <richard@imendio.com>
Bug 449543 - Ship pangoatsui.h
* pango/pangoatsui-fontmap.c:
* pango/pangoatsui-private.h:
* pango/pangoatsui.c:
* pango/pangoatsui.h:
* pango/pangocairo-atsuifont.c:
* pango/pangocairo-atsuifont.h: Move get_atsu_font_id from the
cairo atsui font class to the atsui base class. Make the members
of the atsui font private and adapt all users of them.
* pango/Makefile.am: Ship pangoatsui.h.
* modules/basic/basic-atsui.c: (basic_engine_shape): Adapt to the
above changes.
2007-06-21 Behdad Esfahbod <behdad@gnome.org>
* docs/pango.types: Add missing types.
2007-06-20 Behdad Esfahbod <behdad@gnome.org>
* pango/fonts.c (pango_font_description_get_type),
(pango_font_metrics_get_type):
* pango/glyphstring.c (pango_glyph_string_get_type):
* pango/pango-attributes.c (pango_attr_list_get_type):
* pango/pango-color.c (pango_color_get_type):
* pango/pango-item.c (pango_item_get_type):
* pango/pango-language.c (pango_language_get_type):
* pango/pango-layout.c (pango_layout_line_get_type),
(pango_layout_iter_get_type):
* pango/pango-matrix.c (pango_matrix_get_type):
* pango/pango-ot-info.c (pango_ot_info_get_type):
* pango/pango-ot-ruleset.c (pango_ot_ruleset_get_type):
* pango/pango-tabs.c (pango_tab_array_get_type):
* pango/pangoatsui-fontmap.c (pango_atsui_family_get_type),
(pango_atsui_face_get_type):
* pango/pangofc-fontmap.c (pango_fc_face_get_type),
(pango_fc_family_get_type):
* pango/pangowin32-fontmap.c (pango_win32_family_get_type),
(pango_win32_face_get_type):
* pango/pangox-fontmap.c (pango_x_font_map_get_type),
(pango_x_face_get_type), (pango_x_family_get_type):
* pango/pangox.c (pango_x_font_get_type):
Add G_UNLIKELY() to type registration block in _get_type() functions.
2007-06-18 Behdad Esfahbod <behdad@gnome.org>
* === Released 1.17.3 ===
* configure.in: Version 1.17.3
* NEWS: Updated.
2007-06-18 Behdad Esfahbod <behdad@gnome.org>
Bug 448342 – pango_layout_index_to_line_x() counts lines from 1
* pango/pango-layout.c (pango_layout_index_to_line):
Count lines from zero, not one!
2007-06-18 Behdad Esfahbod <behdad@gnome.org>
* configure.in:
* tests/cxx-test.C: Include pangocairo.h too.
2007-06-18 Behdad Esfahbod <behdad@gnome.org>
Bug 447568 – improve docs on what absolute size means
* pango/fonts.c: Improve docs.
2007-06-15 Hans Breuer <hans@breuer.org>
* pango/makefile.msc : updated
2007-06-14 Behdad Esfahbod <behdad@gnome.org>
* pango/pangocairo-font.c
(_pango_cairo_font_private_scaled_font_data_destroy):
Check for NULL before dereferencing. Patch from Keith Packard.
2007-06-13 Behdad Esfahbod <behdad@gnome.org>
Bug 447189 – fonts.c: pango_font_face_is_synthesized returns NULL
* pango/fonts.c (pango_font_face_is_synthesized): Fix
return value.
2007-06-12 Behdad Esfahbod <behdad@gnome.org>
* pango/pango-attributes.c (pango_attr_font_desc_equal):
Compare set fields of two font descriptions for equality
too, as pango_font_description_equal() doesn't check the
mask.
2007-06-12 Richard Hult <richard@imendio.com>
* pango/pangocairo-atsuifontmap.c: Implement
get_font_type().
2007-06-12 Tor Lillqvist <tml@novell.com>
* pango/pangocairo-win32fontmap.c: Implement
PangoCairoWin32FontMap::get_font_type().
2007-06-12 Tor Lillqvist <tml@novell.com>
* pango/pangowin32-private.h (struct PangoWin32Face): Add
is_synthetic field.
* pango/pangowin32-fontmap.c: Implement
PangoWin32Face::is_synthesized().
* pango/pangocairo-win32font.c
* pango/pangocairo-win32fontmap.c: Update for the changes to
PangoCairoFontMap and PangoCairoFont.
2007-06-12 Behdad Esfahbod <behdad@gnome.org>
Bug 445832 – pango_cairo_update_layout() always invalidates layout
* pango/pangocairo-context.c (_pango_cairo_update_context),
(pango_cairo_update_context), (pango_cairo_update_layout):
Don't invalidate layout if matrix and font options didn't change.
2007-06-11 Behdad Esfahbod <behdad@gnome.org>
* pango/pango-attributes.h:
* pango/pango-font.h:
* pango/pango-glyph.h:
* pango/pango-gravity.h:
* pango/pango-language.h:
* pango/pango-layout.h:
* pango/pango-matrix.h:
* pango/pango-ot-private.h:
* pango/pango-ot.h:
* pango/pango-renderer.h:
* pango/pango-script.h:
* pango/pango-tabs.h:
* pango/pango-utils.h:
* pango/pangoatsui-private.h:
* pango/pangocairo-atsui.h:
* pango/pangocairo-atsuifont.h:
* pango/pangocairo-fc.h:
* pango/pangocairo-private.h:
* pango/pangocairo-win32.h:
* pango/pangocairo.h:
* pango/pangofc-decoder.h:
* pango/pangofc-font.h:
* pango/pangofc-fontmap.h:
* pango/pangoft2-private.h:
* pango/pangoft2.h:
* pango/pangowin32-private.h:
* pango/pangox-private.h:
* pango/pangoxft-render.h:
* pango/pangoxft.h:
Add G_GNUC_CONST and G_GNUC_PURE annotations.
2007-06-11 Behdad Esfahbod <behdad@gnome.org>
* pango/pango-ot.h: New engine public macros:
PANGO_OT_TAG_MAKE()
PANGO_OT_TAG_MAKE_FROM_STRING()
* docs/pango-sections.txt:
* docs/tmpl/opentype.sgml:
Update.
2007-06-11 Behdad Esfahbod <behdad@gnome.org>
Bug 446018 – Bus error in the pango_ot_tag_from_language()
* pango/pango-ot-tag.c (pango_ot_tag_from_script),
(pango_ot_tag_to_script), (pango_ot_tag_from_language),
(pango_ot_tag_to_language): Make sure int access is
aligned.
2007-06-12 Richard Hult <richard@imendio.com>
* pango/pangoatsui-fontmap.c (pango_atsui_face_is_synthesized):
Implement is_synthesized for the ATSUI backend.
2007-06-11 Behdad Esfahbod <behdad@gnome.org>
Bug 440588 – Add pango_font_face_is_synthesized()
* pango/pango-font.h:
* pango/fonts.c:
New PangoFontFace method is_synthesized.
New public API:
pango_font_face_is_synthesized()
* pango/pangofc-fontmap.c (pango_fc_face_is_synthesized):
Implement new method.
* docs/pango-sections.txt:
* docs/tmpl/fonts.sgml:
* pango/pango.def:
Update.
2007-06-12 Richard Hult <richard@imendio.com>
* pango/pangocairo-atsuifont.c:
* pango/pangocairo-atsuifontmap.c: Update for the changes to
PangoCairoFontMap and PangoCairoFont.
2007-06-11 Behdad Esfahbod <behdad@gnome.org>
Bug 446355 – the parsing with pango_parse_markup is not coherent
* pango/pango-markup.c (pango_parse_markup): Use
pango_attr_list_insert() instead of pango_attr_list_change() as
merging adjacent attributes of the same kind is not a safe operation
and can change the derived font of a segment in an unexpected and
incorrect way.
2007-06-11 Behdad Esfahbod <behdad@gnome.org>
* pango/pangocairo-fontmap.c: Make sure all enabled font backends
included (reported by Vincent Isambart).
2007-06-11 Behdad Esfahbod <behdad@gnome.org>
* docs/pango_markup.sgml: Add 'gravity', 'gravity_hint', and
'letter_spacing' span attributes.
2007-06-11 Behdad Esfahbod <behdad@gnome.org>
Bug 438801 – underline should add "error" type.
* docs/pango_markup.sgml: Add "error" underline type to docs.
2007-06-10 Behdad Esfahbod <behdad@gnome.org>
Bug 347236 – provide pango_cairo_font_get_scaled_font
Bug 347235 – Add pango_cairo_font_map_get_font_type
Bug 353291 – Provide pango_cairo_font_map_new_for_font_type
* pango/pangocairo-font.c: New public API:
pango_cairo_font_get_scaled_font()
* pango/pangocairo-fontmap.c: New public API:
pango_cairo_font_map_new_for_font_type()
pango_cairo_font_map_get_font_type()
* pango/pangocairo-fcfontmap.c:
Implement get_font_type() method.
* pango/pangocairo.h:
* pango/pangocairo-private.h:
* docs/pango-sections.txt:
* docs/tmpl/pangocairo.sgml:
* pango/pangocairo.def:
Update.
2007-06-09 Behdad Esfahbod <behdad@gnome.org>
Bug 337593 – move glyph extents code (and cache) from
pangocairo-*font.c into pangocairo-font.c
* pango/pangocairo-fontmap.c:
* pango/pangocairo-fcfontmap.c:
Remove per-fontmap renderer. We've not been using it for a while
and there is no reason to use it.
* pango/pangocairo-font.c
* pango/pangocairo-fcfont.c:
Most most code (including glyph extents caching) from fcfont.c to
font.c. Simplifies individual backends a lot. ATSUI and Win32
cairo backends should adapt.
* pango/pangocairo-render.c
* pango/pangocairo-private.h:
Update to reflect above changes.
2007-06-05 Behdad Esfahbod <behdad@gnome.org>
* pango/fonts.c (pango_font_description_merge),
(pango_font_description_merge_static),
(pango_font_description_copy),
(pango_font_description_copy_static),
(pango_font_description_hash), (pango_font_description_to_string),
(pango_font_description_to_filename):
Add missing g_return_if_fail()s. Pointed out by fcrozat.
2007-06-04 Behdad Esfahbod <behdad@gnome.org>
* pango/shape.c (pango_shape): Zero glyphs->num_glyphs before
calling into shape engine.
* pango/pango-engine.c (fallback_engine_shape): Improve, to support
clusters and what not.
* pango/pangocairo-font.c (_pango_cairo_font_get_hex_box_info):
Use "pango_script_get_sample_language (PANGO_SCRIPT_LATIN)" instead
of hardcoding "en".
Handle cairo_scaled_font_extents() failure.
2007-06-04 Behdad Esfahbod <behdad@gnome.org>
* === Released 1.17.2 ===
* configure.in: Version 1.17.2
* NEWS: Updated.
2007-06-03 Behdad Esfahbod <behdad@gnome.org>
* docs/tmpl/main.sgml:
* pango/pango-layout.c (process_item):
* pango/pango-ot-info.c:
* pango/pango-renderer.c (pango_renderer_draw_layout_line):
Fix various typos reported by Peter Moulder.
2007-06-03 Behdad Esfahbod <behdad@gnome.org>
* docs/pango-sections.txt:
* docs/tmpl/opentype.sgml:
* modules/arabic/arabic-fc.c (arabic_engine_shape):
* modules/basic/basic-fc.c (basic_engine_shape):
* modules/hebrew/hebrew-fc.c (hebrew_engine_shape):
* modules/indic/indic-fc.c (indic_engine_shape):
* modules/khmer/khmer-fc.c (khmer_engine_shape):
* modules/syriac/syriac-fc.c (syriac_engine_shape):
* modules/thai/thai-fc.c (thai_engine_shape):
* modules/tibetan/tibetan-fc.c (tibetan_engine_shape):
* pango/pango-ot-ruleset.c (pango_ot_ruleset_get_for_description),
(pango_ot_ruleset_new_from_description):
* pango/pango-ot.h:
* pango/pangoft2.def:
Rename pango_ot_ruleset_get_for() to
pango_ot_ruleset_get_for_description().
New engine API: pango_ot_ruleset_new_from_description().
2007-06-02 Behdad Esfahbod <behdad@gnome.org>
Bug 443206 – PANGO_SCRIPT_UNKNOWN should not cause a run break
Patch from Martin Hosken
* pango/pango-script.c: Treat Unknown script like Common and other
non-"real" scripts.
2007-05-31 Behdad Esfahbod <behdad@gnome.org>
* pango/pango-layout.c: Improve docs.
2007-05-28 Behdad Esfahbod <behdad@gnome.org>
* === Released 1.17.1 ===
* configure.in: Version 1.17.1
* NEWS: Updated.
2007-05-28 Behdad Esfahbod <behdad@gnome.org>
* pango-view/test-mixed.markup:
* pango-view/test-mixed.txt:
Fix Japanese text. Patch from Ben Konrath
2007-05-25 Behdad Esfahbod <behdad@gnome.org>
* pango/mini-fribidi/fribidi_tab_char_type_2.i:
Fix wrong Unicode version in header.
2007-05-24 Behdad Esfahbod <behdad@gnome.org>
Bug 357790 – Rendering problem for malayalam consonant RA (U+0D30)
* modules/indic/indic-ot-class-tables.c:
* modules/indic/indic-ot.c (indic_ot_reorder):
Commit remaining fix for malayalam.
2007-05-24 Behdad Esfahbod <behdad@gnome.org>
* docs/tmpl/opentype.sgml:
* docs/tmpl/pango-engine-lang.sgml:
* docs/tmpl/pango-engine-shape.sgml:
Add stability note.
2007-05-24 Behdad Esfahbod <behdad@gnome.org>
* docs/tmpl/vertical.sgml: Document how Pango's vertical text support
works.
2007-05-23 Behdad Esfahbod <behdad@gnome.org>
Part of Bug 440603 – Minor ABI change
* pango/pango-context.c (pango_context_init),
(pango_context_set_language), (pango_context_get_language):
Make itemization use pango_language_get_default() if context has no
language set on it. Ditto for pango_context_get_metrics() if both
input language and context language are NULL.
2007-05-22 Behdad Esfahbod <behdad@gnome.org>
* pango-view/Makefile.am:
* pango-view/test-nko.txt:
New test text for N'Ko.
2007-05-22 Behdad Esfahbod <behdad@gnome.org>
Bug 440603 – Minor ABI change
* pango/pango-language.c (pango_language_includes_script):
* pango/pango-ot-tag.c (pango_ot_tag_from_language):
Accept language == NULL as legitimate input.
2007-05-20 Richard Hult <richard@imendio.com>
* pango/pangocairo-atsuifont.c: (_pango_cairo_atsui_font_new): Improve
the fix for bug #433805 so that the metrics actually are right, thanks
to Mitch for noticing and debugging help.
2007-05-16 Behdad Esfahbod <behdad@gnome.org>
Bug 438705 – Test runs non-existent "/bin/bash" on HP-UX 11.11
* docs/check.docs:
* pango/check.defs:
Use /bin/sh instead of /bin/bash.
2007-05-16 Behdad Esfahbod <behdad@gnome.org>
* pango-view/Makefile.am:
* pango-view/test-opentype-language.markup:
Add a test file showing off OpenType language-system support
used with DejaVu Sans.
2007-05-16 Behdad Esfahbod <behdad@gnome.org>
Bug 438814 – synaptic crash with pango 1.17.0
* pango/pango-layout.c (process_item): Make sure we find some break
point even if overflowing the line.
2007-05-15 Behdad Esfahbod <behdad@gnome.org>
* modules/hebrew/hebrew-fc.c (hebrew_engine_shape):
Port to new OpenType APIs. Add standard features.
2007-05-15 Behdad Esfahbod <behdad@gnome.org>
* modules/thai/Makefile.am:
* modules/thai/thai-fc.c (thai_get_font_info), (thai_engine_shape),
(thai_make_unknown_glyph):
* modules/thai/thai-shaper.c (get_glyphs_list), (add_cluster),
(thai_set_glyphs):
* modules/thai/thai-shaper.h:
Port to new OpenType APIs and cleanup a bit. Add standard features.
* modules/thai/thai-ot.c:
* modules/thai/thai-ot.h:
Removed. Not needed anymore.
2007-05-15 Behdad Esfahbod <behdad@gnome.org>
Bug 385168 – indic, khmer, and tibetan modules don't apply ccmp
Bug 385477 – kern feature is not supported in OpenType layout for
Tibetan.
* modules/khmer/khmer-fc.c (khmer_engine_shape):
* modules/tibetan/tibetan-fc.c (tibetan_engine_shape):
Port to new OpenType APIs. Add standard features (ccmp,
locl, calt, kern, mark, mkmk).
2007-05-15 Behdad Esfahbod <behdad@gnome.org>
* modules/indic/indic-fc.c:
Add ccmp, locl, calt; kern, mark, and mkmk features.
2007-05-15 Behdad Esfahbod <behdad@gnome.org>
* pango/pango-ot.h:
* pango/pango-ot-private.h:
* pango/pango-ot-ruleset.c (pango_ot_ruleset_add_feature),
(pango_ot_ruleset_get_feature_count):
Add new engine API:
pango_ot_ruleset_get_feature_count()
* docs/pango-sections.txt:
* docs/tmpl/opentype.sgml:
* pango/pangoft2.def:
Updated.
2007-05-15 Behdad Esfahbod <behdad@gnome.org>
* modules/arabic/arabic-fc.c (arabic_engine_shape):
* modules/basic/basic-fc.c (basic_engine_shape):
* modules/syriac/syriac-fc.c (syriac_engine_shape):
Move ruleset creation after populating buffer.
2007-05-15 Behdad Esfahbod <behdad@gnome.org>
* modules/indic/indic-fc.c (indic_engine_shape), (create):
Port to new OpenType APIs.
2007-05-15 Behdad Esfahbod <behdad@gnome.org>
Bug 436699 – N'Ko support
Patch by Eugeniy Meshcheryakov
* modules/arabic/arabic-fc.c (create):
* modules/arabic/arabic-ot.c (Get_Joining_Class):
Add N'Ko support to the Arabic module.
2007-05-15 Richard Hult <richard@imendio.com>
Bug 433805 - [Atsui] Approximate char/digit width width often 0
* pango/pangocairo-atsuifont.c:
(pango_cairo_atsui_font_get_metrics): Improve the metrics so it really
is average instead of max glyph width. Also keep the metrics per
language in the font so it's not constantly recreated.
(pango_cairo_atsui_font_describe_absolute): Implement.
* pango/pangocairo-atsuifontmap.c: Set default resolution.
2007-05-15 Behdad Esfahbod <behdad@gnome.org>
* pango-view/Makefile.am: Add various test txt files recently
added.
* pango-view/test-mixed.markup: A language-tagged version of
test-mixed.txt.
2007-05-14 Behdad Esfahbod <behdad@gnome.org>
* === Released 1.17.0 ===
* configure.in: Version 1.17.0
* NEWS: Updated.
2007-05-14 Behdad Esfahbod <behdad@gnome.org>
Bug 325714 – Pango should respect $LANGUAGE
* pango/pango-language.c (pango_language_matches),
(parse_default_languages), (_pango_script_get_default_language),
(pango_script_get_sample_language):
Make pango_script_get_sample_language() use the value of env var
PANGO_LANGUAGE or LANGUAGE (checked in that order) to make better
guesses. The env var should be a list of language tags, like "en:fa"
for example where makes Pango choose Persian (fa) fonts instead of
Arabic (ar) fonts...
2007-05-14 Behdad Esfahbod <behdad@gnome.org>
* pango/pango-language.c (pango_script_get_sample_language):
* pango/pango-script.c: Move pango_script_get_sample_language()
from pango-script.c to pango-language.c. Fits better.
2007-05-14 Behdad Esfahbod <behdad@gnome.org>
Part of Bug 325714 – Pango should respect $LANGUAGE
Bug 414264 – Pango vertical writing support is different with real
CJK usage.
* modules/arabic/arabic-fc.c (arabic_engine_shape):
* modules/basic/basic-fc.c (basic_engine_shape):
* modules/syriac/syriac-fc.c (syriac_engine_shape):
Remove fallback_shape() paths. Remove get_ruleset().
Use pango_ot_ruleset_get_for(), that correctly works for multiple
languages. Also makes basic shaper apply the 'vert' feature for
vertical text. Removes a net 500 lines.
Other OpenType modules need to be ported over time, however some
extensions may be needed. For example, the Hebrew shaper uses
fallback code if no GPOS tables are available. Currently using
pango_ot_ruleset_get_for() one cannot see which features were
found.
2007-05-14 Behdad Esfahbod <behdad@gnome.org>
Part of Bug 414264 – Pango vertical writing support is different with
real CJK usage.
* pango-view/test-mixed.txt: Add a line of Japanese text that
has brackets that should be rotated in vertical text.
2007-05-14 Behdad Esfahbod <behdad@gnome.org>
Part of Bug 325714 – Pango should respect $LANGUAGE
* pango/pango-ot.h:
* pango/pango-ot-ruleset.c (pango_ot_ruleset_get_for),
(pango_ot_ruleset_description_hash),
(pango_ot_ruleset_description_equal),
(pango_ot_ruleset_description_copy),
(pango_ot_ruleset_description_free):
Add new engine API:
PangoOTRulesetDescription
pango_ot_ruleset_get_for()
pango_ot_ruleset_description_hash()
pango_ot_ruleset_description_equal()
pango_ot_ruleset_description_copy()
pango_ot_ruleset_description_free()
The main addition is pango_ot_ruleset_get_for() that
takes a ruleset description, ie. script/language and list
of GSUB/GPOS features to apply, and returns a ruleset.
It manages all the work to cache rulesets, so modules
don't have to do that anymore. Given that modules do not
deal with just one ruleset anymore (because we want to
respect language, and allow user-selected features), this
makes their life way easier.
* docs/pango-sections.txt:
* docs/tmpl/opentype.sgml:
Update.
2007-05-14 Behdad Esfahbod <behdad@gnome.org>
* pango/pango-ot-buffer.c (pango_ot_buffer_get_glyphs),
(pango_ot_buffer_output):
* pango/pango-ot-ruleset.c (pango_ot_ruleset_substitute),
(pango_ot_ruleset_position):
* pango/pango-ot.h:
Mark some arguments const.
2007-05-13 Behdad Esfahbod <behdad@gnome.org>
Part of Bug 325714 – Pango should respect $LANGUAGE
* pango/pango-ot.h:
* pango/pango-ot-private.h:
* pango/pango-ot-tag.c (pango_ot_tag_from_script),
(pango_ot_tag_from_language):
* pango/pango-ot-info.c (pango_ot_info_find_script),
(pango_ot_info_find_language), (pango_ot_info_find_feature),
(pango_ot_info_list_languages), (pango_ot_info_list_features):
* pango/pango-ot-ruleset.c (pango_ot_ruleset_new),
(pango_ot_ruleset_new_for), (pango_ot_ruleset_add_feature),
(pango_ot_ruleset_maybe_add_feature),
(pango_ot_ruleset_maybe_add_features):
Add new engine API:
PANGO_OT_NO_FEATURE
PANGO_OT_NO_SCRIPT
PANGO_OT_TAG_DEFAULT_SCRIPT
PANGO_OT_TAG_DEFAULT_LANGUAGE
pango_ot_ruleset_new_for()
pango_ot_ruleset_maybe_add_feature()
pango_ot_ruleset_maybe_add_features()
Using pango_ot_ruleset_new_for() and
pango_ot_ruleset_maybe_add_features() drastically simplifies ruleset
building in modules, and does correct script and language selection
too. Modules need to be updated to use it though.
* docs/pango-docs.sgml:
* docs/pango-sections.txt:
* docs/tmpl/opentype.sgml:
Update.
2007-05-13 Behdad Esfahbod <behdad@gnome.org>
* pango-view/viewer-render.c (do_output), (parse_options):
Add --language.
2007-05-10 Behdad Esfahbod <behdad@gnome.org>
* modules/arabic/arabic-fc.c (maybe_add_gsub_feature),
(maybe_add_gpos_feature), (get_ruleset):
* modules/basic/basic-fc.c (get_ruleset):
* modules/hebrew/hebrew-fc.c (maybe_add_gsub_feature),
(maybe_add_gpos_feature), (get_ruleset):
* modules/indic/indic-fc.c (maybe_add_GSUB_feature),
(maybe_add_GPOS_feature):
* modules/khmer/khmer-fc.c (maybe_add_GSUB_feature),
(maybe_add_GPOS_feature):
* modules/syriac/syriac-fc.c (maybe_add_gsub_feature),
(maybe_add_gpos_feature), (get_ruleset):
* modules/thai/thai-ot.c (maybe_add_gsub_feature),
(maybe_add_gpos_feature), (thai_ot_get_ruleset),
(lao_ot_get_ruleset):
* modules/tibetan/tibetan-fc.c (maybe_add_GSUB_feature),
(maybe_add_GPOS_feature):
Use PANGO_OT_DEFAULT_LANGUAGE and PANGO_OT_ALL_GLYPHS instead
of hardcoded 0xFFFF.
2007-05-10 Behdad Esfahbod <behdad@gnome.org>
* ChangeLog.pre-1-16: Split ChangeLog.
2007-05-10 Behdad Esfahbod <behdad@gnome.org>
* pango/Makefile.am:
* pango/pango-ot.h:
* pango/pango-ot-tag.c (pango_ot_tag_from_script),
(pango_ot_tag_to_script), (lang_compare_first_component),
(pango_ot_tag_from_language), (pango_ot_tag_to_language):
New public API:
PANGO_OT_DEFAULT_SCRIPT
pango_ot_tag_from_script()
pango_ot_tag_to_script()
pango_ot_tag_from_language()
pango_ot_tag_to_language()
* tests/Makefile.am:
* tests/test-ot-tags.c:
Test case for new functions.
* pango/pangoft2.def:
* docs/pango-docs.sgml:
* docs/pango-sections.txt:
* docs/tmpl/main.sgml:
* docs/tmpl/opentype.sgml:
Updated.
2007-05-10 Behdad Esfahbod <behdad@gnome.org>
Bug 437534 – pango_language_includes_script is buggy
* pango/pango-language.c (lang_compare_first_component),
(lang_info_compare), (script_for_lang_compare),
(pango_language_includes_script): Fix script_for_lang table lookup.
2007-05-10 Behdad Esfahbod <behdad@gnome.org>
* pango/pangofc-fontmap.c (pango_fc_font_description_from_pattern),
(pango_fc_face_describe): Don't set gravity in
pango_fc_font_description_from_pattern() if it was not set on the
pattern. This is a bit different from other properties, but that
really is how gravity works (unlike say weight that not having it said
means normal weight).
2007-05-09 Behdad Esfahbod <behdad@gnome.org>
* pango/pango-script-lang-table.h: Update from latest fontconfig
sources.
* tools/gen-script-for-lang.c (scripts_for_line): Make it handle
PANGO_SCRIPT_UNKNOWN.
2007-05-09 Behdad Esfahbod <behdad@gnome.org>
* pango/pango-language.c (script_for_lang_compare),
(pango_language_includes_script):
* pango/pango-script.c: Move pango_language_includes_script() from
pango-script.c to pango-language.c that it belongs.
2007-05-08 Behdad Esfahbod <behdad@gnome.org>
* pango/pango-matrix.h: Minor include reordering.
2007-05-08 Behdad Esfahbod <behdad@gnome.org>
* pango/Makefile.am:
* pango/pango-script.h:
* pango/pango-types.h:
* pango/pango-utils.c:
* pango/pango-language.c:
* pango/pango-language.h:
Move PangoLanguage stuff into pango-language.[ch]
2007-05-08 Behdad Esfahbod <behdad@gnome.org>
Bug 436988 – Adding PangoScript to PangoAnalysis
* pango/pango-item.h:
* pango/pango-context.c (itemize_state_add_character):
Add a 'script' member to PangoAnalysis. It's added as a guint8
in the padding available in that struct, though it's value is a
PangoScript.
* pango/pangox.c (itemize_string_foreach):
Update.
2007-05-08 Behdad Esfahbod <behdad@gnome.org>
Bug 416515 – Time is not aligned with date on vertical panel
* pango/pango-context.c (itemize_state_init),
(itemize_state_update_for_new_run): centered_baseline should only
be set from context->resolved_gravity and never changed through
markup. This means that pango_context_set_base_gravity has no
equivalent markup. Doesn't sound limiting to me: you need to rotate
the layout to get real vertical, so it's not just a matter of markup
anyway. At least not at this point.
2007-05-07 Behdad Esfahbod <behdad@gnome.org>
Bug 436154 – Error building the pango.modules file while cross
compiling
* modules/Makefile.am: Make local pango.module generation work with
cross-compilation.
2007-05-05 Richard Hult <richard@imendio.com>
Bug 434160 - [atsui] Italic versions of some faces can't be created
* pango/pangoatsui-fontmap.c:
* pango/pangoatsui-private.h:
* pango/pangocairo-atsuifont.c: Follow the other backends and create
italic faces when they are not available. Apply synthetic italic
in two cases, when the font manager hands out italic faces that are
not in fact italic, and for the ones we've created ourselves.
2007-05-04 Behdad Esfahbod <behdad@gnome.org>
Bug 435709 – pango_cairo_context_[sg]et_shape_renderer()
* pango/pangocairo.h:
* pango/pangocairo-context.c:
* pango/pangocairo-render.c:
New API
PangoCairoShapeRendererFunc and
pango_cairo_context_[sg]et_shape_renderer()
* docs/pango-sections.txt, docs/tmpl/pangocairo.sgml: Document new API.
* examples/Makefile.am, examples/cairoshape.c: New example to show off
new API/feature.
2007-05-04 Behdad Esfahbod <behdad@gnome.org>
* pango/Makefile.am:
* pango/pangocairo-context.c:
* pango/pangocairo-fontmap.c:
Rip non-fontmap stuff from pangocairo-fontmap.c into
pangocairo-context.c.
2007-05-03 Behdad Esfahbod <behdad@gnome.org>
* pango/pango-context.c (pango_itemize): Improve docs about freeing
returned items.
2007-05-03 Behdad Esfahbod <behdad@gnome.org>
* pango-view/test-long-paragraph.txt: New test text that contains a
Persian monologue by YarAli PourMoghaddam which is a single paragraph
of more than 10,000 chars and 2,400 words. Used for testing the
effect of previous change.
2007-05-03 Behdad Esfahbod <behdad@gnome.org>
* pango/pango-layout.c (process_item): When breaking item to fit it
into current line, go from the beginning, adding char at a time until
it doesn't fit anymore instead of removing chars from the end. The
difference is a O(n) as opposed to O(n^2) algorithm were n is the
number of lines in the paragraph (assuming constant chars per line).
2007-05-03 Behdad Esfahbod <behdad@gnome.org>
* pango-view/viewer-render.c (output_body), (do_output): Save
one layout rendering per view. Down to two from three now.
2007-05-02 Behdad Esfahbod <behdad@gnome.org>
* pango-view/test-justify.txt: New test text with long Latin and
Arabic lines, suitable for --justify testing.
2007-05-02 Behdad Esfahbod <behdad@gnome.org>
Bug 64538 – pango_layout_set_justify() doesn't work
* pango/pango-layout.c (process_item), (justify_clusters),
(justify_words): If no space found, justify by inserting space
between clusters.
2007-05-02 Behdad Esfahbod <behdad@gnome.org>
* pango/pango-glyph-item.c (pango_glyph_item_letter_space):
* pango/pango-item.c (pango_item_split):
* pango/pango-layout.c (distribute_letter_spacing), (shape_run),
(debug), (process_item), (process_line), (pad_glyphstring_right),
(pad_glyphstring_left), (zero_line_final_space),
(adjust_line_letter_spacing), (pango_layout_line_postprocess):
Fix letter-spacing with justification. We now distribute
letter-spacing equally on both sides of clusters, instead of putting
it all on one side.
2007-05-02 Behdad Esfahbod <behdad@gnome.org>
Bug 64538 – pango_layout_set_justify() doesn't work
* pango/pango-layout.c (zero_line_final_space), (justify_clusters),
(justify_words), (pango_layout_line_postprocess): Implement
justification by expanding spaces!
Based on early patch from Mathias Hasselmann.
2007-05-02 Behdad Esfahbod <behdad@gnome.org>
Patch from Mathias Hasselmann
* docs/tmpl/main.sgml:
* pango/break.c (pango_default_break):
* pango/pango-break.h:
Add is_expandable_space to PangoLogAttr.
2007-05-02 Mathias Hasselmann <mathias.hasselmann@gmx.de>
* pango-view/viewer-render.c (make_layout), (parse_options):
Add --justify.
2007-05-02 Behdad Esfahbod <behdad@gnome.org>
Bug 355789 – Pango misaligns word-wrapped text due to trailing
whitespace
* pango/pango-layout.c (zero_line_final_space),
(pango_layout_line_postprocess): Make logical-final whitespace
on wrapped lines zero-width.
2007-05-02 Behdad Esfahbod <behdad@gnome.org>
* pango/pango-layout.c (process_line), (pango_layout_check_lines):
Keep track of line start_offset in break state.
2007-05-02 Behdad Esfahbod <behdad@gnome.org>
* pango/pango-layout.c (process_line),
(pango_layout_line_postprocess): Add a "wrapped" argument to
pango_layout_line_postprocess(). Going to use it for eg whether we
should justify the line.
2007-05-02 Behdad Esfahbod <behdad@gnome.org>
* pango/pango-layout.c (process_line): Set is_wrapped to true on
BREAK_EMPTY_FIT too.
2007-05-02 Behdad Esfahbod <behdad@gnome.org>
* pango/pango-layout-private.h: Remove stale prototype of
_pango_layout_iter_get_line_readonly().
2007-05-01 Behdad Esfahbod <behdad@gnome.org>
* pango/pango-layout.c (get_items_log_attrs): Add note about
how we should not be using pango_break() here.
2007-04-28 Mathias Hasselmann <mathias.hasselmann@gmx.de>
* pango-view/viewer-render.c (make_layout), (parse_alignment),
(parse_options): Add option for testing text alignment.
2007-04-30 Behdad Esfahbod <behdad@gnome.org>
* pango/opentype/Makefile.am: Link freetype to harfbuzz-dump, for
those systems that don't track dependencies automatically.
2007-04-30 Behdad Esfahbod <behdad@gnome.org>
* docs/pango-sections.txt:
* docs/tmpl/glyphs.sgml:
Add PANGO_UNITS_ROUND to docs.
2007-04-30 Behdad Esfahbod <behdad@gnome.org>
* pango/pango-types.h: Move PANGO_UNITS_ROUND here...
* pango/pangofc-private.h: ...from here.
* pango/pango-gravity.c: Document that pango_gravity_to_rotation()
returns angle in radians but pango_matrix_rotate() takes degrees.
* pango/pango-layout.c (pango_layout_run_get_extents):
* pango/pango-renderer.c (pango_renderer_draw_layout_line):
Retain metrics hinting when centering baseline (used for Latin, etc
in vertical mode).
* pango/pangocairo-fcfont.c (pango_cairo_fc_font_get_metrics),
(pango_cairo_fc_font_glyph_extents_cache_init): Respect metrics
hinting setting when moving glyphs around for vertical writing.
* pango/pangocairo-fcfont.c (_pango_cairo_fc_font_new): Apply
the gravity rotation before the pattern's matrix, such that
vertical text gets correct italic direction.
* pango/pangocairo-font.c (_pango_cairo_font_get_hex_box_info):
Make hexbox font inherit most properties from the current font.
That is, bold hexbox digits for a bold font, etc.
2007-04-30 Tor Lillqvist <tml@novell.com>
* pango/pangowin32-fontmap.c (get_family_nameA, get_family_nameW):
A font name in encoding UCS4_ENCODING_ID actually is in UTF-16,
not UCS-4. (#429397, Akihiro Okamura)
2007-04-27 Richard Hult <richard@imendio.com>
* modules/basic/basic-atsui.c (basic_engine_shape): Correct the
signature by making PangoAnalysis const, fixes build warning.
2007-04-27 Richard Hult <richard@imendio.com>
* pango/pangocairo-atsuifont.c (pango_cairo_atsui_font_get_metrics):
Use maxAdvanceWidth instead of avgAdvanceWidth, the latter is 0 for
many fonts. This is a temporary solution, see bug #433805 for details.
2007-04-27 Behdad Esfahbod <behdad@gnome.org>
* === Released 1.16.4 ===
* configure.in: Version 1.16.4
* NEWS: Updated.
2007-04-27 Behdad Esfahbod <behdad@gnome.org>
Bug 432991 – developer docs for libpango are broken
* configure.in: Add --disable-doc-cross-references.
* docs/Makefile.am: Make sure --disable-doc-cross-references is
set in order to make dist.
* Makefile.am: Add --disable-doc-cross-references to
DISTCHECK_CONFIGURE_FLAGS.
2007-04-23 Behdad Esfahbod <behdad@gnome.org>
* === Released 1.16.3 ===
* configure.in: Version 1.16.3
* NEWS: Updated.
2007-04-18 Behdad Esfahbod <behdad@gnome.org>
* pango/pangocairo-font.c (_pango_cairo_font_get_hex_box_info):
Improved hexbox position.
2007-04-12 Behdad Esfahbod <behdad@gnome.org>
* pango/pango-ot-buffer.c (apply_gpos_ltr), (apply_gpos_rtl),
(pango_ot_buffer_output):
* pango/pango-types.h:
* pango/pangofc-font.c (pango_fc_font_kern_glyphs):
* pango/pangofc-private.h:
Quantize kerning adjustment, otherwise all the metrics hinting
effort will be ruined by a non-whole-pixel kerning value.
In the future we want to take lsb_delta and rsb_delta into the
game before quantizing the adjustment here, but we don't have
those values handy right now.
2007-04-09 Behdad Esfahbod <behdad@gnome.org>
* === Released 1.16.2 ===
* configure.in: Version 1.16.2
* NEWS: Updated.
2007-04-03 Behdad Esfahbod <behdad@gnome.org>
* pango/opentype/harfbuzz-gdef.c (_HB_GDEF_Check_Property):
* pango/opentype/harfbuzz-gpos.c (HB_Done_GPOS_Table),
(Lookup_PairPos):
* pango/opentype/harfbuzz-open.c (Get_Class1):
Copy fixes from harfbuzz stable branch. Includes a leak fix,
a kerning fix, and an array out-of-bound access fix.
2007-04-01 Behdad Esfahbod <behdad@gnome.org>
* modules/Makefile.am: Add EXEEXT around to make it build on OS/2
Patch from Dave Yeo.
2007-03-18 Richard Hult <richard@imendio.com>
Bug 419262 - Don't create coverage every time it's asked for
* pango/pangoatsui.c: (pango_atsui_font_get_coverage):
* pango/pangoatsui-fontmap.c: Pass around a PangoATSUIFace instead of
the postscript name string. Move the coverage creation from the font to
the face, and get the coverage from the face instead of creating it
every time.
* pango/pangocairo-atsui.h:
* pango/pangocairo-atsuifont.c: (_pango_cairo_atsui_font_new): Use the
face instead of the postscript name.
* pango/pangoatsui-private.h:
* pango/pangocairo-atsuifontmap.c: Add getters for the postscript name
and coverage for the face.
2007-03-14 Tor Lillqvist <tml@novell.com>
* pango/pangowin32-fontmap.c: Add missing declaration of
pango_win32_family_get_type(). (#417946, Ivan Wong)
2007-03-12 Behdad Esfahbod <behdad@gnome.org>
* docs/pango-sections.txt:
* pango/pangowin32-fontmap.c:
* pango/pangowin32.c:
Add new symbols to docs.
2007-03-12 Behdad Esfahbod <behdad@gnome.org>
* === Released 1.16.1 ===
* configure.in: Version 1.16.1
* NEWS: Updated.
* README: Updated.
2007-03-10 Tor Lillqvist <tml@novell.com>
* pango/pangowin32-private.h
* pango/pangowin32.c
* pango/pangowin32-fontcache.c
* pango/pangowin32-fontmap.c
* pango/pangocairo-win32font.c
* pango/pangowin32.def: Move functions defined in one file and
used in another to the file where used, make them static, and drop
from pangowin32-private.h. Prefix all private non-static functions
with underscore. Also functions used only by the pangocairo DLL
are considered private. (#120195)
2007-03-10 Tor Lillqvist <tml@novell.com>
* README: Uniscribe is optional only at run-time.
2007-03-07 Tor Lillqvist <tml@novell.com>
* configure.in
* modules/basic/Makefile.am
* modules/basic/basic-win32.c: Make building with Uniscribe (using
the <usp10.h> header) mandatory. Mingw's w32api headers do include
usp10.h now so one doesn't need to copy it from the Platform SDK
any longer. At runtime using Uniscribe is still optional,
depending on whether usp10.dll is found or not. I think it
isn't necessarily present on Windows 2000 machines, for instance.
* modules/basic/basic-win32.c (lang_name): Instead of a hardcoded
case statement, use GetLocaleInfo() to get the language ISO639
code.
(charset_name): Remove, unused.
(itemize_shape_and_place, uniscribe_shape, basic_engine_shape):
Constify the PangoAnalysis parameter to match the prototype of
PangoEngineShapeClass::script_shape().
2007-03-03 Behdad Esfahbod <behdad@gnome.org>
Bug 414297 – Fails to build with --enable-static
--with-included-modules in thai lang module
Patch from Loïc Minier
* modules/thai/Makefile.am: Include LIBTHAI_LIBS in static module
too.
2007-02-27 Behdad Esfahbod <behdad@gnome.org>
Bug 412654 – SED variable undefined in the `libtool --config' output
used by configure
* configure.in: export SED before calling libtool
2007-02-26 Tor Lillqvist <tml@novell.com>
This change was supposed to go in the trunk before 1.16.0, but it
didn't quite get there in time. So, to have a clear cut for this
somewhat fundamental change in underlying workings (although there
should be no user-visible changes), I will build and distribute
Win32 binaries only starting from 1.16.1.
Use wide character API for fonts on Windows. Rename functions and
variables that deal with LOGFONTW structs to emphasize
this. (#407315)
* pango/pangowin32.c
* pango/pangowin32-fontcache.c
* pango/pangowin32-fontmap.c: Use LOGFONTW all over the place
instead of LOGFONT, and adapt code accordingly. Use wide character
Win32 API.
* pango/pangowin32.c (pango_win32_font_neww): Renamed from
pango_win32_font_new(), as it now takes a LOGFONTW pointer. This
is a private function and can be renamed though it is exported as
it is used from the pangocairo DLL.
(pango_win32_font_logfont): Mention explicitly in doc comment that
it returns a LOGFONTA, and recommend to use
pango_win32_font_logfontw() instead.
(pango_win32_font_logfontw): New function.
* pango/pangowin32-fontcache.c
(pango_win32_font_cache_load): Must keep this function that takes
a LOGFONTA pointer as it is declared in the public header.
(pango_win32_font_cache_loadw): New public function that takes a
LOGFONTW pointer.
* pango/pangowin32-fontmap.c
(pango_win32_font_description_from_logfont): Mention explicitly in
the doc comment that it takes a LOGFONTA pointer.
(pango_win32_font_description_from_logfontw): New public function
that takes a LOGFONTW pointer.
(pango_win32_make_matching_logfontw): Rename from
pango_win32_make_matching_logfont() to emphasize it takes a
LOGFONTW pointer.
* pango/pangowin32.h: Declare new public functions.
* pango/pangowin32-private.h: Declare new private functions, drop
removed ones.
* pango/pangocairo-win32font.c (_pango_cairo_win32_font_new):
Simplify now that we call pango_win32_make_matching_logfontw().
* pango/pangowin32.def: Add new functions, rename internal
functions that now use LOGFONTW.
2007-02-26 Tor Lillqvist <tml@novell.com>
Fix brokenness in the code that tries to ensure that all fonts
also have italic variants. Now the code hopefully actually does
what it was supposed to. (Which is not necessarily the right thing
to do, though. It can be argued that we should not list
synthesized italic font styles, we should just silently generate
them if asked for. We don't want synthesized italic (or synthesized
bold) styles showing up in the font selector. They don't show up
when using a fontconfig-based Pango backend either.) (#110521)
* pango/pangowin32-fontmap.c
(logfont_nosize_hash, logfont_nosize_equal): Don't use the
lfItalic field as such, just its nonzeroness. When being
enumerated, italic fonts show up with lfItalic=255, but our code
looks up italic versions of fonts by passing a key LOGFONT with
lfItalic=1.
(first_match): Not needed any more, see below.
(ensure_italic): This is now called on the entries in the
size_infos hash table, not families. The code used to randomly
look for the first matching font in size_infoswith the family name
being handled.
(pango_win32_font_map_init): Iterate through the size_infos hash
table with ensure_italic, not through the families table.
* pango/pangowin32-fontcache.c
(logfontw_hash, logfontw_equal): Look at just nonzeroness of
lfItalic here, too.
Local Variables:
coding: utf-8
End:
vim: encoding=utf-8:
|