forked from servo/libfontconfig
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ChangeLog
22398 lines (17080 loc) · 671 KB
/
ChangeLog
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
commit f6244d2cf231e1dc756f3e941e61b9bf124879bb
Author: Akira TAGOH <[email protected]>
Date: Wed May 8 11:57:49 2013 +0900
Use the glob matching for filename
Regex is expensive to compare filenames. we already have the glob
matching
and it works enough in this case.
Prior to this change, renaming FcConfigGlobMatch() to FcStrGlobMatch()
and moving to fcstr.c
src/fccfg.c | 46 +---------------------------------------------
src/fcint.h | 4 ++++
src/fcmatch.c | 6 ++----
src/fcstr.c | 44 ++++++++++++++++++++++++++++++++++++++++++++
4 files changed, 51 insertions(+), 49 deletions(-)
commit 03216ccf4ca0808f9c7b9513efcaeb7f4058b575
Author: Akira TAGOH <[email protected]>
Date: Wed Apr 10 18:41:22 2013 +0900
Bug 63329 - make check fails: .. contents:: :depth: 2
Add back FcHashGetSHA256DigestFromFile() and fall back to it
when font isn't SFNT-based font because FT_Load_Sfnt_Table
fails with FT_Err_Invalid_Face_Handle.
src/fcfreetype.c | 32 ++++++++++++++++++++---------
src/fchash.c | 62
++++++++++++++++++++++++++++++++++++++++++++++++++++++++
src/fcint.h | 4 ++++
3 files changed, 88 insertions(+), 10 deletions(-)
commit 77419a4dfdf41ed34dd03e74d0e4e6f89dbc65e1
Author: Akira TAGOH <[email protected]>
Date: Wed Apr 10 11:14:39 2013 +0900
documented FC_HASH and FC_POSTSCRIPT_NAME
doc/fontconfig-devel.sgml | 3 +++
1 file changed, 3 insertions(+)
commit fc5a589abad0e8285f7d95007ebda76536e8fa7d
Author: Akira TAGOH <[email protected]>
Date: Tue Apr 9 17:18:43 2013 +0900
Revert the previous change and rework to not export freetype API
outside fcfreetype.c
src/fcfreetype.c | 23 ++++++++++++++++++++---
src/fchash.c | 47 ++++++++++++-----------------------------------
src/fcint.h | 5 ++---
3 files changed, 34 insertions(+), 41 deletions(-)
commit c93a8b8b54afe33e5ecf9870723543cb4058fa94
Author: Akira TAGOH <[email protected]>
Date: Tue Apr 9 12:46:30 2013 +0900
Obtain fonts data via FT_Face instead of opening a file directly
src/fcfreetype.c | 2 +-
src/fchash.c | 50 +++++++++++++++++++++++++++++++++-----------------
src/fcint.h | 4 +++-
3 files changed, 37 insertions(+), 19 deletions(-)
commit 9299155b5247255d6b6687448173056c3ca8d09b
Author: Akira TAGOH <[email protected]>
Date: Tue Apr 9 11:34:35 2013 +0900
Ensure closing fp on error
src/fchash.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit 18bf57c70aafcad031c0b43756b754dcaf6a756a
Author: Sebastian Freundt <[email protected]>
Date: Sun Apr 7 00:02:58 2013 +0000
build-chain, replace INCLUDES directive by AM_CPPFLAGS
As of automake-13.1 the INCLUDES directive is no longer supported.
An automake run will return with an error.
This changeset simply follows automake's advice to replace INCLUDES
by AM_CPPFLAGS.
Tools.mk | 4 ++--
fc-cache/Makefile.am | 2 +-
fc-cat/Makefile.am | 2 +-
fc-list/Makefile.am | 2 +-
fc-match/Makefile.am | 2 +-
fc-pattern/Makefile.am | 2 +-
fc-query/Makefile.am | 2 +-
fc-scan/Makefile.am | 2 +-
fc-validate/Makefile.am | 2 +-
src/Makefile.am | 2 +-
10 files changed, 11 insertions(+), 11 deletions(-)
commit 8fd0ed60a62cb7f36b2ade1bd16a66671eaf79da
Author: Akira TAGOH <[email protected]>
Date: Mon Apr 1 18:16:28 2013 +0900
Bug 62980 - matching native fonts with even :lang=en
Fix the matcher modified by 4eab908c8679a797ac7016b77a93ee41bb11b0fc
to deal with both strong and weak of FC_LANG as the same location
in the score
src/fcmatch.c | 23 +++++++----------------
1 file changed, 7 insertions(+), 16 deletions(-)
commit 73fa326d1e791b587da93b795f962c3405b7a96d
Author: Akira TAGOH <[email protected]>
Date: Fri Mar 29 16:10:15 2013 +0900
Bump version to 2.10.92
README | 65
+++++++++++++++++++++++++++++++++++++++++++++++--
configure.ac | 2 +-
fontconfig/fontconfig.h | 2 +-
3 files changed, 65 insertions(+), 4 deletions(-)
commit c842412c079e781d53f023616d9758223fb68323
Author: Akira TAGOH <[email protected]>
Date: Fri Mar 29 16:07:30 2013 +0900
Minor fix
new-version.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit b3b435b87f1aec1b2779fd7edbbff5571c3c61a2
Author: Akira TAGOH <[email protected]>
Date: Fri Mar 29 16:02:34 2013 +0900
Bump libtool revision
configure.ac | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
commit 3fc22cfe756fcb2d6c5a64aa305957c417c6cecd
Author: Akira TAGOH <[email protected]>
Date: Fri Mar 29 12:46:04 2013 +0900
Minor cleanup
Makefile.am | 1 +
1 file changed, 1 insertion(+)
commit b561ff2016ce84eef3c81f16dfb0481be6a13f9b
Author: Akira TAGOH <[email protected]>
Date: Fri Jan 18 11:30:10 2013 +0900
Bug 38737 - Wishlist: support FC_POSTSCRIPT_NAME
Add the PostScript name into the cache and the matcher.
Scoring the better font against the PostScript name by
the forward-matching.
fontconfig/fontconfig.h | 1 +
src/fcfreetype.c | 49 +++++++++++++++++++++++++++-
src/fcint.h | 6 ++++
src/fcmatch.c | 21 ++++++++++++
src/fcobjs.h | 1 +
src/fcstr.c | 85
++++++++++++++++++++++++++++---------------------
6 files changed, 125 insertions(+), 38 deletions(-)
commit c758206e8c0e5b572bd34183b184ef4361745333
Author: Akira TAGOH <[email protected]>
Date: Thu Mar 21 11:58:06 2013 +0900
Fix a SIGSEGV on FcPatternGet* with NULL pattern
src/fcpat.c | 2 ++
1 file changed, 2 insertions(+)
commit bdf1581e3de5528f397f19bfd4ca9caaf9e7fe4a
Author: Behdad Esfahbod <[email protected]>
Date: Fri Mar 8 05:53:27 2013 -0500
Fix crash with FcConfigSetCurrent(NULL)
src/fccfg.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit aad4d6f6c68d06415333f5d0d3e4b4870114f11d
Author: Akira TAGOH <[email protected]>
Date: Thu Mar 7 13:19:50 2013 +0900
Do not copy FC_*LANG_OBJECT even if it's not available on the pattern
those objects are linked to the corresponding string objects.
this may causes inconsistency that those objects has more values
than them.
src/fcmatch.c | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
commit e96d7760886a3781a46b3271c76af99e15cb0146
Author: Akira TAGOH <[email protected]>
Date: Wed Feb 6 19:35:30 2013 +0900
Bug 59456 - Adding a --sysroot like option to fc-cache
Add an ability to set the system root to generate the caches.
In order to do this, new APIs, FcConfigGetSysRoot() and
FcConfigSetSysRoot() is available.
doc/fcconfig.fncs | 21 +++++++++++
fc-cache/fc-cache.c | 38 +++++++++++++------
fontconfig/fontconfig.h | 7 ++++
src/fccache.c | 99
+++++++++++++++++++++++++++++++++----------------
src/fccfg.c | 57 ++++++++++++++++++++++++++++
src/fcinit.c | 30 ++++++++++-----
src/fcint.h | 15 +++++++-
src/fcstr.c | 62 ++++++++++++++++++++++++++++++-
8 files changed, 275 insertions(+), 54 deletions(-)
commit 569657a24ca11aedfd3b588984344d7ab97fe09f
Author: Akira TAGOH <[email protected]>
Date: Tue Mar 5 12:46:01 2013 +0900
Fix a memory leak
src/fclang.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
commit 612ee2a5c91b8929b2cc5abce4af84d8d7e66bd0
Author: Akira TAGOH <[email protected]>
Date: Fri Mar 1 22:21:25 2013 +0900
Fix broken sort order with FcFontSort()
which was introduced by 4eab908c8679a797ac7016b77a93ee41bb11b0fc
src/fcmatch.c | 7 +++++++
1 file changed, 7 insertions(+)
commit ea4ebd59377d3dff3616bd20381f308a92781ae6
Author: Akira TAGOH <[email protected]>
Date: Fri Mar 1 19:38:21 2013 +0900
Fix a crash when the object is non-builtin object
src/fcmatch.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
commit 10230497675fa4fcbb427efe8dd2883839ddaec0
Author: Akira TAGOH <[email protected]>
Date: Fri Mar 1 18:41:27 2013 +0900
Fix a typo
conf.d/30-metric-aliases.conf | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit db69bf6ecd0da4d23bdfe38652bb53d2daa655a2
Author: Akira TAGOH <[email protected]>
Date: Fri Mar 1 18:31:01 2013 +0900
Bug 60783 - Add Liberation Sans Narrow to 30-metric-aliases.conf
Add Liberation Sans Narrow as an alias for Arial Narrow
conf.d/30-metric-aliases.conf | 16 ++++++++++++++++
1 file changed, 16 insertions(+)
commit 2c696255749683e9a084f797eb033d222510a275
Author: Akira TAGOH <[email protected]>
Date: Mon Feb 18 13:17:53 2013 +0900
Bug 60748 - broken conf.d/10-autohint.conf and conf.d/10-unhinted.conf
Move the target of recipes to the "pattern" from the "font".
This is to ensure the targeted objects is updated by them
prior to FcDefaultSubstitute() so that it can adds the default
values properly.
conf.d/10-autohint.conf | 2 +-
conf.d/10-no-sub-pixel.conf | 2 +-
conf.d/10-sub-pixel-bgr.conf | 2 +-
conf.d/10-sub-pixel-rgb.conf | 2 +-
conf.d/10-sub-pixel-vbgr.conf | 2 +-
conf.d/10-sub-pixel-vrgb.conf | 2 +-
conf.d/10-unhinted.conf | 2 +-
conf.d/11-lcdfilter-default.conf | 2 +-
conf.d/11-lcdfilter-legacy.conf | 2 +-
conf.d/11-lcdfilter-light.conf | 2 +-
10 files changed, 10 insertions(+), 10 deletions(-)
commit 83f679ce558de736ef1a095a362397da0ac3417f
Author: Behdad Esfahbod <[email protected]>
Date: Fri Feb 15 09:48:38 2013 -0500
Accept digits as part of OpenType script tags
They've been used since 2005.
src/fcfreetype.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
commit 72b0480a21958f0f8c115d8e0a5bfbd8d358b5c3
Author: Akira TAGOH <[email protected]>
Date: Thu Feb 7 17:56:17 2013 +0900
Add Culmus foundry to the vendor list
Maps fonts produced by the Culmus project
<http://culmus.sourceforge.net>
to the XLFD foundry name culmus.
For TrueType fonts, maps the vendor code CLM from the TrueType vendor
id field.
For Type1 fonts, which use heuristics to guess mappings to XLFD
foundries from
words in the copyright notice, add the names of the main contributors
to
the Culmus product to recognize the fonts under their copyright.
Patch from Maxim Iorsh
src/fcfreetype.c | 67
+++++++++++++++++++-------------------------------------
1 file changed, 23 insertions(+), 44 deletions(-)
commit 96220a5ed9d1d761b14a7ac516ac6786c132f280
Author: Quentin Glidic <[email protected]>
Date: Sat Feb 2 17:01:07 2013 +0100
Use LOG_COMPILER and AM_TESTS_ENVIRONMENT
TESTS_ENVIRONMENT is deprecated and should be reserved to the user to
override the test environment
<ext>_LOG_COMPILER is meant to contain the program that runs the test
with <ext> extension
LOG_COMPILER is for extensionless tests
AM_TESTS_ENVIRONMENT is meant to set the environment for the tests
https://bugs.freedesktop.org/show_bug.cgi?id=60192
Signed-off-by: Quentin Glidic <[email protected]>
Makefile.am | 1 -
configure.ac | 2 +-
doc/Makefile.am | 5 ++++-
test/Makefile.am | 12 +++++++++++-
4 files changed, 16 insertions(+), 4 deletions(-)
commit 62b7d764ce994bb32e7614337fdfa0854445c380
Author: Akira TAGOH <[email protected]>
Date: Wed Feb 6 19:14:51 2013 +0900
Bump the cache version to 4
fontconfig/fontconfig.h | 2 +-
src/fcint.h | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
commit 4eab908c8679a797ac7016b77a93ee41bb11b0fc
Author: Akira TAGOH <[email protected]>
Date: Wed Feb 6 19:02:07 2013 +0900
Update _FcMatchers definition logic
to make it easier to maintain. also added FC_HASH_OBJECT to be matched
in the pattern, prior to FC_FILE_OBJECT.
src/fcint.h | 2 +-
src/fcmatch.c | 184
+++++++++++++++++++++++--------------------------
src/fcname.c | 2 +-
src/fcobjs.h | 90 ++++++++++++------------
src/fcobjshash.gperf.h | 2 +-
5 files changed, 134 insertions(+), 146 deletions(-)
commit 52b2b5c99268d5ad28dc0972c5f136720d55f21b
Author: Akira TAGOH <[email protected]>
Date: Tue Feb 5 20:44:18 2013 +0900
Bug 60312 - DIST_SUBDIRS should never appear in a conditional
As it is documented like this:
If SUBDIRS is defined conditionally using Automake conditionals,
Automake will define DIST_SUBDIRS automatically from the possible
values of SUBDIRS in all conditions.
So we don't need to re-define DIST_SUBDIRS in Makefile.am unless
we use AC_SUBST to define SUBDIRS.
Patch from Quentin Glidic
Makefile.am | 3 ---
1 file changed, 3 deletions(-)
commit 95af7447dba7c54ed162b667c0bb2ea6500e8f32
Author: Akira TAGOH <[email protected]>
Date: Mon Feb 4 16:03:29 2013 +0900
Bug 50733 - Add font-file hash?
Add "hash" object which contains SHA256 hash value (so far) computed
from the font file.
fontconfig/fontconfig.h | 1 +
src/Makefile.am | 1 +
src/fcfreetype.c | 9 ++
src/fchash.c | 265
++++++++++++++++++++++++++++++++++++++++++++++++
src/fcint.h | 7 ++
src/fcobjs.h | 1 +
6 files changed, 284 insertions(+)
commit d34643894f2dff7eec35345e8e9b32a9a32fa113
Author: Akira TAGOH <[email protected]>
Date: Tue Feb 5 14:17:16 2013 +0900
Use AM_MISSING_PROG instead of hardcoding missing
Makefile.am | 2 +-
configure.ac | 1 +
2 files changed, 2 insertions(+), 1 deletion(-)
commit 241cd53ff62599ecf557c6a4f975fc427dad9700
Author: Akira TAGOH <[email protected]>
Date: Tue Feb 5 11:33:47 2013 +0900
Revert "test: Use SH_LOG_COMPILER and AM_TESTS_ENVIRONMENT"
This reverts commit 2146b0307a3476892723104481f27f8484451c52.
That change introduces incompatibility and seems not working with
older releases of automake, including automake 1.12.2.
test/Makefile.am | 12 +-----------
1 file changed, 1 insertion(+), 11 deletions(-)
commit 2146b0307a3476892723104481f27f8484451c52
Author: Quentin Glidic <[email protected]>
Date: Sat Feb 2 17:01:07 2013 +0100
test: Use SH_LOG_COMPILER and AM_TESTS_ENVIRONMENT
TESTS_ENVIRONMENT is deprecated and should be reserved to the user to
override the test environment
<ext>_LOG_COMPILER is meant to contain the program that runs the test
with <ext> extension
AM_TESTS_ENVIRONMENT is meant to set the environment for the tests
https://bugs.freedesktop.org/show_bug.cgi?id=60192
Signed-off-by: Quentin Glidic <[email protected]>
test/Makefile.am | 12 +++++++++++-
1 file changed, 11 insertions(+), 1 deletion(-)
commit da0946721af3ab2dff3cd903065336b93592d067
Author: Akira TAGOH <[email protected]>
Date: Mon Feb 4 17:57:00 2013 +0900
Use AM_MISSING_PROG instead of hardcoding missing
configure.ac | 2 ++
src/Makefile.am | 2 +-
2 files changed, 3 insertions(+), 1 deletion(-)
commit 786ead52015573e7b60a53d79abc26d611f1fe93
Author: Akira TAGOH <[email protected]>
Date: Mon Feb 4 17:20:03 2013 +0900
Modernize configure.ac
configure.ac | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
commit 20191810d1fea7c2f49b65ffee3e4d5e2bc0bac3
Author: Akira TAGOH <[email protected]>
Date: Tue Jan 29 20:19:36 2013 +0900
Bug 23757 - Add mode="delete" to <edit>
Add two edit mode, "delete" and "delete_all".
what values are being deleted depends on <test> as documented.
if the target object is same to what is tested, matching value there
will be deleted. otherwise all of values in the object will be
deleted.
so this would means both edit mode will not take any expressions.
e.g.
Given that the testing is always true here, the following rules:
<match>
<test name="foo" compare="eq">
<string>bar</string>
</test>
<edit name="foo" mode="delete"/>
</match>
will removes "bar" string from "foo" object. and:
<match>
<test name="foo" compare="eq">
<string>foo</string>
</test>
<edit name="bar" mode="delete"/>
</match>
will removes all of values in "bar" object.
doc/fontconfig-user.sgml | 2 ++
fonts.dtd | 2 +-
src/fccfg.c | 10 ++++++++++
src/fcdbg.c | 6 ++++--
src/fcint.h | 1 +
src/fcxml.c | 11 +++++++++++
6 files changed, 29 insertions(+), 3 deletions(-)
commit c1d9588890798e389d0f0ba633b704dee1ea8bf5
Author: Colin Walters <[email protected]>
Date: Thu Jan 31 21:32:46 2013 -0500
build: Only use PKG_INSTALLDIR if available
It's only in pkg-config 0.27 or newer, but 0.25 at least is still
fairly widespread.
configure.ac | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit e11f15628cff04c4a742f88abee22f440edcce52
Author: Christoph J. Thompson <[email protected]>
Date: Fri Feb 1 02:27:32 2013 +0100
Use the PKG_INSTALLDIR macro.
modified: Makefile.am
modified: configure.ac
Makefile.am | 1 -
configure.ac | 1 +
2 files changed, 1 insertion(+), 1 deletion(-)
commit d26fb23c41abd87422778bb38eea39f25ba3dc4a
Author: Akira TAGOH <[email protected]>
Date: Fri Jan 25 20:01:24 2013 +0900
Bug 59385 - Do the right thing for intermixed edit and test elements
This changes allows to have multiple mathcing rules in one <match>
block
in the same order.
After this changes, the following thing will works as two matching
rules:
<match>
<!-- rule 1 -->
<test name="family" compare="eq">
<string>foo</string>
</test>
<edit name="foo" mode="append">
<string>foo</string>
</edit>
<!-- rule 2 -->
<test name="foo" compare="eq">
<string>foo</string>
</test>
<edit name="foo" mode="append">
<string>bar</string>
</edit>
</match>
fonts.dtd | 2 +-
src/fcxml.c | 46 ++++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 47 insertions(+), 1 deletion(-)
commit fb3b410998aba8835999e2ca7003a180431cfaf4
Author: Akira TAGOH <[email protected]>
Date: Wed Jan 23 12:37:51 2013 +0900
remove the unnecessary code
src/fccompat.c | 6 ------
1 file changed, 6 deletions(-)
commit 5400bb4fb43dc811b813f11d5b0c023db727f543
Author: Akira TAGOH <[email protected]>
Date: Wed Jan 23 12:32:37 2013 +0900
Add another approach to FC_PRGNAME for Solaris 10 or before
Patch from Raimund Steger
configure.ac | 2 +-
src/fcdefault.c | 5 ++++-
2 files changed, 5 insertions(+), 2 deletions(-)
commit 000ca9ccb03013a5b151f0d21148ab0ca4c2f2de
Author: Akira TAGOH <[email protected]>
Date: Tue Jan 22 12:11:56 2013 +0900
Fix installation on MinGW32
Patch from LRN
src/Makefile.am | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
commit 6363193a0575cf6f58baf7f0a772ad8f92b7b904
Author: Akira TAGOH <[email protected]>
Date: Tue Jan 22 12:03:28 2013 +0900
Fix mkstemp absence for some platform
Patch from LRN and modified to make more generic.
src/fccache.c | 57 ----------------------------
src/fccompat.c | 116
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++
src/fcint.h | 3 ++
3 files changed, 119 insertions(+), 57 deletions(-)
commit 9dbc282796e9a4d5a2a8cc7d1c8e29b9154e91c0
Author: Akira TAGOH <[email protected]>
Date: Tue Jan 22 10:26:41 2013 +0900
Add missing file descriptor to F_DUPFD_CLOEXEC
Patch from Matthieu Herrb
src/fccompat.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit 6118781f7f5dba672d19a841cc231661bf5fb59d
Author: Behdad Esfahbod <[email protected]>
Date: Thu Jan 17 19:27:20 2013 -0600
Fix readlink failure
As reported by Raimund Steger.
src/fcdefault.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
commit 671bcb34e23ed03b1f564af35560db81f8b12b96
Author: Akira TAGOH <[email protected]>
Date: Thu Jan 17 12:49:16 2013 +0900
Better fix for 2fe5ddfd
Drop realpath() and fix breakage on Win32
configure.ac | 2 +-
src/fcdefault.c | 14 +++++++-------
2 files changed, 8 insertions(+), 8 deletions(-)
commit 2fe5ddfdae6be80db5b7e622ab6c1ab985377542
Author: Behdad Esfahbod <[email protected]>
Date: Wed Jan 16 21:01:28 2013 -0600
Fix FC_PRGNAME default
As reported by Raimund Steger.
src/fcdefault.c | 36 +++++++++++++++++++-----------------
1 file changed, 19 insertions(+), 17 deletions(-)
commit 55d39bcad0737e92e1207fabbd8c65fa9e5e0482
Author: Behdad Esfahbod <[email protected]>
Date: Wed Jan 16 07:30:44 2013 -0600
Fix fc-cache crash caused by looking up NULL object incorrectly
We were returning a skiplist node when looking up NULL!
src/fccache.c | 7 +++++--
src/fccfg.c | 4 ++--
2 files changed, 7 insertions(+), 4 deletions(-)
commit 106c4f73119e00a7804ef79ee556f1111d680e32
Author: Behdad Esfahbod <[email protected]>
Date: Wed Jan 16 07:05:07 2013 -0600
Minor
src/fcfreetype.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
commit 1a5d0daea0173e2cc47d76d2022467f0dbd423f0
Author: Behdad Esfahbod <[email protected]>
Date: Wed Jan 16 04:52:06 2013 -0600
Remove unused checks for common functions
The check results of these were never actually used.
configure.ac | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit f9ac4c84c90cbb57afbf1fa3a5c9ff3bfc4f537e
Author: Akira TAGOH <[email protected]>
Date: Wed Jan 16 16:35:28 2013 +0900
Improve FcGetPrgname() to work on BSD
configure.ac | 2 +-
src/fcdefault.c | 10 ++++++++++
2 files changed, 11 insertions(+), 1 deletion(-)
commit ec5ca08c807585a9230f83c95f7cca6b7065b142
Author: Behdad Esfahbod <[email protected]>
Date: Tue Jan 15 20:41:26 2013 -0600
Bug 59379 - FC_PRGNAME
Can be used for per-application configuration.
configure.ac | 2 +-
doc/fontconfig-devel.sgml | 3 +-
doc/fontconfig-user.sgml | 1 +
fontconfig/fontconfig.h | 1 +
src/fccfg.c | 7 ++++
src/fcdefault.c | 85
+++++++++++++++++++++++++++++++++++++++++++++--
src/fcint.h | 3 ++
src/fcobjs.h | 1 +
8 files changed, 99 insertions(+), 4 deletions(-)
commit 3f84695104b169fe25742ba3b91d04467f5debc4
Author: Akira TAGOH <[email protected]>
Date: Tue Sep 4 12:39:48 2012 +0900
Bug 50497 - RFE: Add OpenType feature tags support
Add FC_FONT_FEATURES to store the feature tags to be enabled.
doc/fontconfig-devel.sgml | 2 ++
doc/fontconfig-user.sgml | 1 +
fontconfig/fontconfig.h | 1 +
src/fcobjs.h | 1 +
4 files changed, 5 insertions(+)
commit dffb69ed8c7cf2e707bc692f94b51108b772d9d8
Author: Akira TAGOH <[email protected]>
Date: Tue Jan 15 17:26:27 2013 +0900
Fix the build fail on MinGW
Reported at
http://lists.freedesktop.org/archives/fontconfig/2013-January/004601.html
just warn at the runtime instead of the compile time. it somewhat
works
on even MinGW since FcMakeTempfile() isn't used on Win32 so far.
src/fccompat.c | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
commit 8b8f0d21534aa9b82276815c84429ffca8941d2a
Author: Behdad Esfahbod <[email protected]>
Date: Mon Jan 14 14:39:12 2013 -0600
Minor
src/fcmatch.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit 8828fffd93c6b19bcfd7626ddc472aa8f055d034
Author: Behdad Esfahbod <[email protected]>
Date: Mon Jan 14 14:36:38 2013 -0600
Copy all values from pattern to font if the font doesn't have
the element
Bug 59376 - FcFontRenderPrepare enhancement
src/fcmatch.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
commit 0831c1770e4bac7269a190936bbb0529d747e233
Author: Behdad Esfahbod <[email protected]>
Date: Thu Jan 10 09:01:52 2013 -0600
Ensure we find the uninstalled fontconfig header
Patch from Colin Walters.
test/Makefile.am | 2 ++
1 file changed, 2 insertions(+)
commit 1527c395cbe0bbab9e66a42213ef3ac5ce1c0383
Author: Behdad Esfahbod <[email protected]>
Date: Thu Jan 10 09:00:18 2013 -0600
Resepct $NOCONFIGURE
Patch from Colin Walters.
autogen.sh | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
commit fcc3567847949ec422157d331c9640cd0453e169
Author: Akira TAGOH <[email protected]>
Date: Thu Jan 10 17:57:12 2013 +0900
Bump version to 2.10.91
README | 105
+++++++++++++++++++++++++++++++++++++++++++++++-
configure.ac | 2 +-
fontconfig/fontconfig.h | 2 +-
3 files changed, 105 insertions(+), 4 deletions(-)
commit 98352247f2ab01046c330485f73fd26eb15a08a4
Author: Akira TAGOH <[email protected]>
Date: Thu Jan 10 17:56:51 2013 +0900
Update the date in README properly
new-version.sh | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
commit 9066fbe7855674ff51053b78f1d0d179486e22ea
Author: Behdad Esfahbod <[email protected]>
Date: Thu Jan 10 01:23:07 2013 -0600
Make linker happy
fc-validate/Makefile.am | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit 98efed3bcafc92b573b193b5b38039aa717617d3
Author: Behdad Esfahbod <[email protected]>
Date: Thu Jan 10 01:17:02 2013 -0600
Add atomic ops for Solaris
Patch from Raimund Steger.
configure.ac | 22 ++++++++++++++++++++--
src/fcatomic.h | 12 ++++++++++++
2 files changed, 32 insertions(+), 2 deletions(-)
commit 8e8a99ae8a1c2e56c42093bee577d6de66248366
Author: Akira TAGOH <[email protected]>
Date: Mon Sep 10 16:09:04 2012 +0900
Bug 29312 - RFE: feature to indicate which characters are missing
to satisfy the language support
Add fc-validate to check the language coverage in a font.
Makefile.am | 2 +-
configure.ac | 1 +
doc/fclangset.fncs | 8 ++
fc-validate/Makefile.am | 60 +++++++++++
fc-validate/fc-validate.c | 242
+++++++++++++++++++++++++++++++++++++++++++
fc-validate/fc-validate.sgml | 182 ++++++++++++++++++++++++++++++++
fontconfig/fontconfig.h | 3 +
src/fcint.h | 3 -
8 files changed, 497 insertions(+), 4 deletions(-)
commit 16fd965171808c10f87d097f678ee9e10771be72
Author: Akira TAGOH <[email protected]>
Date: Wed Jan 9 11:26:56 2013 +0900
Fix a typo in the manpages template
doc/func.sgml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit 7680e9ee891a74f0e428e30604a5d0ff0e2e9383
Author: Behdad Esfahbod <[email protected]>
Date: Tue Jan 8 14:51:00 2013 -0600
Add pthread test
Not enabled by default since it requires config and fonts.
test/Makefile.am | 9 ++++++
test/test-pthread.c | 79
+++++++++++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 88 insertions(+)
commit dc21ed28d69df279c6068d9cae862e02af72815f
Author: Behdad Esfahbod <[email protected]>
Date: Tue Jan 8 13:01:48 2013 -0600
Fix memory corruption!
In FcStrListCreate() we were increasing reference count of set,
however, if set had a const reference (which is the case for list
of languages), and with multiple threads, the const ref (-1) was
getting up to 1 and then a decrease was destroying the set. Ouch.
Here's the valgrind error, which took me quite a few hours of
running to catch:
==4464== Invalid read of size 4
==4464== at 0x4E58FF3: FcStrListNext (fcstr.c:1256)
==4464== by 0x4E3F11D: FcConfigSubstituteWithPat (fccfg.c:1508)
==4464== by 0x4E3F8F4: FcConfigSubstitute (fccfg.c:1729)
==4464== by 0x4009FA: test_match (simple-pthread-test.c:53)
==4464== by 0x400A6E: run_test_in_thread (simple-pthread-test.c:68)
==4464== by 0x507EE99: start_thread (pthread_create.c:308)
==4464== Address 0x6bc0b44 is 4 bytes inside a block of size
24 free'd
==4464== at 0x4C2A82E: free (in
/usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==4464== by 0x4E58F84: FcStrSetDestroy (fcstr.c:1236)
==4464== by 0x4E3F0C6: FcConfigSubstituteWithPat (fccfg.c:1507)
==4464== by 0x4E3F8F4: FcConfigSubstitute (fccfg.c:1729)
==4464== by 0x4009FA: test_match (simple-pthread-test.c:53)
==4464== by 0x400A6E: run_test_in_thread (simple-pthread-test.c:68)
==4464== by 0x507EE99: start_thread (pthread_create.c:308)
Thread test is running happily now. Will add the test in a moment.
src/fcstr.c | 13 ++++++++++++-
1 file changed, 12 insertions(+), 1 deletion(-)
commit 4e6c7d0827c5b3b20205521bf9bd2e94e704b36d
Author: Akira TAGOH <[email protected]>
Date: Tue Jan 8 16:20:28 2013 +0900
Fix a build fail on mingw
Regarding the change of 596931c8b4a7a35cbff9c33437d3cd44395d9c3f
configure.ac | 2 +-
src/fccompat.c | 4 ++++
2 files changed, 5 insertions(+), 1 deletion(-)
commit d837a7a584bc1e908bc4370d337cd10ecc781fad
Author: Akira TAGOH <[email protected]>
Date: Tue Jan 8 16:18:32 2013 +0900
missing header file to declare _mkdir
src/fccache.c | 1 +
1 file changed, 1 insertion(+)
commit 596931c8b4a7a35cbff9c33437d3cd44395d9c3f
Author: Akira TAGOH <[email protected]>
Date: Thu Dec 6 20:01:52 2012 +0900
Bug 47705 - Using O_CLOEXEC
configure.ac | 4 ++-
src/Makefile.am | 1 +
src/fcatomic.c | 3 +-
src/fccache.c | 6 ++--
src/fccompat.c | 103
++++++++++++++++++++++++++++++++++++++++++++++++++++++++
src/fcint.h | 7 ++++
src/fcstat.c | 2 +-
src/fcxml.c | 2 +-
8 files changed, 120 insertions(+), 8 deletions(-)
commit d7de1b5c6d4b8800825913ac40a9cea00824f2f8
Author: Behdad Esfahbod <[email protected]>
Date: Mon Jan 7 20:10:14 2013 -0600
Fix pthreads setup
As reported by Raimund Steger.
configure.ac | 3 +++
1 file changed, 3 insertions(+)
commit 1c4c4978adb0fa59767ac7d8c7f98a86928b2fdc
Author: Behdad Esfahbod <[email protected]>
Date: Mon Jan 7 17:59:17 2013 -0600
Oops, add the actual file
conf.d/10-scale-bitmap-fonts.conf | 81
+++++++++++++++++++++++++++++++++++++++
1 file changed, 81 insertions(+)
commit dc11dd581f228623f0f14b3a6a1e4beaa659266b
Author: Behdad Esfahbod <[email protected]>
Date: Mon Jan 7 16:41:29 2013 -0600
Add 10-scale-bitmap-fonts.conf and enable by default
conf.d/Makefile.am | 2 ++
1 file changed, 2 insertions(+)
commit ea3a35306617eec068ed961439cf76cdbcb10c28
Author: Akira TAGOH <[email protected]>