summaryrefslogtreecommitdiff
path: root/ChangeLog
blob: f7d16ae95f273ffe62a7888785306797b585e87e (plain)
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
2005-07-22  Owen Taylor  <otaylor@redhat.com>

	* pango/Makefile.am configure.in: Use -export-symbols-regex
	to control symbol exports, including not exporting the symbols
	from opentype/.

	* modules/*/Makefile.am: Control symbol exports here as well,
	simplify using AC_SUBST() of MODULE_LIBTOOL_OPTIONS from configure.in.

	* pango/pangox-fontmap.c (engine_shape_covers): Cut-and-paste
	engine_shape_covers to avoid using a symbol from libpango.

	* pango/pango-utils.c: Make accidentally exported pango_aliases_ht
	static.

2005-07-22  Owen Taylor  <otaylor@redhat.com>

	* pango/pango-layout.c: Add some missing statics on functions
	added in the recent layout iter patch.

2005-07-22  Owen Taylor  <otaylor@redhat.com>

	* pango/opentype/ftglue.c (ftglue_realloc): Remove
	an unecessary set of block2.

2005-07-22  Owen Taylor  <otaylor@redhat.com>

	Patch from David Turner. Review and testing by Behdad Esfahbod

	* pango/opentype/ftglue.[ch] Makefile.am: Glue layer that provides
	implementation of the internal functions that the opentype code
	expects in terms of publically exported FreeType API.

	* pango/opentype/ftxgdef.c pango/opentype/ftxgpos.c
	pango/opentype/ftxgsub.c pango/opentype/ftxopen.c
	pango/opentype/otlbuffer.c pango/opentype/pango-ot-info.c
	pango/opentype/pango-ot-ruleset.c: Remove includes of 
	internal headers. Small changes to work with ftglue.[ch]

	* pango/opentype/fterrcompat.h: Remove: no longer needed.

	* pango/opentype/ftxgpos.c: Use FT_IS_SFNT(face) rather
	than poking at FT_MODULE_CLASS (face->driver)->module_name.

	* pango/opentype/ftxopen.c (Free_FeatureList): Free
	fl->ApplyOrder. (Found by Behdad)

2005-07-21  Manish Singh  <yosh@gimp.org>

	* pango/pangofc-fontmap.c (fontset_hash_key_hash, font_hash_key_hash):
	use GPOINTER_TO_UINT() instead of bare casts to guint.

2005-07-21  Owen Taylor  <otaylor@redhat.com>

	Based on patch from Gustavo J. A. M. Carneiro  (#305975)

	* pango/pango-layout.[ch] (pango_layout_line_ref)
	pango/pango-attributes.[ch] (pango_attr_list_ref): Return the
	argument to _ref() functions.

	* pango/pango-item.[ch]: Register PangoItem boxed type.

	* pango/pango-layout.[ch]: Register PangoLayoutLine boxed type.

2005-07-22  Tor Lillqvist  <tml@novell.com>

	* pango/pangowin32.c: No need to include modules.h here any
	longer.
	(pango_win32_get_context): Remove unused variable.
	(pango_win32_render_layout_line): Fix underlining. (#304692)
	Mention in the doc comment that the DC's text alignment needs to
	have TA_BASELINE and TA_LEFT for underlining to be correct.

	* pango/pangowin32-fontmap.c: Include modules.h here instead.
	(pango_win32_font_map_class_init): Define variable i.

2005-07-21  Owen Taylor  <otaylor@redhat.com>

	* pango/pangofc-fontmap.c (pango_fc_font_map_add): Fix an
	excess copy. (pango_fc_font_map_get_patterns): Add back
	a call to FcPatternDestroy() that got dropped somehow.

2005-07-21  Owen Taylor  <otaylor@redhat.com>

	* modules/indic/indic-ot.c: Minor formatting tweak to license
	header.

2005-07-21  Owen Taylor  <otaylor@redhat.com>

	* pango/pangofc-fontmap.c (pango_fc_font_map_load_font): Load a
	fontset and return the first font to take advantage of existing
	caching.

2005-07-21  Owen Taylor  <otaylor@redhat.com>

	* modules/indic/indic-ot-class-tables.c modules/indic/indic-ot.[ch]:
	license on these ICU-derived files is X license, not LGPL.

	* modules/khmer/khmer-fc.c: Add the X license text here in addition 
	to the LGPL.

2005-07-21  Owen Taylor  <otaylor@redhat.com>

	* pango/pangoxft-font.c (_pango_xft_font_new): Force on
	metrics hinting for all Xft fonts (this fixes font
	metrics - glyph metrics were fixed earlier).
	(#307196, Alex Jones)

2005-07-21  Owen Taylor  <otaylor@redhat.com>

	* README: Update information about the location of Xft.
	(#172637, Karel 'Clock' Kulhavy)

2005-07-21  Owen Taylor  <otaylor@redhat.com>

	* README: Fix URL to tml's download page (#169467, 
	Brandon Bergren)

2005-07-21  Owen Taylor  <otaylor@redhat.com>

	* pango/pangowin32-fontmap.c (pango_win32_font_map_class_init)
	Move registration of included modules to here from
	pango/pangowin32.c (pango_win32_get_context). (#309337, Hans
	Breuer)

2005-07-21  Owen Taylor  <otaylor@redhat.com>

	* modules/indic/indic-ot-class-tables.c: Change the char
	class for U+0A5C from _cn (consonant with nukta) to _ct.
	(#309459, Sukhjinder Sidhu)

2005-07-21  Owen Taylor  <otaylor@redhat.com>

	* modules/indic/indic-ot-class-tables.c: Enable touching
	for Sinhala with the ZWJ + al-lakuna combination.
	(#302577, Harshula)

2005-07-21  Owen Taylor  <otaylor@redhat.com>

	* pango/pango-layout.c (pango_layout_set_text): Avoid calling
	memcpy with a NULL argument. (#310021, Morten Welinder)

2005-07-21  Owen Taylor  <otaylor@redhat.com>

	Merges of fixes from Arabic module (#308813, Emil Soleyman-Zomalan)

	* modules/syriac/syriac-fc.c (syriac_engine_shape): Fix 
	bug where cluster was getting set to 0 for non-spacing
	marks rather than to the cluster of the base character.
	(#149126, Behdad Esfahbod)

	* modules/syriac/syriac-fc.c (syriac_engine_shape): Turn
	on zero-width-marks setting. [Not clear that this is
	needed here, since it is mostly set in the Arabic engine
	to handle legacy fonts, but it shouldn't hurt]

2005-07-21  Owen Taylor  <otaylor@redhat.com>

	Fix up places where there is missing or incomplete
	Copyright and License information (Reported by William N. Ray,
	#310072)

	* pango/opentype/fterrcompat.h: Mark as FreeType/GPL licensed.

	* pango/opentype/FT-license.txt: Make this the dual-licensing
	description that covers the FreeType code (FreeType's 
	LICENSE.TXT) rather than the FTL.

	* pango/opentype/FTL.TXT: Move the FTL (referenced from 
	FT-license.txt) to here.

	* modules/basic/basic-common.h modules/hebrew/hebrew-shaper.h
	modules/thai/thai-charprop.c modules/thai/thai-shaper.h
	tools/gen-script-for-lang.c tests/testcolor.c: 
	Add LGPL header and copyright information.

	* modules/indic/indic-ot.[ch] modules/indic/indic-ot-class-tables.c
	modules/thai/thai-ot.[ch]: Add LGPL header.

	* modules/thai/thai-shaper.c modules/thai/thai-charprop.h: 
	Minor fixes to copyright information.

	* modules/arabic/arabic-ot.c: Add Freetype license boilerplate.

2005-07-21  Matthias Clasen  <mclasen@redhat.com>

	* configure.in: Check for a new enough cairo.

2005-07-19  Owen Taylor  <otaylor@redhat.com>

	* pango/pango-fcfontmap.[ch]: Rework handling of context-specific
	options: drop get_render_key() and add a opaque "context
	key" (get_context_key() and friends). Also add a function to get
	the resolution.

	* pango/pango-fcfontmap.c pango/pangofc-font.h:
	 - Move the 'lang' into the fontset key lookup and get rid of the
	   funky list-of-hash-tables
	 - Make lookups of fontsets and fonts dependent on the context key
	   for the context.
	 - Simplify the pattern/fontset caching to have one finite-size
	   cache rather than an infinite first-level and a finite-size
	   second level.

	* pango/pangocairo.h pango/pangocairo-private.h
	pango/pangocairo-fontmap.c: Add
	pango_cairo_context_get/set_resolution(),
	pango_cairo_context_set/get_font_options to allow controlling the
	resolution and font rendering options for a specific PangoContext.

	* pango/pangocairo-fcfont.c pango/pangocairo-fcfontmap
	pango/pangocairo-win32font.c: Implement resolution and font
	options handling adapt to related Cairo changes.

	* docs/pango-sections.txt docs/Makefile.am pango/pangowin32.c:
	Doc updates and build fixes.

	* pango/pangofc-fontmap.c (pango_fc_make_pattern): Create
	patterns with FC_SIZE as well as FC_PIXEL_SIZE to work around
	a libgnomeprint bug. (#309477)

2005-07-09  Tor Lillqvist  <tml@novell.com>

	* configure.in: Call AC_CANONICAL_HOST before looking at $host.
	Check for windres on Win32.

	* pango/Makefile.am: Don't use the scripts in GLib's build/win32
	to compile the rc files into resource object files. (This means we
	lose the build number increment magic, but I doubt it was that
	useful anyway.) Instead use windres directly. To pass a normal .o
	file produced by windres through libtool, which wants .lo files,
	pass it directly to the linker using a -Wl option.

	Libtool installs/uninstalls the import libraries, no need to do it
	ourselves. Do install/uninstall the .def files, though.

	* pango/pango.rc.in
	* pango/pangoft2.rc.in
	* pango/pangowin32.rc.in: Correspondingly, use 0 instead of
	BUILDNUMBER.

2005-06-27  Tor Lillqvist  <tml@novell.com>

	* modules/khmer/Makefile.am (INCLUDES): Drop superfluous trailing
	slash in -I path.

2005-06-24  Owen Taylor  <otaylor@redhat.com>

	* pango/pango-layout.c (pango_layout_line_get_extents): Don't
	key off zero-height to know whether to use the "empty extents" ...
	this can cause infinite recursion, instead just check 
	!line->runs. (Part of #306415, Thomas Fitzsimmons)

2005-06-24  Owen Taylor  <otaylor@redhat.com>

	* docs/pango_markup.sgml (linkend): Fix a stray newline
	(#308887, Ryan Lortie)

2005-06-22  Owen Taylor  <otaylor@redhat.com>

	* modules/khmer/khmer-fc.c (khmer_engine_shape): Add back
	accidentally dropped line (Pointed out by Behdad Esfahbod)

2005-06-21  Behdad Esfahbod  <pango@behdad.org>

	* modules/khmer/khmer-fc.c: Fix C89 var after code issues.

	* modules/khmer/.cvsignore: Copied from other modules.

2005-06-21  Owen Taylor  <otaylor@redhat.com>

	Fix up the operation of PangoLayoutIter, especially for Bidi
	(#89541, based on a patch from Amit Aronovitch)

	* pango/pango-layout.c: Many changes to make iteration 
	consistently in visual order.

	* pango/pango-layout.c (pango_layout_iter_next_char): Iterate
	through each character in the layout exactly once. (Including
	a hack to get two iterator positions for \r\n)

	* pango/pango-layout.c (pango_layout_iter_next_cluster): Only
	iterate through real clusters: that is, positions in the 
	layout that have glyphs.

	* pango/pango-layout.c (pango_layout_iter_get_char_extents):
	Fix to give exactly the same results as 
	pango_glyph_string_index_to_x: the previous positions didn't
	completely occupy the entire line.

	* pango/pango-layout.c (pango_layout_iter_next_line): Remove
	unneeded updating of iter->index and an associated FIXME.

	* tests/testiter.c tests/Makefile.am: Add a (somewhat reworked) 
	test from Amit for the operation of PangoLayoutIter.

2005-06-21  Owen Taylor  <otaylor@redhat.com>

	* pango/pangoxft-render.c (get_renderer): Go back to 
	honoring alpha in the XftColor passed in; it was a 1.6 => 1.8
	regression. (#169622, based on a patch from Mikael Magnusson)

2005-06-21  Owen Taylor  <otaylor@redhat.com>

	* modules/khmer configure.in modules/Makefile.am 
	modules/makefile.msc: Add a Khmer module by
	Jens Herden and Javier Sola. (#125605)

2005-06-20  Owen Taylor  <otaylor@redhat.com>

	* === Released 1.9.0 ===

	* NEWS: Update for 1.9.0

	* README: Update

2005-06-18  Behdad Esfahbod  <pango@behdad.org>

	* pango/break.c (pango_find_paragraph_boundary): Optimization.
	Do not g_utf8_get_char at all. (#305323, Paolo Borelli)

2005-06-16  Owen Taylor  <otaylor@redhat.com>

	* pango/pangocairo-fcfont.c (pango_cairo_fc_font_unlock_face): Remove
	excess return. (#307741, Damien Carbery)

2005-06-14  Owen Taylor  <otaylor@redhat.com>

	* modules/indic/indic-ot-class-tables.c (guruCharClasses): Mark
	U+A33, U+A36 as _cn, not _ct, since they are combinations
	of other characters with nutka. (#304174, Sukhjinder Sidhu)

2005-06-14  Owen Taylor  <otaylor@redhat.com>

	Misc fixes from Stepan Kasal, #169928

	* pangoxft.pc.in: Add requirement on pangoft2

	* pangoxft-uninstalled.pc.in: Fix cut-and-paste
	errors in Name/Description when copying from 
	pangox-uninstalled.

	* configure.in: Don't call AC_SUBST() unnecessary
	for XFT_CFLAGS/LIBS.

2005-06-14  Owen Taylor  <otaylor@redhat.com>

	* pango/pango-utils.c (pango_parse_style): Fix some
	missing case variants in the switch statement.
	(#169852, Morten Welinder)

2005-06-14  Owen Taylor  <otaylor@redhat.com>

	* pango/pango-script-table.h (struct): Hand edit
	to fix a bug in the 4.0.0 data tables.
	(#173096, Sukhjinder Sidhu)

	* tools/gen-script-table.pl: Some updates to handle
	newer formats (not actually regenerating tables at the
	moment, since the changes are large)

2005-06-14  Owen Taylor  <otaylor@redhat.com>

	#307433, Sebastien Bacher

	* Makefile.am (EXTRA_DIST): Name the Change.pre-*
	correctly.

	* pango/Makefile.am (libpango_1_0_la_SOURCES): Add
	pango-color-table.h.

2005-06-14  Owen Taylor  <otaylor@redhat.com>

	* pango/pango-utils.c: Fix docs, handle a lone '~'
	(#169851, Morten Welinder)

2005-06-14  Owen Taylor  <otaylor@redhat.com>

	* configure.in: Force off gtk-doc in absence of Cairo.
	(#305652, Amit Aronovitch)

2005-06-14  Owen Taylor  <otaylor@redhat.com>

	* pango/opentype/pango-ot-info.c (pango_ot_info_finalize)
	pango/opentype/pango-ot-ruleset.c (pango_ot_ruleset_finalize): 
	Chain up from finalize. (#307547, Paolo Borelli)

	* pango/opentype/pango-ot-info.c (pango_ot_info_finalizer):
	make accidentally public function static.

2005-06-14  Owen Taylor  <otaylor@redhat.com>

	* pango/ellipsize.c (shape_ellipsis): Fix FALSE/TRUE
	typo that was causing crashes with fonts not containing
	".". (#304039, Sebastien Bacher) 

	* pango/pango-context.c (itemize_state_fill_shaper): Allow
	font to be NULL.

2005-06-14  Owen Taylor  <otaylor@redhat.com>

	* pango/pango-context.c (itemize_state_finish): Fix 
	potential leak of state->base_font. (#168930, Ben Maurer,
	Aivars Kalvans)

2005-06-10  Owen Taylor  <otaylor@redhat.com>

	* pango/pangocairo-fcfont.c: Add a (hopefully temporary) cache
	in front of getting metrics from Cairo.

	* pango/pangocairo-fcfont.c: Remove some cast checks in critical
	code paths.

2005-05-17  Owen Taylor  <otaylor@redhat.com>

	* pango/pangofc-fontmap.[ch]: Add a new context_substitute() virtual
	function that replaces default_substitute() and adds a 
	PangoContext argument.

	* pango/pangocairo.h pango/pangocairo-fontmap.c docs/pango-sections.txt:  
	Add pango_cairo_context_set/get_hinting() to control
	hinting on individual contexts.

	* pango/pangocairo-fcfont.c pango/pangocairo-fcfontmap.c:
	Implement hinting control for the for the fontconfig/cairo
	backend.

2005-05-17  Manish Singh  <yosh@gimp.org>

	* examples/cairoview.c: update for new cairo_xlib_surface API.

2005-05-16  Owen Taylor  <otaylor@redhat.com>

	* pango/pangocairo-fcfont.c (pango_cairo_fc_font_get_glyph_extents):
	pango/pangocairo-render.c (pango_cairo_renderer_draw_glyphs): 
	Handle glyph == 0.

	* modules/indic/indic-ot.h modules/basic/basic-common.h:
	Treat LINE SEPARATOR as a zero-width character.

2005-05-16  Owen Taylor  <otaylor@redhat.com>

	* examples/cairoview.c: Include Xlib.h explicitely before
	include Xutil.h, since Xutil.h doesn't include Xlib.h on
	some platforms. (#304317, Damien Carbery)

2005-05-13  Manish Singh  <yosh@gimp.org>

	* examples/cairoview.c: #include Xutil.h explicitly, update
	for renamed cairo API.

2005-05-11  Owen Taylor  <otaylor@redhat.com>

	* pango/pangocairo-win32font.c (pango_cairo_win32_font_install):
	Update for cairo API change.
	(pango_cairo_win32_font_get_metrics): Fix x/y typo.

2005-05-07  Owen Taylor  <otaylor@redhat.com>

	* examples/cairoview.c (update): Remove some accidentally
	deleted code.

2005-05-07  Owen Taylor  <otaylor@redhat.com>

	* pango/pangocairo-fontmap.c pango/pangocairo-render.c
	examples/cairosimple.c pango/pangocairo-fcfont.c
	examples/cairoview.c: Update for Cairo API changes.

2005-04-29  Owen Taylor  <otaylor@redhat.com>

	* pango/pangocairo-fcfont.c (pango_cairo_fc_font_get_glyph_extents):
	Get the ascent/descent from Cairo to fix bugs in metrics computation
	with a transformation in effect.

2005-05-01  Owen Taylor  <otaylor@redhat.com>

	* examples/cairoview.c: Fix for the change of cairo_clip() not to
	preserve the path.

2005-04-28  Tor Lillqvist  <tml@novell.com>

	* pango/pangocairo-win32font.c (pango_cairo_win32_font_get_font_face): 
	Correct parameters passed to MultiByteToWideChar(). Pass -1 as
	source string length so that the target string gets
	zero-terminated. Size of target array is in number of WCHARs, not
	number of bytes.

	Add support to pangowin32 for TrueType fonts with coverage outside
	the BMP. Fix handling of surrogate pairs in the Uniscribe
	shaper. (#302238)

	* pango/pangowin32-private.h (PangoWin32Face): Rename the
	unicode_table field to cmap. Keep track of its format (4 or 12).
	(format_12_cmap): Add struct for a format 12 cmap.

	* pango/pangowin32.c: Corresponding changes. Rename internal
	functions a bit.
	(get_format_12_cmap): New function, reads a format 12 cmap.
	(font_get_cmap): Look for both format 12 (which is preferred) and
	format 4 cmaps.
	(pango_win32_font_get_glyph_index,
	pango_win32_font_calc_coverage): Handle also format 12 cmaps.

	* modules/basic/basic-win32.c: Handle surrogate pairs in wchar_t
	strings properly.
	(unichar_index): New function. Given a wchar_t string and an index
	into it, calculate the index of the corresponding Unicode
	character. Each surrogate pair in the wchar_t is just one Unicode
	character.
	(set_up_pango_log_clusters, itemize_shape_and_place): Use
	unichar_index() instead of direct index into wchar_t string.

2005-04-27  Manish Singh  <yosh@gimp.org>

	* examples/cairoview.c: Update to new Cairo API for writing out PNGs.

2005-04-28  Changwoo Ryu  <cwryu@debian.org>

	* modules/hangul/hangul-defs.h: Cleanups.

2005-04-25  Changwoo Ryu  <cwryu@debian.org>

	* modules/hangul/hangul-fc.c (render_basic): handles zero width
	chars, patch by Young-Ho Cha. (#157565)

2005-04-18  Manish Singh  <yosh@gimp.org>

	* examples/cairoview.c: Update to new Cairo API for setting color
	and opacity.

2005-04-12  Tor Lillqvist  <tml@novell.com>

	* pango/opentype/Makefile.am: Rename LDADDS to
	libpango_ot_la_LIBADD to actually make libpango-ot.la link with
	it.

	* pango/pangowin32.def: Rename get_scale_factor to
	get_metrics_factor here, too. (#300222, Ivan Wong)

2005-04-08  Manish Singh  <yosh@gimp.org>

	* examples/cairoview.c: #include <pixman.h> since the cairo headers
	don't include it for us anymore.

2005-04-08  Owen Taylor  <otaylor@redhat.com>

	* pango/pangocairo-font.c (_pango_cairo_font_install): Remove
	stray return. (#173046, Damien Carbery)

2005-04-07  Manish Singh  <yosh@gimp.org>

	* configure.in: Test for renamed cairo_ft_scaled_font_lock_face().

2005-04-07  Owen Taylor  <otaylor@redhat.com>

	* configure.in: Test for renamed
	cairo_win32_scaled_font_select_font().

	* pango/pangocairo-win32font.c: Fix various compilation errors.

	* pango/pangocairo-fcfont.c pango/pangocairo-win32font.c
	pango/pangocairo-fontmap.c: Use new matrix API.

	* pango/pangocairo-fcfont.c pango/pangocairo-win32font.c 
	pango/pangocairo-render.c: Update to new Cairo font API.

	* pangpopangowin32.h pango/pangowin32-private.h pango/pangowin32.c
	pango/pangocairo-win32font.c modules/basic/basic-win32.c: Rename
	get_scale_factor() to get_metrics_factor() to match Cairo.

2005-04-04  Hans Breuer  <hans@breuer.org>

	* pango/pangocairo-win32font.c(pango_cairor_win32_font_get_metrics) :
	variable declaration on the start of the block, not C99 everywhere.

	* examples/viewer-win32.c : updated to not so recent Pango api changes

	* pango/makefile.msc : pangocairo build win32 version, not freetype

2005-04-01  Carl Worth  <cworth@cworth.org>

	* examples/cairosimple.c: (main): Update to track removal of
	cairo_set_target_png from cairo.

2005-03-24  Theppitak Karoonboonyanan  <thep@linux.thai.net>

	* modules/thai/thai-fc.c (tis620_1), modules/thai/thai-shaper.c
	(Mac_shape_table): Added more MacThai PUA glyphs that are not defined
	in vendor data at Unicode.org, but just available in actual fonts.

2005-03-20  Tor Lillqvist  <tml@novell.com>

	* modules/basic/basic-win32.c (make_langid): Leave out some
	languages that don't have any own digits.
	(itemize_shape_and_place): Force fRTL for each item returned from
	ScriptItemize() to the bidi embedding parity for the whole
	run. Pango passes us a run that it correctly has analyzed should
	be of a certain direction, but ScriptItemize() still might split
	it into items, some of which have neutral direction. (#170931)
	(text_is_simple): Use g_utf8_to_utf16().

2005-03-18  Hans Breuer  <hans@breuer.org>

	* pango/pango.def pango/pangocairo.def : updated externals

	* pango/pangowin32.c(pango_win32_render_transformed) : matrix elements 
	xy and yx are needed the other way around for XFORM

2005-03-17  Owen Taylor  <otaylor@redhat.com>

	* pango/pangocairo-win32font.c (_pango_cairo_win32_font_new):
	Set win32font->logfont. (How was this working at all?)

2005-03-15  Owen Taylor  <otaylor@redhat.com>

	* docs/tmpl/main.sgml (pango_unichar_direction): Fix
	PANGO_DIRECTION_LTR/RTL cut-and-paste. (Tim Janik)

2005-03-15  Owen Taylor  <otaylor@redhat.com>

	* pango/pangofc-fontmap.c: Include the effect of the
	CTM in the FC_PIXEL_SIZE we set in the FcPattern.
	(Fixes problems with getting the wrong font when drawing
	the same font at multiple scales. Reported by Keith
	Packard.)

	* pango/pangofc-fontmap.h pango/pangocairo-fcfontmap.c
	pango/pangocairo-fc.h pango/pangocairo-fontfont.c: Add
	the PangoFontDescription to create_font() ... we need it
	to get the right pixel size to combine with the CTM.

	* pango/pangofc-fontmap.c (pango_fc_fontmap_get_dpi): 
	Extract out the logic for finding the DPI from the 
	size-listing code.
	(pango_fc_font_map_get_render_key): Handle mix of
	absolute and not sizes correctly.

2005-03-05  Manish Singh  <yosh@gimp.org>

	* pango/mini-fribidi/fribidi_types.[ch]: const correctness for
	_pango_fribidi_prop_to_type

	* tools/Makefile.am: dist gen-script-table.pl and gen-color-table.pl

2005-03-04  Owen Taylor  <otaylor@redhat.com>

	Reduce non-shared data (#168899, inspired by patches
	from Tommi Komulainen and Ross Burton)

	* pango/pango-color.c pango/pango-color-table.h 
	tools/gen-color-table.pl: Redo storage of colors to
	use offsets into a static string rather than embedded
	strings. (Inspired by a patch from Tommi Komulainen,
	#168899)

	* pango/break.c pango/fonts.c pango/pango-color.c 
	pango/pango-layout.c pango/pango-markup.c 
	pango/pango-script-lang-table.h
	pango/mini-fribidi/fribidi_types.c 
	tools/gen-script-for-lang.c: Add const in various places

	* modules/arabic/arabic-fc.c  modules/hebrew/hebrew-fc.c:
	modules/indic/{indic-fc.c,indic-ot-class-tables.c,
	indic-ot.h} modules/syriac/syriac-ot.c (syriac): Further
	addition of const.

2005-03-04  Owen Taylor  <otaylor@redhat.com>

	* NEWS: Updates from stable branch.

2005-03-03  Owen Taylor  <otaylor@redhat.com>

	* modules/indic/indic-ot.[ch] modules/indic-ot-class-tables.c:
	Split out handling of sinhala al-lakuna character from
	handling of Virama in the state table to avoid implicit
	formation of conjucts for Sinhala. (Patch from 
	Harshula, ##161981)

	* modules/indic/indic-fc.c modules/indic/indic-ot.h:
	Add a new script flag SF_PROCESS_ZWJ indicating
	whether zero width characters should be passed to
	gsub/gpos.

	* modules/indic/indic-ot-class-tables.c: Set SF_PROCESS_ZWJ
	for Sinhala. (#161981, Harshula)

2005-03-03  Owen Taylor  <otaylor@redhat.com>

	* pango/pango-fontmap.c (pango_font_map_load_font): Add
	a g_return_if_fail() if desc doesn't have a family.
	(#165866, Kees Cook)

2005-03-03  Owen Taylor  <otaylor@redhat.com>

	* pango/pangoxft-render.c (pango_xft_renderer_draw_glyphs):
	Call XftCharIndex() on the right font. (#163511)

2005-03-03  Owen Taylor  <otaylor@redhat.com>

	* pango/opentype/ftxopen.c (Coverage_Index1, Coverage_Index2, 
	Get_Class2): For all binary searches, handle the case where
	the number of items is 0. (#162977, Nick Lamb)

	* pango/opentype/ftxgdef.c (TT_GDEF_Build_ClassDefinition):
	Handle the case where glyph_count == 0 properly. Fix a problem 
	with cleanups on memory allocation failure.
	(Get_New_Count, Add_Glyph_Property): Avoid reading off the
	end of the ClassRangeRecord array.

2005-03-02  Owen Taylor  <otaylor@redhat.com>

	* pango/fonts.c (pango_font_description_from_string_: For
	family names that add in numbers add a , to distinguish
	them from family+size (#166540, debugging/testing by
	Manish Singh)

2005-03-02  Owen Taylor  <otaylor@redhat.com>

	* pango/pango-attributes.c (pango_attr_iterator_get_attrs):
	Fix various typos in the docs (#163244, Morten Welinder)

2005-03-02  Owen Taylor  <otaylor@redhat.com>

	* pango/pangoxft-font.c (pango_xft_font_get_glyph_extents): 
	Go back to using Xft-reported metrics for all non-transformed
	fonts. Reporting non-integer glyph metrics for fonts
	where people have disabled hinting in their config causes
	various problems. (reported variously, including #167801, 
	Adam Sampson)

2005-03-02  Owen Taylor  <otaylor@redhat.co>m

	[ ChangeLog entry for some changes accidentally committed
	  a while ago ]

	Redo the handling of absolute sizes for PangoAttribute
	to work around compatibility problems with GtkHTML which
	was counting on the details of the implementation of
	size attributes. (#163154)

	* pango/pango-attributes.[ch] docs/tmpl/text-attributes.sgml:
	Split PANGO_ATTR_SIZE into PANGO_ATTR_SIZE and 
	PANGO_ATTR_ABSOLUTE_SIZE, and use that distinction
	rather than the boolean field in PangoAttrSize to
	distinguish between attributes created 
	pango_attr_size_new_absolute() and
	pango_attr_size_new()

2005-03-01  Owen Taylor  <otaylor@redhat.com>

	* pango/pango-layout.c (process_item): Don't break
	lines on LINE_SEPARATOR in single-paragraph mode.
	(#168589, Damon Chaplin)

2005-03-01  Owen Taylor  <otaylor@redhat.com>

	* pango/pangoxft-font.c: Fix a typo in the last
	commit (Manish Singh)

2005-03-01  Owen Taylor  <otaylor@redhat.com>

	* pango/pangoxft-font.c (xft_font_get_font): Delete
	FC_SPACING value out of pattern before passing it
	to Xft, to prevent Xft clipping characters and
	trashing metrics. (#164879, Billy Biggs)

2005-03-01  Owen Taylor  <otaylor@redhat.com>

	* pango/pango-context.c (pango_context_get_metrics): Use
	the language from the context if %NULL is passed in for
	@language. (#163472)

2005-03-01  Owen Taylor  <otaylor@redhat.com>

	Build fixes from Andrew P. Lentvorski, Jr, #164655

	* pango/pangoft2-render.c: Duplicate the 
	FT_LOAD_TARGET_MONO/FT_LOAD_MONOCHROME back-compat
	define from pangoft2.c here

	* examples/Makefile.am (pango_xftview_LDADD): Add
	X_LIBS to pango_xftview_LDADD since some old versions
	of xft.pc didn't add -lX11.

2005-03-01  Owen Taylor  <otaylor@redhat.com>

	* configure.in: Use PKG_CHECK_MODULES not AM_PATH_GLIB_2_0
	to avoid a problem where older verisons of AM_PATH_GLIB_2_0
	silently ignored gmodule-no-export causing mysterious
	build failures. (#161786)

	* pango/Makefile.am (DISTCLEANFILES): Move some 
	configure.in output files from CLEANFILES to DISTCLEANFILES.

2005-03-01  Tor Lillqvist  <tml@novell.com>

	* tests/cxx-test.C: Include pangowin32.h first to avoid
	a namespace collision. (#163584)

2005-02-25  Manish Singh  <yosh@gimp.org>

	* pango/pangofc-font.c (pango_fc_font_class_init): map get_font_map
	to the right function.

	* pango/pangox.c (pango_x_font_class_init): fill in get_font_map.

2005-02-24  Owen Taylor  <otaylor@redhat.com>

	* pango/pangocairo-win32.h pango/pangocairo-win32font.c 
	pango/pangocairo-win32fontmap.c	pango/Makefile.am:
	PangoCairoFontMap for win32 fonts.

	* pango/pangocairo-fontmap.c: Use PangoCairoWin32FontMap
	when available.

	* pango/pangowin32.h pango/pangowin32-fontmap.h pango/pangowin32.c: 
	Add virtual pango_win32_font_select_font()
	to prepare a DC for use with a PangoWin32Font, and to release,
	pango_win32_font_scale_font() to get logical unit => Pango units scale,
	pango_win32_font_done_font() to release resources.

	* pango/pangowin32-fontmap.[ch]: Add a find_font() virtual method
	to allow subclasses that change how PangoFont lookup and
	creation happens.

	* pango/pangowin32-fontmap.c: Move initialization into 
	pango_win32_font_map_init() to facilitate derivation.

	* pango/pangowin2.c pango/pangowin32-fontmap.c 
	pango/pangowin32-private.h: Move PangoWin32Font/PangoWin32FontMap 
	definitions into pangowin32-private.h to allow derivation for 
	PangoCairoWin32Font.

	* modules/basic/basic-win32.c: Use pango_win32_font_select_font()
	and friends.

	* modules/basic/basic-win32.c: Use g_utf8_to_utf16 instead
	of g_convert for simplicity and speed.

	* pango/fonts.c (pango_font_get_font_map) pango/pango-font.h
	pango/pangofc-font.c pango/pangowin32.c pango/pango.c pango/pango.def
	docs/pango-sections.txt: Add a virtual function to get the fontmap 
	for a font.

	* pango/pangocairo-render.c: Use pango_font_get_font_map()
	rather than PangoFcFontMap hack.

	* pango/pango-types.h: Move the declaration of PangoFontMap here
	to avoid interactions between pango-font.h and pango-fontmap.h.

	* pango/pangocairo.h: Remove accidental include 
	of pangofc-fontmap.h.

2005-02-21  Owen Taylor  <otaylor@redhat.com>

	* pango/fonts.c (pango_font_get_glyph_extents): 
	* pango/shape.c (pango_shape): Minor doc fixes.
	(#167922, #167924, Billy Biggs)

2005-02-06  Owen Taylor  <otaylor@redhat.com>

	* pango/pangocairo.h pango/pangocairo-render.c docs/pango-sections.txt:
	Rename pango_cairo_show_glyphs() to pango_cairo_show_glyph_string().
	Add pango_cairo_{glyph_string,layout_line,layout}_path()

	* docs/Makefile.am (INCLUDES): Add CAIRO_CFLAGS.

2005-02-06  Hans Breuer  <hans@breuer.org>

	* pango/makefile.msc pango/*.def pango/pangocairo.def : updated to
	build with the new Cairo dependency
	* pango/Makefile.am : added pangocairo.def to EXTRA_DIST

2005-02-03  Manish Singh  <yosh@gimp.org>

	* pango/pangocairo-fc.h: spell _pango_cairo_fc_get_render_key
	correctly.

	* pango/pangocairo-fcfont.c: #include cairo-ft.h

2005-02-03  Manish Singh  <yosh@gimp.org>

	* configure.in: use CAIRO_LIBS for all libcairo checks, and disable
	the cairo backend if we don't have Win32 nor FreeType support in
	cairo.

2005-02-03  Owen Taylor  <otaylor@redhat.com>

	* pango/pangofc-font.c (pango_fc_font_real_get_glyph): Fix unpaired
	lock/unlock_face().

2005-02-03  Owen Taylor  <otaylor@redhat.com>

	* configure.in: Bump to 1.9.0.

	* pango/pangofc-fontmap.h: Document PangoFcFontMap.create_font()

2005-02-03  Owen Taylor  <otaylor@redhat.com>

	* examples/cairosimple.c: Open the file with mode "wb", include
	cairo-png.h. 

	* examples/xftview.c examples/cairoview.c: Set WM_NORMAL_HINTS to avoid 
	triggering a metacity bug.

	* examples/cairoview.c: Include cairo-xlib.h.

	* configure.in: Add checks for the Win32 Cairo backend. (not committing
	the code yet).

	* examples/Makefile.am pango/Makefile.am: add CAIRO_CFLAGS.

	* pango/pangocairo-fc.h pango/pangocairo-fcfont.c
	pango/pangocairo-fcfontmap.c pango/pangofc-fontmap.[ch]: Rework
	Cairo/Fontconfig backend to use the current Cairo API. Make
	some PangoFcFontMap changes to enable that.

	* pango/pango/pangocairo-private.h pango/pangocairo-render.c:
	Update for cairo_font_t changes.

2005-01-31  Matthias Clasen  <mclasen@redhat.com>

	* modules/hebrew/hebrew-fc.c (get_cluster_glyphs): Show
	unknown glyphs; this may lead to overlapping boxes when
	accents are involved, but it is better than text vanishing
	without any traces.

2005-01-29  Tor Lillqvist  <tml@novell.com>

	* pango/pango.def: Add missing pango_render_part_get_type. 
	(#165287, Cedric Gustin)

2005-01-25  Tor Lillqvist  <tml@novell.com>

	* pango/pango.def: Add a missing entry point.

	* modules/basic/Makefile.am (usp10.h): Don't use -p option to cp,
	can cause "failed to preserve ownership" errors.

	* modules/*/Makefile.am (INCLUDES): Remove extraneous slash here,
	too.

2005-01-11  Owen Taylor  <otaylor@redhat.com>

	* modules/basic/Makefile.am (INCLUDES): Remove an extraneous
	/ that was confusing gcc on Win32.

2005-01-10  Owen Taylor  <otaylor@redhat.com>

	* Makefile.am (EXTRA_DIST): Add missing ChangeLog.pre*

2005-01-08  Owen Taylor  <otaylor@redhat.com>

	* Makefile.am configure.in pangocairo.pc.in 
	pangocairo-uninstalled.pc.in: Add a .pc file for
	pangocairo.

2005-01-08  Matthias Clasen  <mclasen@redhat.com>

	* pango.pc.in: Require gmodule-no-export-2.0 instead
	of gmodule-2.0

2005-01-08  Owen Taylor  <otaylor@redhat.com>

	* configure.in: Add checks for Cairo

	* pango/Makefile.am: Add libpangocairo.

	* pango/pangocairo-font.c pango/pangocairo-fontmap.c
	pango/pangocairo.h pango/pangocairo-private.h 
	pango/pangocairo-fcfont.c pango/pangocairo-fcfontmap.c
	pango/pangocairo-fc.h: Start of a Cairo/FreeType backend.

	* pango/pangofc-fontmap.[ch]: Add a "get_render_key" 
	virtual function to allow subclasses to specialize the
	details of how caching works. Add a default implementation
	that's a little more sophisticated than what was there
	before.

	* pango/pangoft2-private.h pangofc-font.c pangoft2.c:
	Move default implementations of has_char(), get_glyph()
	to the base class.

	* pango/pangofc-private.h pango/pangoft2-private.h:
	Move PANGO_UNITS_26_6 and friends to pango/pangofc-private.h.

	* examples/renderdemo.[ch] examples/pangoft2topgm.c 
	examples/xftview.c: Allow passing in a custom function
	to transform drawing.

	* examples/Makefile.am examples/cairoview.c: Add a
	Cairo/Xlib example program.

	* examples/cairosimple.c: Simple Cairo example with
	output to a PNG.

	* pango/pango-layout.c (pango_layout_line_get_extents): Fix
	bug where line ink rect was always including 0, 0.

2005-01-06  Owen Taylor  <otaylor@redhat.com>

	* pango/pango-attributes.c (pango_attr_iterator_get_font): 
	Fix reversed test on attr->absolute that was causing 
	pixels sizes to be used inappropriately. (#163105, 
	Ross Burton)

2005-01-04  Owen Taylor  <otaylor@redhat.com>

	* pango/break.c (enum): Fix trailing comma in enum (#162618)

2005-01-04  Owen Taylor  <otaylor@redhat.com>

	* pango/pango-attributes.c (pango_attr_list_splice): Fix
	doc sentences to parse. (#161812, Morten Welinder)

2005-01-14  Owen Taylor  <otaylor@redhat.com>

	* pango/pango-renderer.c (pango_renderer_draw_trapezoid): Rename
	y1 parameters to y1_ to avoid conflicts with the math.h Bessel
	function. (#161969)

2004-12-31  Owen Taylor  <otaylor@redhat.com>

	* pango/pangofc-fontmap.c (pango_fc_convert_weight_to_pango): 
	Fix problem where MEDIUM was getting grouped with SEMIBOLD
	rather than NORMAL. 
	(http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=143832)

2004-12-22  Owen Taylor  <otaylor@redhat.com>

	* pango/pango-script.c pango/pango-types.h: Fix a couple
	of documentation typos (#161647, Torsten Schoenfeld)

2004-12-18  Tor Lillqvist  <tml@iki.fi>

	* pango/pangowin32-private.h
	* pango/pangowin32.c (pango_win32_font_get_metrics): Cache metrics
	by language, like the other backends do. Don't try to get the
	width of the 0..9 digit string if the font doesn't cover digits.

2004-12-17  Tor Lillqvist  <tml@iki.fi>

	* pango/Makefile.am: Make the .la files depend on the
	corresponding .def files.

	* pango/pango.def: Add a couple of missing functions.

2004-12-17  Owen Taylor  <otaylor@redhat.com>

	* pango/pangofc-fontmap.c (pango_fc_convert_weight_to_fc): Use
	FC_WEIGHT_MEDIUM, not FC_WEIGHT_NORMAL in old-fontconfig
	case. (#161568, Vincent Noel)

2004-12-17  Owen Taylor  <otaylor@redhat.com>

	* configure.in: Fix a couple of typos in the handling of
	tibetan for --with-included-modules. (#161501, Sebastien Bacher)

2004-12-17  Owen Taylor  <otaylor@redhat.com>

	* pango/pango-layout.c (pango_layout_get_extents_internal): Fix 
	bug in computing logical_rect.x when layout->width == -1.
	(#161510, Morten Welinder)

2004-12-16  Owen Taylor  <otaylor@redhat.com>

	* docs/tmpl/pango-renderer.sgml: Add short and long descriptions.