-
Notifications
You must be signed in to change notification settings - Fork 0
/
ChangeLog.pre-1-2
1570 lines (1062 loc) · 51.6 KB
/
ChangeLog.pre-1-2
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
Fri Dec 20 12:18:43 2002 Owen Taylor <[email protected]>
* === Released 1.2.0 ===
* configure.in: Version 1.2.0, interface age 0.
* NEWS: Updated
Fri Dec 20 11:59:22 2002 Owen Taylor <[email protected]>
Some unit fixups (#96335)
* pango/pango-layout.c pango/pango-mapping.c:
Fix occurrences of "in thousandths of a device
unit" to say "in #PangoGlyphUnit" which will
give a link to the PangoGlyphUnit docs.
* docs/tmpl/text-attributes.sgml: Change 1000 to PANGO_SCALE.
* docs/tmpl/glyphs.sgml: Fix docs for PangoGlyphUnit,
fix mention of value of PANGO_SCALE from 1000 to 1024.
* pango/pango-layout.c (pango_layout_line_get_x_ranges):
Fix the docs for @ranges so it doesn't sound like the
coordinates are in pixels.
Fri Dec 20 11:49:33 2002 Owen Taylor <[email protected]>
* README: Add a note about fonts.conf.
Mon Dec 16 21:16:31 2002 Owen Taylor <[email protected]>
* === Released 1.1.6 ===
* NEWS: Updated.
* configure.in: Version 1.1.6, interface age 2.
* configure.in: Bump PANGO_MODULE_VERSION to 1.2.0.
Mon Dec 16 19:28:18 2002 Owen Taylor <[email protected]>
* modules/hangul/hangul-xft.c (render_isolated_tone):
When we get an isolated tone in isolation, do something
reasonable rather than just return no glyphs and
causing an assertion failure. (#100625)
* pango/pangofc-fontmap.cI (_pango_fc_font_map_get_coverage):
Add a hack to force Hangul marks to be be rendered
in the same font as base Hangul glyphs.
Mon Dec 16 18:10:46 2002 Owen Taylor <[email protected]>
* modules/basic/basic-xft.c: Add some extra ranges
as "*" to match basic-x.c. (#101083, Jungshik Shin)
Remove some extraneous "" ranges since we have
{ 0x0000, 0xffff, "" } anyways.
Thu Dec 12 13:59:43 2002 Owen Taylor <[email protected]>
* configure.in: Require autoconf-2.53.
2002-12-11 Matthias Clasen <[email protected]>
* docs/tmpl/text-attributes.sgml:
* docs/tmpl/glyphs.sgml:
* docs/tmpl/engines.sgml:
* docs/tmpl/main.sgml:
* docs/tmpl/pango-indic.sgml:
* docs/tmpl/coverage-maps.sgml:
* docs/tmpl/fonts.sgml:
* docs/pango_markup.sgml: Cosmetic changes to short descriptions.
* docs/tmpl/tab-stops.sgml:
* docs/tmpl/modules.sgml:
* docs/tmpl/opentype.sgml:
* docs/tmpl/xft-fonts.sgml:
* docs/tmpl/freetype-fonts.sgml:
* docs/tmpl/win32-fonts.sgml: Add short descriptions.
* docs/pango-docs.sgml: Move "OpenType Font Handling" to
"Low Level Functionality".
* docs/pango-sections.txt: Combine the "X Fonts" and
"X Rendering" sections.
Tue Dec 10 18:37:19 2002 Owen Taylor <[email protected]>
* === Released 1.1.5 ===
* pango/pango-attributes.h pango/pango-font.h
pango/pango-fontset.h pango/pango-fontmap.h: Add
explicit /*< public >*/ /*< private *>/ guards.
(See #95398 for gtk-doc changes making this necessary)
Tue Dec 10 14:51:01 2002 Owen Taylor <[email protected]>
* configure.in: Version 1.1.5, interface age 1.
* NEWS: Update.
Sun Dec 8 22:57:55 2002 Owen Taylor <[email protected]>
* pango/pangox.c: Draw the unknown glyph box with
X primitives rather than hoping that some font has an
actualpainting unknown glyph... that code was
apparently still working badly. Use "en" not
NULL as the language tags for getting the metrics
for the return glyph and the unknown character
glyph... NULL gives too large results. (#98245,
Based on a patch from Morten Welinder.)
Sun Dec 8 15:22:10 2002 Owen Taylor <[email protected]>
* pango/pango-glyph-item.c (pango_glyph_item_apply_attrs):
Free the iter. (Fix from Kjartan Maraas, #100672)
2002-12-08 Matthias Clasen <[email protected]>
* docs/tmpl/pango-indic.sgml: Document PangoIndicScript.
2002-12-07 Matthias Clasen <[email protected]>
* pango/pangowin32.c (pango_win32_get_dc): Document.
Sat Dec 7 01:05:25 2002 Owen Taylor <[email protected]>
* pango/pangofc-fontmap.cI (pango_fc_font_map_get_patterns):
Print out an informative error message and exit(1) if
no fonts are found. (#98672)
* pango/pangoft2.c (pango_ft2_font_get_face): Fix some
bugs in the last commit.
Sat Dec 7 00:10:02 2002 Owen Taylor <[email protected]>
* pango/pangoft2.c (pango_ft2_font_get_face): Don't
use face->generic.data to hold the size the face is
currently set to; we don't need it currently and
it interferes with the use of face->generic.data for
OpenType data. (#93822, frequently reported bug)
Fri Dec 6 23:07:58 2002 Owen Taylor <[email protected]>
* pango/pangoxft-font.c (pango_xft_real_render)
pango/pangox.c (pango_x_render): Roughly clip glyphs
into the X coordinate area to avoid wrap-around. (#73119)
Fri Dec 6 19:42:33 2002 Owen Taylor <[email protected]>
* pango/modules.c (map_get_submap): Dynamically allocate
submap arrays so we aren't constrained to the BMP.
(#100307, Federic Zhang)
Fri Dec 6 18:58:25 2002 Owen Taylor <[email protected]>
* pango/pango-utils.lo: Use octal escapes rather than
hex to avoid the problem over having hex digits
immediately after the hex escape.
Fri Dec 6 18:30:36 2002 Owen Taylor <[email protected]>
* pango/pango-utils.c: Convert literal UTF-8 to octal
escapes. (#92050, Arnaud Charlet)
* pango/testfonts.c: Convert literal ISO-8859-1
to UTF-8 hex escapes. (Don't know how passing
ISO-8859-1 to pango_shape() was working...)
Fri Dec 6 18:07:48 2002 Owen Taylor <[email protected]>
* modules/indic/devanagari-x.c, pango/modules.c
pango/pango-utils.c pango/pangoft2.c pango/querymodules.c:
Convert [sf]printf to g_[sf]printf, or, where
appropriate g_printerr(). (Based on patch from
Matthias Clasen, #99321)
* configure.in: Require glib-2.1.3.
Fri Dec 6 17:56:32 2002 Owen Taylor <[email protected]>
* configure.in: Add missing thai-xft to thai-modules.
(#99883, Tony Graham)
Mon Dec 2 17:22:34 2002 Owen Taylor <[email protected]>
* === Released 1.1.4 ===
* configure.in: Up version to 1.1.4, interface age 0.
* NEWS: Updated.
* pango/pangoxft-fontmap.c (pango_fc_do_finalize)
* pango/pangoft2-fontmap.c (pango_fc_do_finalize): Fix
leaks of fontmap->substitute_data. (#99850)
* pango/Makefile.am (INCLUDES): Fix accidental reference
to pango-script-table.h.
Sun Nov 17 23:28:26 2002 Owen Taylor <[email protected]>
* pango/pango-glyph-item.[ch] pango/pango-layout.h:
Rename PangoLayoutRun to PangoGlyphItem (with a
typedef for compat), add pango_glyph_item_split(),
pango_glyph_item_apply_attrs().
* pango/pango-attributes.[ch]: Add
pango_attr_list_filter(), pango_attr_iterator_get_attrs().
* pango/pango-layout.c: Remove attributes that don't
affect shaping before shaping, shape and then add
them back. Fixes the infamous "underscores break
arabic shaping" bug (#83058)
* pango/pango-item.h: Remove an extraneous include.
* pango/pango-layout.c (imposed_shape): Fix bytes/chars
problem for glyph->log_clusters.
* pango/pango-layout.c (cluster_end_index)
* pango/pango-layout.c (pango_layout_iter_next_cluster): Fix
confusion between global indices and run-relative indices.
* docs/tmpl/glyphs.sgml: Improve docs for log_clusters.
* docs/*: Document new API and PangoOTRuleset
2002-11-29 Matthias Clasen <[email protected]>
* docs/tmpl/xft-fonts.sgml:
* docs/tmpl/freetype-fonts.sgml: Add docs.
* pango/pangoxft-fontmap.c (pango_xft_substitute_changed):
* pango/pangoft2-fontmap.c
(pango_ft2_font_map_set_default_substitute):
Fix doc typos.
2002-11-28 Matthias Clasen <[email protected]>
* pango/pangoxft-fontmap.c:
* pango/pangoxft-font.c:
* pango/pangowin32.c:
* pango/pangoft2-fontmap.c: Mark 1.2 API additions, fix some
doc comments.
* pango/pangoft2-fontmap.c
(pango_ft2_font_map_set_default_substitute): Implement this
function. (#99850)
2002-11-26 Sebastian Wilhelmi <[email protected]>
* configure.in: Do not add GLIB_CFLAGS to CFLAGS.
* docs/Makefile.am, examples/Makefile.am,
modules/arabic/Makefile.am, modules/basic/Makefile.am,
modules/hangul/Makefile.am, modules/hebrew/Makefile.am,
modules/indic/Makefile.am, modules/tamil/Makefile.am,
modules/thai/Makefile.am, pango/Makefile.am,
pango/mini-fribidi/Makefile.am, pango/opentype/Makefile.am:
Instead add $(GLIB_CFLAGS) directly to INCLUDES (GTKDOC_CFLAGS for
docs/Makefile.am). Also some cosmetic line wrapping and
reindentation. (#77981)
Mon Nov 25 20:25:23 2002 Owen Taylor <[email protected]>
* pango/glyphstring.c (pango_glyph_string_extents_range):
Clarify the meaning of the @end parameter. (#96843,
Jungshik Shin)
Mon Nov 25 19:57:02 2002 Owen Taylor <[email protected]>
* pango/fonts.c (pango_font_description_free): Remove
some confusing left over verbiage in API docs about what
font descriptions could be freed. (#96558,
Michael R. Walton.)
Mon Nov 25 19:24:29 2002 Owen Taylor <[email protected]>
* pango/mini-fribidi/fribidi_get_type.c (_pango_fribidi_get_type):
Fix off-by-one in check for non-BMP characters.
(#91834, He Qiangqiang)
Mon Nov 25 11:58:30 2002 Owen Taylor <[email protected]>
* examples/viewer-qt.cc (readFile): Fix missing argument
(#99380, Dagfinn I. Mannsåker)
2002-11-23 Matthias Clasen <[email protected]>
* docs/version.xml.in: New file to let configure dump the version in.
* docs/pango-docs.sgml: Add version information.
* docs/Makefile.am (extra_files): Add version.xml.in.
(content_files): Add version.xml.
* configure.in: Generate docs/version.xml.
Thu Nov 21 17:35:08 2002 Owen Taylor <[email protected]>
* modules/basic/basic-ft2.c: Remove duplicate
include of basic-common.h (#97667, Tony Graham)
Thu Nov 21 00:26:40 2002 Owen Taylor <[email protected]>
* configure.in: Use some shell magic rather than
perl to check for the right gtk-doc version to
avoid having to worry about finding Perl.
Make checks handle 0.10 > 0.9. (#99120, Dan Mills)
Check for 0.10, since we need that for
--output-format=xml.
2002-11-12 Tor Lillqvist <[email protected]>
* pango/pangowin32-fontcache.c (free_cache_entry,
cache_entry_unref, pango_win32_font_cache_load): Add more
debugging output.
* modules/basic/basic-win32.c (uniscribe_shape): Plug memory leak:
Free return value from pango_win32_font_logfont(). Call
pango_win32_font_cache_unload() for the hfont returned from
pango_win32_font_cache_load() after using it.
Fri Nov 8 20:02:09 2002 Soeren Sandmann <[email protected]>
* docs/tmpl/coverage-maps.sgml:
* docs/tmpl/glyphs.sgml:
* docs/tmpl/layout.sgml:
* docs/tmpl/x-fonts.sgml:
* pango/mapping.c:
* pango/pango-coverage.c:
* pango/pango-coverage.h:
* pango/pango-glyph.h:
* pango/pango-layout.c:
* pango/pango-layout.h:
* pango/pangox.h:
Trivial s/foo/foo_/ fixes to make pango.h includable with -Wshadow
(#91680).
2002-11-09 Changwoo Ryu <[email protected]>
* modules/hangul/hangul-x.c (render_syllable_with_ksx1001johab):
Renamed from render_syllable_with_ksx1005 (#95800).
Thu Nov 7 10:05:28 2002 HideToshi Tajima <[email protected]>
* modules/basic/basic-x.c:
Fix #96781: changes for basic X shaper's code range for
compatibility Ideographs characters (0xFA0C - 0xFA2D)
(by [email protected])
2002-11-06 Changwoo Ryu <[email protected]>
* modules/hangul/hangul-x.c (hangul_engine_shape): Applied some of
the hangul-xft changes into hangul-x; it takes precomposed
syllables as same as L+V or L+V+S jamo sequences.
2002-11-04 Changwoo Ryu <[email protected]>
* modules/hangul/hangul-defs.h (IS_S): Fixed wrong syllable
check.
* modules/hangul/hangul-defs.h:
* modules/hangul/hangul-x.c: No more use of TFILL, the internal
trailing consonant filler.
(render_syllable_with_*): Appended empty syllable
(ex. LFILL+VFILL) rendering case (#96175).
(render_syllable_with_ksx1005): Fixed wrong fallback glyphs
indices (from #95800 by Jungshik Shin).
Fri Nov 1 21:08:42 2002 Owen Taylor <[email protected]>
* === Released 1.1.3 ===
* configure.in: Version 1.1.3
* NEWS: Updated.
* pango/pangofc-fontmap.cI (pango_fc_font_set_free):
Free font_set->patterns. (Found by Sven Neumann,
#91698)
2002-11-03 Changwoo Ryu <[email protected]>
* modules/basic/basic-xft.c: Removed hangul syllables and hangul
tonemarks ranges. Now hangul-xft is responsible for these ranges.
2002-11-01 Changwoo Ryu <[email protected]>
* modules/hangul/hangul-defs.h modules/hangul/hangul-xft.c:
Added Hangul Tone Marks rendering by Jungshik Shin (#96299).
2002-10-31 Changwoo Ryu <[email protected]>
* modules/hangul/hangul-xft.c (hangul_engine_get_coverage):
Added U+AC00- coverage
(hangul_engine_shape): Renders U+AC00 Hangul Syllables.
2002-10-24 Tor Lillqvist <[email protected]>
* modules/basic/basic-win32.c: Update the non-Uniscribe ranges to
cover some more simple scripts.
(itemize_shape_and_place): Handle unknown glyphs.
(script_engine_list): Only return the "everything" range if
Uniscribe is available. It would be nice to build up a more
specific range list based on the information ScriptGetProperties()
returns. That function lists information about each script the
Uniscribe version used can handle. Unfortunately, though, the
information is severely limited. It doesn't tell what Unicode
blocks a script covers. It only gives one language that uses
that script, and sometimes an charset number, but for most scripts
just the totally useless DEFAULT_CHARSET.
2002-10-23 Alexander Larsson <[email protected]>
* pango/pango-layout.c (can_break_in):
Don't break at the first char in the first item on a line.
Fixes regression in linebreaking (#95900).
2002-10-22 Tor Lillqvist <[email protected]>
* configure.in: Add --with-usp10 flag to indicate where to find
the usp10.h header, for using Uniscribe on Win32. Set USP10_H
autoconf variable, HAVE_USP10_H config.h macro and HAVE_USP10_H
automake conditional.
* acconfig.h: Add HAVE_USP10_H.
* pango/pangowin32-private.h (PANGO_WIN32_DEBUGGING): Change
semantics of this flag. If defined, also need to set env var
PANGO_WIN32_DEBUG to get the copious debugging output.
Change PING() macro accordingly. Add variable pango_win32_debug.
* pango/pangowin32.c (pango_win32_get_dc): New function. Code
factored out from pango_win32_font_class_init() and
pango_win32_font_map_class_init().
(pango_win32_get_debug_flag): New function.
(pango_win32_render): Handle y offsets, too. Potentially need to
call ExtTextOutW several times, one for each run of sequential
glyphs with the same y offset.
* pango/pangowin32.h: Declare above new functions, in the part
only for shaper engine use.
* pango/pangowin32.def: Export above new functions.
* pango/pangowin32-fontmap.c (pango_win32_font_map_class_init):
Call pango_win32_get_dc() as mentioned above.
* modules/basic/Makefile.am: If HAVE_USP10_H, let basic-win32.lo
depend on usp10.h.
* modules/basic/basic-win32.c: If HAVE_USP10_H, and the Uniscribe
DLL usp10.dll is present, use Uniscribe.
(uniscribe_shape, itemize_shape_and_place,
set_up_pango_log_clusters, convert_log_clusters_to_byte_offsets,
make_langid, init_uniscribe): New functions.
(dump_glyphs_and_log_clusters, lang_name, charset_name): Debugging
functions.
2002-10-20 Matthias Clasen <[email protected]>
* docs/Makefile.am (SCANOBJ_FILES): Add $(DOC_MODULE).prerequisites.
2002-10-15 Changwoo Ryu <[email protected]>
* modules/hangul/hangul-xft.c (hangul_engine_shape):
* modules/hangul/hangul-x.c (hangul_engine_shape): Added missing
memcpy() from the static jamo buffer to allocated jamo buffer
(#95569). Thanks to Jungshik Shin.
Mon Oct 14 15:39:41 2002 Manish Singh <[email protected]>
* pango/pango-context.c pango/pango-layout.c pango/pangoft2.c
pango/pangowin32-fontmap.c pango/pangowin32.c pango/pangox-fontmap.c
pango/pangox.c pango/pangoxft-font.c pango/pangoxft-fontmap.c
pango/testfonts.c pango/opentype/pango-ot-ruleset.c:
Get rid of unnecessary casts for g_object_{ref,unref}
2002-10-15 Matthias Clasen <[email protected]>
* docs/Makefile.am: Dist the xml/*.xml, not
sgml/*.sgml. (#95678, Owen Taylor)
2002-10-14 Matthias Clasen <[email protected]>
* docs/Makefile.am (SCANOBJ_FILES): Add $(DOC_MODULE).interfaces.
Sun Oct 13 12:35:14 2002 Owen Taylor <[email protected]>
* === Released 1.1.2 ===
* configure.in: Version 1.1.2, interface age 0.
* NEWS: Updates.
2002-10-04 Alexander Larsson <[email protected]>
* pango/pango-layout.[ch]:
* docs/tmpl/layout.sgml:
Add, implement and document PANGO_WRAP_WORD_CHAR
Sun Sep 29 14:55:36 2002 Owen Taylor <[email protected]>
* pango/opentype/ftxgpos.c: ligatures can be also used in
MarkBasePos lookups. (2001-03-17 Werner Lemberg)
Sun Sep 29 14:51:25 2002 Owen Taylor <[email protected]>
Start of merges from freetype1 of OpenType fixes.
* pango/opentype/ftxgdef.c pango/opentype/ftxgpos.c pango/opentype/ftxgsub.c:
More fixes for special marks. (2001-03-17 Werner Lemberg)
2002-09-28 Tor Lillqvist <[email protected]>
* pango/pangowin32-fontmap.c (pango_win32_insert_font): Revert
change from 2002-09-21: Don't bypass the code that automatically
adds fonts to the families "monospace", "serif" and "sans". I
thought it would be unnecessary if you have a pango.aliases that
sets up aliases for these family names, but apparently
not. Without this code, pango_layout_line_get_empty_extents()
thinks empty lines have zero height, as it tries to use a font
called "sans" for instance, and no aliases get used.
Fri Sep 27 17:50:51 2002 Owen Taylor <[email protected]>
(Based on GTK+ patch by J. Ali Harlow in #87774)
* configure.in: Add CROSS_COMPILING conditional.
* modules/Makefile.am (install-data-local): Don't
generate pango.modules when installing into a DESTDIR
or cross-compiling.
* examples/Makefile.am (all-local): Don't generate
pango.modules when cross-compiling.
Fri Sep 27 13:10:25 2002 HideToshi Tajima <[email protected]>
* modules/basic/tables-big.i: make charset ordering of
chinese character sets differently for chinese locales -
e.g., GB18030 is used first in zh-cn locales.
(#89937 James Su, Brian Yuan.)
2002-09-25 Tor Lillqvist <[email protected]>
* pango/Makefile.am: INCLUDED_WIN32_MODULES was missing from a
couple of places. (#93372)
2002-09-24 Tor Lillqvist <[email protected]>
* pango/pangowin32.c: Use PANGO_PIXELS macro throughout instead of
dividing by PANGO_SCALE.
(pango_win32_render): New try. This time handle both glyphs at
code point 0, specifically put there by PangoLayout to indicate
spacing (for tab handling), and actual invalid glyphs noticed by
the shaper. Invalid glyphs are indicated by the flag
PANGO_WIN32_UNKNOWN_FLAG. (Idea taken frompangoxft-font.c)
(pango_win32_get_unknown_glyph): Take also the char as parameter,
return the same char with the above flag ORed in.
(pango_win32_font_get_glyph_extents): If the glyph is flagged as
invalid, look for glyph 0 instead. Use g_win32_error_message() in
warning message instead of numeric error code.
* pango/pangowin32.h: Add the new parameter to the
pango_win32_get_unknown_glyph() declaration. Surround the API used
by shape engines with #ifdef PANGO_ENABLE_ENGINE.
* modules/basic/basic-win32.c: Change call accordingly.
2002-09-24 Tor Lillqvist <[email protected]>
* pango/opentype/pango-ot.def: Remove. Not used. (A static library
is built here. Exported entries are in ../pangoft2.def.)
* pango/opentype/Makefile.am (EXTRA_DIST): Remove from here, too.
2002-09-23 Matthias Clasen <[email protected]>
* pango/pango-color.c (pango_color_parse): Make color parsing
more robust and correct. (#93804)
* tests/testcolor.c: Tests for pango_color_parse.
* tests/Makefile.am: Build testcolor.
* tests/runtests.sh: Run testcolor.
2002-09-23 Tor Lillqvist <[email protected]>
* pango/makefile.mingw.in
* pango/mini-fribidi/makefile.mingw
* pango/opentype/makefile.mingw.in
* examples/makefile.mingw.in
* modules/basic/makefile.mingw.in: Remove. Not maintained.
* pango/Makefile.am (EXTRA_DIST)
* pango/mini-fribidi/Makefile.am (EXTRA_DIST)
* pango/opentype/Makefile.am (EXTRA_DIST)
* examples/Makefile.am (EXTRA_DIST)
* modules/basic/Makefile.am (EXTRA_DIST): Remove
makefile.mingw(.in) from here, too.
* configure.in (AC_OUTPUT): Don't try to output above removed
files.
* examples/pangowin32.aliases: Remove. Not used.
* modules/basic/basic-win32.c: Minor spacing fixes, comment the
Unicode ranges covered.
* pango/makefile.msc
* pango/module-defs-win32.c.win32: Change according to change
below so that build also with the manually written makefile for
MSVC, which always uses included modules, still works.
* pango-zip.sh.in: Distribute specifically pango.aliases and
pango.modules, not the whole etc/pango which might contain editor
backup files.
Mon Sep 16 12:03:54 2002 Arnaud Charlet <[email protected]>
* modules/basic/basic-win32.c: Check for correct macro, use
correct module entry name, so that --with-included-modules works
with autoconfiscated build for Windows. (#93372)
2002-09-21 Tor Lillqvist <[email protected]>
* pango/pangowin32-private.h
* pango/pangowin32*.c: Rename DEBUGGING to PANGO_WIN32_DEBUGGING.
Use plain printf instrad of g_print in the PING macro for
debugging output (to avoid UTF-8 requirement).
* pango/pangowin32.h: Guard against redefinition of _WIN32_WINNT.
* pango/pangowin32-private.h: Remove the FS_VIETNAMESE define, not
needed. Rename PangoWin32Font::face to win32face. Add enum
PangoWin32CoverageLanguageClass, used to classify PangoLanguages
that might have locale-specific coverage of fonts (i.e. CJKV).
Change PangoWin32Face::coverage into an array, coverages. Move
some TrueType macro and struct defines from pangowin32.c
here. Rename them a bit to match the names used in the specs
better. Add declarations for new functions (see below).
* pango/pangowin32.c (pango_win32_get_hfont): Convert
LOGFONT::lfFaceName to UTF-8 before printing.
(pango_win32_render): Revert the change from
2002-09-05. Characters not in a font are supposed to show up at
this stage as invalid glyphs (usually a box). It's up to the
higher layers to filter out TABs and other characters that
shouldn't be visible.
(pango_win32_get_name_header, pango_win32_get_name_record): New
functions, to read the name table header and records from a
TrueType font.
(font_name_in): New function, checks if a font has a name in one
of the spoecial-case languages, or actually locales (zh_TW, zh_CN,
ja, ko, vi). Checks the TrueType name table.
(pango_win32_font_calc_coverage): Take a PangoLanguage parameter,
too. Use it to decide whether to hide the Unified CJKV Ideographs
block in case the font is not for the specified locale. If so, the
coverage for these characters is set to PANGO_COVERAGE_APPROXIMATE.
* pango/pangowin32-fontmap.c: Remove PangoWin32FontMap::faces,
unused. Remove dead _WE_WANT_GLOBAL_ALIASES_ code. Rename
parent_class to font_map_parent_class to match pangox-fontmap.c.
(get_family_name, get_family_name_lowercase): New functions.
Search for an English name for a TrueType font, in case the font
name in LOGFONT::lfFaceName is non-ASCII. (Can one assume that if
it is ASCII, it is the English name? Do some TrueType fonts have
different names in French, German, etc, and does the system return
these if the locale is set to use French, German, etc?)
(pango_win32_insert_font): Don't store LOGFONTs that differ only
in charset. What charset we specify when calling
CreateFontIndirect() is irrelevant, as we are going to use
ExtTextOutW() anyway, i.e. Unicode. Use the English family name
from get_family_name_lowercase(), not the one returned in the
LOGFONT from font enumeration.
Bypass the code that sets up the mapping for monospace, serif and
sans, and the recignition of plain "courier" for "courier new". We
need a pango.aliases anyhow, so let it handle that.
(pango_win32_coverage_language_classify): New function.
(pango_win32_font_entry_set_coverage,
pango_win32_font_entry_get_coverage): Take also a PangoLanguage
parameter, use the corresponding entry in the
PangoWin32Face::coverages array.
* pango/pango-utils.c (pango_get_lib_subdirectory,
pango_get_sysconf_subdirectory): Fix doc comment on Win32
behaviour.
Thu Sep 19 15:12:21 2002 Owen Taylor <[email protected]>
* pango/pango-utils.c (pango_scan_int): Fix problem
where position wasn't updated properly.
Mon Sep 9 11:09:18 Eric Mader <[email protected]>
* pango/pango/opentype/pango-to-ruleset.c: correctly handle back,
new_advance.
Fri Sep 6 15:41:28 Eric Mader <[email protected]>
* pango/pango/opentype/ftxopen.c:
* pango/pango/opentype/ftxopen.h: don't fail on an empty script
2002-09-05 jacob berkman <[email protected]>
* autogen.sh: copy version with automake-1.4 fixes from -1-0 branch
2002-09-05 Tor Lillqvist <[email protected]>
* pango/pangowin32.c (pango_win32_render): Render only valid
glyphs. Fix by Florent Duguet. Don't know if this is quite the
correct way to fix the problem of default glyphs (ugly boxes)
showing up, maybe invalid glyphs never should get this far, but be
noticed earlier?
2002-09-04 Tor Lillqvist <[email protected]>
* pango/pango-utils.c: G_WIN32_DLLMAIN_FOR_DLL_NAME not needed on
Cygwin, surround with #ifdef G_OS_WIN32. (91785, Masahiro Sakai)
Wed Aug 28 15:22:14 2002 Eric Mader <[email protected]>
* pango/modules/indic/indic-ot.h:
* pango/modules/indic/indic-ot.c:
* pango/modules/indic/indic-ot-class-tables.c:
Change Punjabi script ('punj') to Gurmukhi ('guru')
Tue Aug 20 17:31:39 2002 Owen Taylor <[email protected]>
* Released 1.1.1.
* configure.in: Update versions numbers.
* NEWS: Updated.
* docs/pango-sections.txt: Updated.
* pango/pangoxft-font.c (pango_xft_font_[un]lock_face):
Fix docs.
Tue Aug 20 17:14:13 2002 Owen Taylor <[email protected]>
* pango/pangofc-fontmap.cI: conditionalize
FC_PATTERN usage on #ifdef FC_PATTERN, since
it only existed in fontconfig for a brief amount
of time.
Tue Aug 20 16:06:36 2002 Owen Taylor <[email protected]>
* configure.in: Make the test for VARARGS macros
more robust, fixing problem with misbehaving
IRIX compiler that doesn't error on #error.
(#90267)
Tue Aug 20 15:42:33 2002 Owen Taylor <[email protected]>
* modules/indic/indic-xft.c (maybe_add_SUB_feature):
modules/indic/indic-xft.c (maybe_add_GPOS_feature):
modules/indic/indic-ot.c (getOutputIndex)
modules/hebrew/hebrew-x.c (get_glyph_num)
modules/basic/basic-x.c (find_char): Fix missing
statics.
* modules/thai/{thai-shaper.[ch] thai-xft.c thai-x.c}:
Namespace the "abstract functions" that thai-xft/thai-x.c
export to thai-shaper.c.
* modules/arabic/arabic-{ot.[ch],ft2.c,xft.c}:
Rename Assign_Arabic_Properties to Arabic_Assign_Properties.
Tue Aug 20 15:06:50 2002 Owen Taylor <[email protected]>
* modules/arabic/arabic-xft.c modules/arabic/arabic-ft2.c
modules/basic/tables-big.i modules/basic/tables-small.i
modules/hebrew/hebrew-ft2.c modules/hebrew/hebrew-xft.c:
Patch from Nils Nordman to add various missing 'static'
(#90353)
Mon Aug 19 14:07:02 2002 Owen Taylor <[email protected]>
* pango/pangofc-fontmap.cI (pango_fc_font_map_get_patterns):
Delete the FC_PATTERN out of the result of FcFontRenderPrepare(),
because it makes identical fonts look like not identical fonts.
* pango/pangofc-fontmap.cI (uniquify_pattern): pango/pangoft-fontmap.c
pango/pangoxft-fontmap.c: Use a hash table to uniquify the patterns
we cache to save memory and speed lookups.
* pango/pangoxft-font.c (pango_xft_font_get_font): Split into
a public wrappper (with g_return_if_fail()) around a static
internal function (without check).
* pango/pangoxft-fontmap.c (_pango_xft_font_map_get_info): Remove
checked cast, since it was showing up high on profiles.
Fri Aug 16 17:49:38 2002 Owen Taylor <[email protected]>
* pango/pangofc-fontmap.cI pango/pangoxft-fontmap.c
pango/pangoft2-fontmap.c pango/pangoxft-private.h
pango/pangoft2-private.h pango/pangoxft-font.c
pango/pangoft2.h: Move the common code between PangoXftFontmap
and PangoFT2Fontmap into a new file that is included from both
with appropriate #defines. This provides most of the
recent Xft backend improvements for the FT2 backend
as well.
Tue Aug 13 16:38:19 2002 Owen Taylor <[email protected]>
* pango/pangoxft-fontmap.c (pango_xft_font_map_get_patterns):
Keep a separate description => fontset hash for each
language tag. Pass language tags through to Xft.
Tue Aug 13 00:20:14 2002 Owen Taylor <[email protected]>
* Released 1.1.0
Thu Aug 8 23:14:27 2002 Owen Taylor <[email protected]>
* pango/pangox-fontmap.c pango/pangoxft-fontmap.c:
use XAddExtension() magic to automatically clean
up our information when XCloseDisplay() is called.
* NEWS: Some updates for 1.1.x features.
* README: Update a bit.
* configure.in: Print Xft for the Xft backend, not Xft2
when printing summary.
Thu Aug 8 21:37:48 2002 Owen Taylor <[email protected]>
Some fixes from #90267
* configure.in: Fix case where freetype2 is not in
default include path. Quiet some warnings if
/usr/lib/qt* doesn't exist.
* examples/Makefile.am: Fix problem where if no
Qt was found, -I /include was in the CFLAGS.
Thu Aug 8 19:34:03 2002 Owen Taylor <[email protected]>
* configure.in: Remove the HAVE_FONTCONFIG conditional;
instead make the HAVE_FREETYPE conditional
be $have_freetype && $have_fontconfig.
* pango/Makefile.am: Use the HAVE_FREETYPE conditional
for checking whether we are building the FT2 backend,
as we do everywhere else.
Thu Aug 8 19:14:09 2002 Owen Taylor <[email protected]>
* pango/pangoxft-font.c (load_fallback_font): Fix
accidentally exported set_unicode_charmap() and
load_fallback_face/font(). (Jacob Berkman, #90245)
* configure.in: Up PANGO_MODULE_VERSION to 1.1.0.
Thu Aug 8 19:00:49 2002 Owen Taylor <[email protected]>
* pango/pangoxft-fontmap.c: Up MAX_FREED_FONTS to 128
* pango/pangoxft-fontmap.c (pango_xft_pattern_equal):
Short-circuit pattern1 == pattern2.
* pango/pangoxft-fontmap.c (pango_xft_font_map_get_patterns):
Patch from Keith Packard to use PangoFontSetSort rather
than our previous substitute-and-split-the-substitution
hack; this means that if any font on the system has the
character, it will be used.
* pango/pangoxft-fontmap.c (_pango_xft_font_map_cache_add):
Reorder so that it works with MAX_FREED_FONTS == 0.
Thu Aug 8 18:55:21 2002 Owen Taylor <[email protected]>
* examples/Makefile.am (INCLUDES): Add FONTCONFIG_CFLAGS
to INCLUDES. (Joe Yandle.)
2002-08-08 jacob berkman <[email protected]>
* modules/hangul/Makefile.am (EXTRA_DIST): add tables-jamos.i
(xft_sources): add hangul-defs.h so it gets disted
Wed Aug 7 14:35:13 2002 Owen Taylor <[email protected]>
* configure.in: Fix missing trailing newline in file.
Wed Aug 7 09:14:00 2002 Michael Meeks <[email protected]>
* configure.in: echo status at end.
Wed Aug 7 12:32:39 2002 Owen Taylor <[email protected]>
* pango/opentype/ftxgsub.c (TT_Load_GSUB_Table):
Offset to MarkAttachClassDef is offset to table,
not offset to offset to table.
* pango/opentype/ftxopen.c (Get_Device): Handle
NULL device tables which we represent with
d->DeltaValue == NULL.
Wed Aug 7 11:07:10 2002 Owen Taylor <[email protected]>
* modules/hangul/hangul-xft.c (hangul_engine_shape): Get
rid of direct access to FT_Face.
Wed Aug 7 10:57:49 2002 Owen Taylor <[email protected]>
* modules/hangul/Makefile.am modules/thai/Makefile.am:
Add missing XFT_CFLAGS to INCLUDES. (Joe Yandle)
Mon Aug 5 23:57:59 2002 Owen Taylor <[email protected]>
* pango/pangoxft-fontmap.c (pango_xft_pattern_hash): Use
FcPatternHash instead of rolling our own. (Slight speed
decrease) (Keith Packard)
* pango/pangoxft-fontmap.c (pango_xft_get_font_map):
Remove accidentally deleted call to init_fontset_hash().
Mon Aug 5 23:12:13 2002 Owen Taylor <[email protected]>
Patch from Keith Packard:
* pango/pangoxft-private.h (struct _PangoXftFont): Add
some comments.
* pango/pangoxft-private.h pango/pangoxft-font.c
pango/pangoxft-fontmap.c: Identify coverage by a
pair of filename and index within the filename instead
of just a filename, to handle TrueType Collection (TTC)
fonts.
* pango/pangoxft-fontmap.c (pango_xft_make_pattern):
Remove some leftover comments.
Mon Aug 5 21:54:21 2002 Owen Taylor <[email protected]>
* pango/pangoxft-fontmap.c (pango_xft_get_font_map): Export.
* pango/pango-context.[ch]: Add pango_context_get_fontmap(),
allow fontmap = NULL for pango_context_set_fontmap().
* pango/pangoxft-font.c pango/pangoxft-fontmap.c
(pango_xft_font_get_metrics): More work on allowing
displays to be shut down, while leaving basically
working fonts behind.
Fri Aug 2 12:12:34 2002 Owen Taylor <[email protected]>
* pango/pangoxft.h pango/pangoxft-fontmap.c
(pango_xft_shutdown_display): New function allowing us to shut
down a display.
Thu Aug 1 10:41:26 2002 Owen Taylor <[email protected]>
* configure.in: Fix check for having any backend
HAVE_XFT => have_xft, etc. (Problem reported
by Andreas J Guelzow)
2002-08-01 Changwoo Ryu <[email protected]>
* modules/hangul/hangul-x.c (render_syllable_with_ksx1005):
Renders the prefix of uncomposable Hangul syllable in the way of
other font encoding code.
Wed Jul 31 16:00:20 2002 Owen Taylor <[email protected]>
* modules/thai/thai-xft.c (make_glyph): Minor tweak
to last patch to clarify index passed to unknown_glyph().
Wed Jul 31 15:43:39 2002 Owen Taylor <[email protected]>
* modules/thai/{thai-shaper.h,thai-x.c,thai-xft.c}:
Argument to make_glyph() shouldn't have been
unsigned char, since we pass unicode through it.
* modules/thai/thai-xft.c (make_glyph): Handle
THAI_FONT_ISO10646 correctly. If a character isn't
found, return the correct unknown glyph.
Sat Jul 27 18:18:20 2002 Owen Taylor <[email protected]>
Patch from Changwoo Ryu <[email protected]> (#86591)