1 <!DOCTYPE fontconfig SYSTEM 'fonts.dtd'>
6 /********************************************************************
8 /********************************************************************
10 This /etc/fonts/local.conf file is intended to be used
11 in conjunction with the freetype-infinality subpixel hinting patch at
12 http://www.infinality.net/
14 - The rules assume that all Windows XP/Vista/7 fonts are installed.
15 - The rules assume that the most recent version(s) of the fonts are
17 - Windows, Apple, Google, and Linux fonts are included in the rules
18 along with other misc popular or useful fonts found on the web.
19 - Feel free to propose additions and changes to this file at:
20 http://www.infinality.net/forum/
26 /********************************************************************
27 Changes for 2010-11-14
28 /********************************************************************
30 Added configuration for different rendering styles. These can be enabled by
31 uncommenting the style you want. For instance, if you want your system
32 to look like Windows 98, uncomment that style, and make sure others
33 are commented out. Obviously you'd want to have appropriate fonts
34 installed for that rendering style. Aliases for different OS
35 fontsets will be added eventually. The old default style is now
36 considered "Infinality" style. Not all styles that are defined are
37 filled in yet- but "Apple" and anything above it are.
39 Due to the above, in combination with the prevalence of @font-face on
40 the web, I've made "Infinality" style rendering use autohint by
41 default, and only call out fonts that specifically should use TT
42 hinting. The patched autohint will render more fonts, better, than
43 TT native hinting will.
46 /********************************************************************
47 Changes for 2010-10-22
48 /********************************************************************
50 Promoted Century Gothic, Arial Black and Calibri to Full TT subpixel hinting
53 Added more Apple fonts
54 Replace Courier New with Apple's Courier - MUCH nicer result
55 Better comments to help new users understand what everything means
56 Reorganization of some rules
58 Removed code for artificial oblique, as most distros have this in
60 Added nonlatin font alias preferences that favor MS fonts, which have the
61 best hinting AFAICT. If you have all Windows Vista/7 fonts installed,
62 www.wikipedia.org should look pretty nice.
64 /********************************************************************
65 Changes for 2010-10-03
66 /********************************************************************
68 Promoted Geneva, Geneva CY to Full TT subpixel hinting.
69 Added an alias for "Trebuchet" to point to "Trebuchet MS"
75 <match target="pattern">
76 <!-- Choose an OS Style. This affects how everything is applied -->
78 <!-- A Customized combination of things, similar to Windows 7 -->
79 <edit name="rendering_style" target="pattern">
80 <string>Infinality</string>
82 <edit name="rendering_style" target="font">
83 <string>Infinality</string>
87 <edit name="rendering_style" target="pattern">
88 <string>Windows 7</string>
90 <edit name="rendering_style" target="font">
91 <string>Windows 7</string>
96 <edit name="rendering_style" target="pattern">
97 <string>Windows XP</string>
99 <edit name="rendering_style" target="font">
100 <string>Windows XP</string>
105 <edit name="rendering_style" target="pattern">
106 <string>Windows 98</string>
108 <edit name="rendering_style" target="font">
109 <string>Windows 98</string>
114 <edit name="rendering_style" target="pattern">
115 <string>Apple</string>
117 <edit name="rendering_style" target="font">
118 <string>Apple</string>
123 <!-- THE BELOW STYLES ARE NOT WELL FILLED-IN YET -->
126 <edit name="rendering_style" target="pattern">
127 <string>No Replacements</string>
129 <edit name="rendering_style" target="font">
130 <string>No Replacements</string>
135 <edit name="rendering_style" target="pattern">
136 <string>Linux</string>
138 <edit name="rendering_style" target="font">
139 <string>Linux</string>
144 <edit name="rendering_style" target="pattern">
145 <string>Fedora Linux</string>
147 <edit name="rendering_style" target="font">
148 <string>Fedora Linux</string>
152 <!-- Create your own -->
154 <edit name="rendering_style" target="pattern">
155 <string>Your Own Style</string>
157 <edit name="rendering_style" target="font">
158 <string>Your Own Style</string>
162 <!-- Forces certain family replacements - NOT IMPLEMENTED YET -->
164 <edit name="style_settings">
165 <string>Forced</string>
171 <!-- ******************** BITMAP / OUTLINE ********************** -->
173 <!-- Prevent gnome from using embedded bitmaps in fonts like Calibri -->
174 <match target="font" >
175 <test name="rendering_style" qual="any" >
176 <string>Infinality</string>
177 <string>Windows 7</string>
178 <string>Windows XP</string>
179 <string>Apple</string>
181 <edit name="embeddedbitmap" mode="assign">
186 <!-- Reject bitmap fonts in favour of Truetype, Postscript, etc. -->
187 <match target="font" >
188 <test name="rendering_style" qual="any" >
189 <string>Infinality</string>
190 <string>Windows 7</string>
191 <string>Windows XP</string>
192 <string>Apple</string>
197 <patelt name="scalable" >
205 <!-- Substitute truetype fonts for bitmap ones -->
206 <match target="pattern" >
207 <test name="rendering_style" qual="any" >
208 <string>Infinality</string>
209 <string>Windows 7</string>
210 <string>Windows XP</string>
211 <string>Apple</string>
213 <edit name="prefer_outline" >
218 <!-- **************************** ALIASES ********************** -->
220 <!-- Uncomment 1 of the 3 below for default fonts -->
221 <!-- Default fonts - Microsoft Appearance -->
222 <match target="font" >
223 <test name="rendering_style" qual="any" >
224 <string>Infinality</string>
225 <string>Windows 7</string>
226 <string>Windows XP</string>
227 <string>Windows 98</string>
230 <family>sans</family>
232 <family>Arial</family>
236 <family>sans-serif</family>
238 <family>Arial</family>
242 <family>serif</family>
244 <family>Times New Roman</family>
249 <!-- Default fonts - Apple Appearance -->
250 <match target="font" >
251 <test name="rendering_style" qual="any" >
252 <string>Apple</string>
255 <family>sans</family>
257 <family>Lucida Grande</family>
262 <family>sans-serif</family>
264 <family>Lucida Grande</family>
269 <family>serif</family>
271 <family>Times</family>
276 <!-- Default fonts - Linux Appearance -->
277 <!-- this is handled by default fontconfig rules -->
280 <!-- These MS aliases typically are used in user interfaces -->
281 <!-- You will mostly run into fonts with these names in WINE programs -->
282 <!-- Uncomment 1 of the below for these UI fonts -->
284 <!-- WINE UI fonts - Microsoft Windows Vista/7 Appearance -->
286 <match target="font" >
287 <test name="rendering_style" qual="any" >
288 <string>Infinality</string>
289 <string>Windows 7</string>
291 <alias binding="same">
292 <family>System</family>
294 <family>Segoe UI</family>
297 <alias binding="same">
298 <family>MS Shell Dlg</family>
300 <family>Segoe UI</family>
303 <alias binding="same">
304 <family>MS Sans Serif</family>
306 <family>Segoe UI</family>
311 <!-- WINE UI fonts - Microsoft Windows 98/XP Appearance -->
312 <!-- For Win 98, make sure font smoothing is DISABLED within WINE:
313 wget http://files.polosatus.ru/winefontssmoothing_en.sh
314 sh winefontssmoothing_en.sh
316 <match target="font" >
317 <test name="rendering_style" qual="any" >
318 <string>Windows 98</string>
320 <alias binding="same">
321 <family>System</family>
323 <family>Microsoft Sans Serif</family>
326 <alias binding="same">
327 <family>MS Shell Dlg</family>
329 <family>Microsoft Sans Serif</family>
332 <alias binding="same">
333 <family>MS Sans Serif</family>
335 <family>Microsoft Sans Serif</family>
340 <match target="font" >
341 <test name="rendering_style" qual="any" >
342 <string>Windows XP</string>
344 <alias binding="same">
345 <family>System</family>
347 <family>Tahoma</family>
350 <alias binding="same">
351 <family>MS Shell Dlg</family>
353 <family>Tahoma</family>
356 <alias binding="same">
357 <family>MS Sans Serif</family>
359 <family>Tahoma</family>
364 <!-- WINE UI fonts - Apple Appearance -->
365 <match target="font" >
366 <test name="rendering_style" qual="any" >
367 <string>Apple</string>
369 <alias binding="same">
370 <family>System</family>
372 <family>Lucida Grande</family>
375 <alias binding="same">
376 <family>MS Shell Dlg</family>
378 <family>Lucida Grande</family>
381 <alias binding="same">
382 <family>MS Sans Serif</family>
384 <family>Lucida Grande</family>
389 <!-- WINE UI fonts - Linux Appearance -->
390 <match target="font" >
391 <test name="rendering_style" qual="any" >
392 <string>Linux</string>
394 <alias binding="same">
395 <family>System</family>
397 <family>DejaVu Sans</family>
400 <alias binding="same">
401 <family>MS Shell Dlg</family>
403 <family>DejaVu Sans</family>
406 <alias binding="same">
407 <family>MS Sans Serif</family>
409 <family>DejaVu Sans</family>
414 <!-- Establish priorities for non-Latin fonts -->
415 <!-- http://en.wikipedia.org/wiki/List_of_Microsoft_Windows_fonts -->
416 <!-- Uncomment 1 of the below for these UI fonts -->
418 <!-- Non-latin fonts - Microsoft Windows Vista/7 Appearance -->
419 <match target="font" >
420 <test name="rendering_style" qual="any" >
421 <string>Infinality</string>
422 <string>Windows 7</string>
423 <string>Windows XP</string>
424 <string>Windows 98</string>
427 <family>serif</family>
429 <family>Times New Roman</family>
430 <family>Batang</family>
431 <family>DFKai-SB</family>
432 <family>EucrosiaUPC</family>
433 <family>JasmineUPC</family>
434 <family>KaiTi</family>
435 <family>Kartika</family>
436 <family>KodchiangUPC</family>
437 <family>MingLiU</family>
438 <family>MS Mincho</family>
439 <family>SimSun</family>
440 <family>Sylfaen</family>
441 <family>DaunPenh</family>
442 <family>MV Boli</family>
443 <family>Iskoola Pota</family>
444 <family>Latha</family>
445 <family>Microsoft Himalaya</family>
446 <family>Mongolian Baiti</family>
447 <family>Shruti</family>
448 <family>Cardo</family>
449 <family>MPH 2B Damase</family>
453 <family>sans-serif</family>
455 <family>DejaVu Sans</family>
456 <family>Arial</family>
457 <family>Meiryo</family>
458 <family>Arabic Typesetting</family>
459 <family>DokChampa</family>
460 <family>Malgun Gothic</family>
461 <family>Estrangelo Edessa</family>
462 <family>Gautami</family>
463 <family>Iskoola Pota</family>
464 <family>Microsoft YaHei</family>
465 <family>Mangal</family>
466 <family>Microsoft JhengHei</family>
467 <family>Vrinda</family>
468 <family>Plantagenet Cherokee</family>
469 <family>Raavi</family>
470 <family>Nyala</family>
471 <family>Tunga</family>
472 <family>Kartika</family>
473 <family>MV Boli</family>
474 <family>DaunPenh</family>
475 <family>Iskoola Pota</family>
476 <family>Latha</family>
477 <family>Microsoft Himalaya</family>
478 <family>Mongolian Baiti</family>
479 <family>Shruti</family>
480 <family>Skeirs</family>
481 <family>Cardo</family>
482 <family>MPH 2B Damase</family>
483 <family>Tahoma</family>
484 <family>Arial Unicode MS</family>
488 <family>monospace</family>
490 <family>DejaVu Sans Mono</family>
491 <family>Consolas</family>
492 <family>Inconsolata</family>
493 <family>Andale Mono</family>
494 <family>Courier New</family>
495 <family>Microsoft JhengHei</family>
496 <family>Microsoft YaHei</family>
497 <family>MPH 2B Damase</family>
501 <family>fantasy</family>
503 <family>Impact</family>
504 <family>Copperplate Gothic Std</family>
505 <family>Cooper Std</family>
506 <family>Bauhaus Std</family>
510 <family>cursive</family>
512 <family>ITC Zapf Chancery Std</family>
513 <family>Zapfino</family>
514 <family>Comic Sans MS</family>
519 <!-- ************************** REPLACEMENTS ********************** -->
521 <!-- Replaces sans, sans-serif, serif with a specific font preference -->
522 <!-- This is also set in aliases above -->
524 <!-- Microsoft style - sans, sans-serif, serif -->
525 <match target="font" >
526 <test name="rendering_style" qual="any" >
527 <string>Infinality</string>
528 <string>Windows 7</string>
529 <string>Windows XP</string>
530 <string>Windows 98</string>
532 <test name="family" qual="any" >
533 <string>sans</string>
535 <edit mode="assign" name="family" >
536 <string>Arial</string>
539 <match target="font" >
540 <test name="rendering_style" qual="any" >
541 <string>Infinality</string>
542 <string>Windows 7</string>
543 <string>Windows XP</string>
544 <string>Windows 98</string>
546 <test name="family" qual="any" >
547 <string>sans-serif</string>
549 <edit mode="assign" name="family" >
550 <string>Arial</string>
553 <match target="font" >
554 <test name="rendering_style" qual="any" >
555 <string>Infinality</string>
556 <string>Windows 7</string>
557 <string>Windows XP</string>
558 <string>Windows 98</string>
560 <test name="family" qual="any" >
561 <string>serif</string>
563 <edit mode="assign" name="family" >
564 <string>Times New Roman</string>
568 <!-- Apple style - sans, sans-serif, serif -->
569 <match target="font" >
570 <test name="rendering_style" qual="any" >
571 <string>Apple</string>
573 <test name="family" qual="any" >
574 <string>sans</string>
576 <edit mode="assign" name="family" >
577 <string>Lucida Grande</string>
580 <match target="font" >
581 <test name="rendering_style" qual="any" >
582 <string>Apple</string>
584 <test name="family" qual="any" >
585 <string>sans-serif</string>
587 <edit mode="assign" name="family" >
588 <string>Lucida Grande</string>
591 <match target="font" >
592 <test name="rendering_style" qual="any" >
593 <string>Apple</string>
595 <test name="family" qual="any" >
596 <string>serif</string>
598 <edit mode="assign" name="family" >
599 <string>Times</string>
605 <!-- Replace these common poorly hinted fonts with Arial -->
606 <!-- Adjust as necessary -->
608 <!-- Microsoft Appearance - Poorly Hinted Fonts -->
609 <match target="font" >
610 <test name="rendering_style" qual="any" >
611 <string>Infinality</string>
612 <string>Windows 7</string>
613 <string>Windows XP</string>
614 <string>Windows 98</string>
616 <test name="family" qual="any" >
617 <string>Nimbus Sans</string>
619 <edit mode="assign" name="family" >
620 <string>Arial</string>
623 <match target="pattern" name="family">
624 <test name="rendering_style" qual="any" >
625 <string>Infinality</string>
626 <string>Windows 7</string>
627 <string>Windows XP</string>
628 <string>Windows 98</string>
630 <test name="family" qual="any" >
631 <string>Nimbus Sans</string>
633 <edit binding="strong" mode="prepend" name="family" >
634 <string>Arial</string>
637 <match target="font" >
638 <test name="rendering_style" qual="any" >
639 <string>Infinality</string>
640 <string>Windows 7</string>
641 <string>Windows XP</string>
642 <string>Windows 98</string>
644 <test name="family" qual="any" >
645 <string>Nimbus Sans L</string>
647 <edit mode="assign" name="family" >
648 <string>Arial</string>
651 <match target="pattern" name="family">
652 <test name="rendering_style" qual="any" >
653 <string>Infinality</string>
654 <string>Windows 7</string>
655 <string>Windows XP</string>
656 <string>Windows 98</string>
658 <test name="family" qual="any" >
659 <string>Nimbus Sans L</string>
661 <edit binding="strong" mode="prepend" name="family" >
662 <string>Arial</string>
666 <!-- Apple Appearance - Poorly Hinted Fonts -->
667 <match target="font" >
668 <test name="rendering_style" qual="any" >
669 <string>Apple</string>
671 <test name="family" qual="any" >
672 <string>Nimbus Sans</string>
674 <edit mode="assign" name="family" >
675 <string>Helvetica Neue</string>
678 <match target="pattern" name="family">
679 <test name="rendering_style" qual="any" >
680 <string>Apple</string>
682 <test name="family" qual="any" >
683 <string>Nimbus Sans</string>
685 <edit binding="strong" mode="prepend" name="family" >
686 <string>Helvetica Neue</string>
689 <match target="font" >
690 <test name="rendering_style" qual="any" >
691 <string>Apple</string>
693 <test name="family" qual="any" >
694 <string>Nimbus Sans L</string>
696 <edit mode="assign" name="family" >
697 <string>Helvetica Neue</string>
700 <match target="pattern" name="family">
701 <test name="family" qual="any" >
702 <string>Nimbus Sans L</string>
704 <edit binding="strong" mode="prepend" name="family" >
705 <string>Helvetica Neue</string>
709 <!-- This replacement handles the fonts here, which I recommend
710 in place of the default Terminus bitmap files:
711 http://files.ax86.net/terminus-ttf/4.30/
713 Note that Terminus will only look good at the pixel sizes that
716 <match target="font" >
717 <test name="family" qual="any" >
718 <string>Terminus</string>
720 <edit mode="assign" name="family" >
721 <string>Terminus (ttf)</string>
724 <match target="pattern" name="family">
725 <test name="family" qual="any" >
726 <string>Terminus</string>
728 <edit binding="strong" mode="prepend" name="family" >
729 <string>Terminus (ttf)</string>
733 <!-- Replace Helvetica with Arial -->
734 <!-- Currently Helvetica has cap height issues -->
736 <!-- Microsoft Appearance - Helvetica -->
737 <match target="pattern" name="family">
738 <test name="rendering_style" qual="any" >
739 <string>Infinality</string>
740 <string>Windows 7</string>
741 <string>Windows XP</string>
742 <string>Windows 98</string>
744 <test name="family" qual="any" >
745 <string>Helvetica</string>
747 <edit binding="strong" mode="prepend" name="family" >
748 <string>Arial</string>
751 <match target="font" >
752 <test name="rendering_style" qual="any" >
753 <string>Infinality</string>
754 <string>Windows 7</string>
755 <string>Windows XP</string>
756 <string>Windows 98</string>
758 <test name="family" qual="any" >
759 <string>Helvetica</string>
761 <edit mode="assign" name="family" >
762 <string>Arial</string>
766 <!-- Linux Appearance - Helvetica -->
767 <match target="pattern" name="family">
768 <test name="rendering_style" qual="any" >
769 <string>Linux</string>
771 <test name="family" qual="any" >
772 <string>Helvetica</string>
774 <edit binding="strong" mode="prepend" name="family" >
775 <string>Liberation Sans</string>
778 <match target="font" >
779 <test name="rendering_style" qual="any" >
780 <string>Linux</string>
782 <test name="family" qual="any" >
783 <string>Helvetica</string>
785 <edit mode="assign" name="family" >
786 <string>Liberation Sans</string>
790 <!-- Replace Helvetica Neue with Arial -->
791 <!-- Currently Helvetica Neue has cap height issues -->
793 <!-- Microsoft Appearance - Helvetica Neue -->
794 <match target="pattern" name="family">
795 <test name="rendering_style" qual="any" >
796 <string>Infinality</string>
797 <string>Windows 7</string>
798 <string>Windows XP</string>
799 <string>Windows 98</string>
801 <test name="family" qual="any" >
802 <string>Helvetica Neue</string>
804 <edit binding="strong" mode="prepend" name="family" >
805 <string>Arial</string>
808 <match target="font" >
809 <test name="rendering_style" qual="any" >
810 <string>Infinality</string>
811 <string>Windows 7</string>
812 <string>Windows XP</string>
813 <string>Windows 98</string>
815 <test name="family" qual="any" >
816 <string>Helvetica Neue</string>
818 <edit mode="assign" name="family" >
819 <string>Arial</string>
823 <!-- Linux Appearance - Helvetica Neue -->
824 <match target="pattern" name="family">
825 <test name="rendering_style" qual="any" >
826 <string>Linux</string>
828 <test name="family" qual="any" >
829 <string>Helvetica Neue</string>
831 <edit binding="strong" mode="prepend" name="family" >
832 <string>Liberation Sans</string>
835 <match target="font" >
836 <test name="rendering_style" qual="any" >
837 <string>Linux</string>
839 <test name="family" qual="any" >
840 <string>Helvetica Neue</string>
842 <edit mode="assign" name="family" >
843 <string>Liberation Sans</string>
848 <!-- Replace "Arial" with black weight, with font "Arial Black" -->
849 <match target="pattern">
850 <test name="family" compare="eq" target="default">
851 <string>Arial</string>
853 <test compare="more" name="weight" >
856 <edit name="family" mode="prepend" binding="same">
857 <string>Arial Black</string>
859 <edit name="weight" mode="assign">
864 <!-- Replace 'Nimbus Mono L' with Courier New -->
865 <match target="font" >
866 <test name="family" qual="any" >
867 <string>Nimbus Mono L</string>
869 <edit mode="assign" name="family" >
870 <string>Courier New</string>
873 <match target="pattern" name="family" >
874 <test name="family" compare="eq" target="default">
875 <string>Nimbus Mono L</string>
877 <edit binding="strong" mode="prepend" name="family" >
878 <string>Courier New</string>
882 <!-- Replace "Lucida Sans Unicode" bold with Lucida Grande bold weight -->
883 <match target="pattern">
884 <test name="family" compare="eq" target="default">
885 <string>Lucida Sans Unicode</string>
887 <test compare="more" name="weight" >
888 <const>medium</const>
890 <edit name="family" mode="prepend" binding="same">
891 <string>Lucida Grande</string>
893 <edit name="weight" mode="assign">
898 <!-- Microsoft Appearance - Courier -->
899 <match target="pattern">
900 <test name="rendering_style" qual="any" >
901 <string>Windows 7</string>
902 <string>Windows XP</string>
903 <string>Windows 98</string>
905 <test name="family" compare="eq" target="default">
906 <string>Courier</string>
908 <edit name="family" mode="prepend" binding="same">
909 <string>Courier New</string>
912 <match target="font" >
913 <test name="rendering_style" qual="any" >
914 <string>Windows 7</string>
915 <string>Windows XP</string>
916 <string>Windows 98</string>
918 <test name="family" qual="any" >
919 <string>Courier</string>
921 <edit mode="assign" name="family" >
922 <string>Courier New</string>
926 <!-- NOTE: Apple's Courier renders much nicer than Courier New -->
927 <!-- Apple Appearance - Courier -->
928 <match target="pattern">
929 <test name="rendering_style" qual="any" >
930 <string>Apple</string>
931 <string>Infinality</string>
933 <test name="family" compare="eq" target="default">
934 <string>Courier New</string>
936 <edit name="family" mode="prepend" binding="same">
937 <string>Courier</string>
940 <match target="font" >
941 <test name="rendering_style" qual="any" >
942 <string>Apple</string>
943 <string>Infinality</string>
945 <test name="family" qual="any" >
946 <string>Courier New</string>
948 <edit mode="assign" name="family" >
949 <string>Courier</string>
953 <!-- Microsoft Appearance: Replace 'Times' with Times New Roman -->
954 <match target="pattern" name="family" >
955 <test name="rendering_style" qual="any" >
956 <string>Infinality</string>
957 <string>Windows 7</string>
958 <string>Windows XP</string>
959 <string>Windows 98</string>
961 <test name="family" qual="any" >
962 <string>Times</string>
964 <edit binding="strong" mode="prepend" name="family" >
965 <string>Times New Roman</string>
968 <match target="font" >
969 <test name="rendering_style" qual="any" >
970 <string>Infinality</string>
971 <string>Windows 7</string>
972 <string>Windows XP</string>
973 <string>Windows 98</string>
975 <test name="family" qual="any" >
976 <string>Times</string>
978 <edit mode="assign" name="family" >
979 <string>Times New Roman</string>
984 <!-- Fix poorly specified font family names -->
986 <match target="pattern" name="family">
987 <test name="family" qual="any" >
988 <string>Trebuchet</string>
990 <edit binding="strong" mode="prepend" name="family" >
991 <string>Trebuchet MS</string>
994 <match target="font" >
995 <test name="family" qual="any" >
996 <string>Trebuchet</string>
998 <edit mode="assign" name="family" >
999 <string>Trebuchet MS</string>
1003 <match target="pattern" name="family" >
1004 <test name="family" qual="any" >
1005 <string>Palatino</string>
1007 <edit binding="strong" mode="prepend" name="family" >
1008 <string>Palatino Linotype</string>
1011 <match target="font" >
1012 <test name="family" qual="any" >
1013 <string>Palatino</string>
1015 <edit mode="assign" name="family" >
1016 <string>Palatino Linotype</string>
1020 <match target="pattern" name="family" >
1021 <test name="family" qual="any" >
1022 <string>Lucida Sans</string>
1024 <edit binding="strong" mode="prepend" name="family" >
1025 <string>Lucida Grande</string>
1028 <match target="font" >
1029 <test name="family" qual="any" >
1030 <string>Lucida Sans</string>
1032 <edit mode="assign" name="family" >
1033 <string>Lucida Grande</string>
1037 <!-- ******************** BASE SETTINGS ********************** -->
1039 <!-- These are the base settings for all rendered fonts.
1040 We modify them for specific fonts later. -->
1042 <match target="font" >
1043 <test name="rendering_style" qual="any" >
1044 <string>Infinality</string>
1046 <edit mode="assign" name="rgba" >
1049 <edit mode="assign" name="hinting" >
1052 <edit mode="assign" name="autohint" >
1055 <edit mode="assign" name="antialias" >
1058 <edit mode="assign" name="hintstyle" >
1059 <const>hintslight</const>
1061 <edit name="lcdfilter" mode="assign">
1062 <const>lcddefault</const>
1066 <match target="font" >
1067 <test name="rendering_style" qual="any">
1068 <string>Windows 7</string>
1070 <edit mode="assign" name="rgba" >
1073 <edit mode="assign" name="hinting" >
1076 <edit mode="assign" name="autohint" >
1079 <edit mode="assign" name="antialias" >
1082 <edit mode="assign" name="hintstyle" >
1083 <const>hintfull</const>
1085 <edit name="lcdfilter" mode="assign">
1086 <const>lcddefault</const>
1090 <match target="font" >
1091 <test name="rendering_style" qual="any">
1092 <string>Windows XP</string>
1094 <edit mode="assign" name="rgba" >
1097 <edit mode="assign" name="hinting" >
1100 <edit mode="assign" name="autohint" >
1103 <edit mode="assign" name="antialias" >
1106 <edit mode="assign" name="hintstyle" >
1107 <const>hintfull</const>
1109 <edit name="lcdfilter" mode="assign">
1110 <const>lcddefault</const>
1114 <match target="font" >
1115 <test name="rendering_style" qual="any">
1116 <string>Windows 98</string>
1118 <edit mode="assign" name="rgba" >
1121 <edit mode="assign" name="hinting" >
1124 <edit mode="assign" name="autohint" >
1127 <edit mode="assign" name="antialias" >
1130 <edit mode="assign" name="hintstyle" >
1131 <const>hintfull</const>
1133 <edit name="lcdfilter" mode="assign">
1134 <const>lcddefault</const>
1138 <match target="font" >
1139 <test name="rendering_style" qual="any">
1140 <string>Apple</string>
1142 <edit mode="assign" name="rgba" >
1145 <edit mode="assign" name="hinting" >
1148 <edit mode="assign" name="autohint" >
1151 <edit mode="assign" name="antialias" >
1154 <edit mode="assign" name="hintstyle" >
1155 <const>hintnone</const>
1157 <edit name="lcdfilter" mode="assign">
1158 <const>lcddefault</const>
1162 <match target="font" >
1163 <test name="rendering_style" qual="any">
1164 <string>Fedora Linux</string>
1166 <edit mode="assign" name="rgba" >
1169 <edit mode="assign" name="hinting" >
1172 <edit mode="assign" name="autohint" >
1175 <edit mode="assign" name="antialias" >
1178 <edit mode="assign" name="hintstyle" >
1179 <const>hintfull</const>
1181 <edit name="lcdfilter" mode="assign">
1182 <const>lcdnone</const>
1187 <!-- ******************** FONT GROUPS ********************** -->
1189 <!-- Full Subpixel BCI for these fonts. (Cleartype-like, circa Windows XP/Vista/7) -->
1190 <!-- These will take advantage of subpixel hinting if infinality patch installed. -->
1191 <!-- This should only be used by fonts that contain TrueType instructions, -->
1192 <!-- otherwise fonts will appear blurry. -->
1194 <match target="font" >
1195 <test name="family" qual="any" >
1196 <string>Andale Mono</string>
1197 <string>Andalus</string>
1198 <string>Angsana New</string>
1199 <string>AngsanaUPC</string>
1200 <string>Aquabase</string>
1201 <string>Arial Black</string>
1202 <string>Arial MT</string>
1203 <string>Arial Narrow</string>
1204 <string>Arial SF MT</string>
1205 <string>Arial Unicode MS</string>
1206 <string>Arial</string>
1207 <string>ArialMT</string>
1208 <string>Bitstream Vera Sans Mono</string>
1209 <string>Bitstream Vera Sans</string>
1210 <string>Bitstream Vera Serif</string>
1211 <string>Book Antiqua</string>
1212 <string>Bookman Old Style</string>
1213 <string>Browallia New</string>
1214 <string>BrowalliaUPC</string>
1215 <string>Calibri</string>
1216 <string>Cambria</string>
1217 <string>Candara</string>
1218 <string>Century Gothic</string>
1219 <string>Chalkduster</string>
1220 <string>Charcoal CY</string>
1221 <string>Charcoal</string>
1222 <string>Charis SIL</string>
1223 <string>Chicago</string>
1224 <string>Comic Sans MS</string>
1225 <string>Consolas</string>
1226 <string>Constantia</string>
1227 <string>Copperplate</string>
1228 <string>Corbel</string>
1229 <string>Cordia New</string>
1230 <string>CordiaUPC</string>
1231 <string>Courier 10 Pitch</string>
1232 <string>Courier New</string>
1233 <string>Courier</string>
1234 <string>Dark Courier</string>
1235 <string>DejaVu LGC Sans Mono</string>
1236 <string>DejaVu Sans Mono</string>
1237 <string>DejaVu Sans</string>
1238 <string>DejaVu Serif</string>
1239 <string>Estrangelo Edessa</string>
1240 <string>Euphemia</string>
1241 <string>FrankRuehl</string>
1242 <string>Franklin Gothic Medium</string>
1243 <string>Futura</string>
1244 <string>Georgia</string>
1245 <string>Gotham Book</string>
1246 <string>Gotham Light</string>
1247 <string>Gotham Medium</string>
1248 <string>Guatami</string>
1249 <string>Impact</string>
1250 <string>Latha</string>
1251 <string>Levinim MT</string>
1252 <string>Liberation Mono</string>
1253 <string>Liberation Sans</string>
1254 <string>Liberation Serif</string>
1255 <string>Lucida Console</string>
1256 <string>Lucida Grande</string>
1257 <string>Lucida Sans Unicode</string>
1258 <string>Luxi Mono</string>
1259 <string>Malgun Gothic</string>
1260 <string>Microsoft Himalaya</string>
1261 <string>Microsoft JhengHei</string>
1262 <string>Microsoft Sans Serif</string>
1263 <string>Microsoft Uighur</string>
1264 <string>Microsoft YaHei</string>
1265 <string>Microsoft Yi Baiti</string>
1266 <string>Miriam Fixed</string>
1267 <string>Molengo</string>
1268 <string>Monaco</string>
1269 <string>Mongolian Baiti</string>
1270 <string>MoolBoran</string>
1271 <string>Narkisim</string>
1272 <string>Nina</string>
1273 <string>Nyala</string>
1274 <string>Padauk</string>
1275 <string>Palatino Linotype</string>
1276 <string>Plantagenet Cherokee</string>
1277 <string>Raavi</string>
1278 <string>Segoe UI</string>
1279 <string>Segoe UI Semibold</string>
1280 <string>TITUS Cyberbit Basic</string>
1281 <string>Tahoma</string>
1282 <string>Times New Roman</string>
1283 <string>Traditional Arabic</string>
1284 <string>Trebuchet MS</string>
1285 <string>Tunga</string>
1286 <string>Verdana</string>
1287 <string>Vrinda</string>
1288 <string>Yanone Kaffeesatz</string>
1290 <string>Garamond</string>
1292 <edit mode="assign" name="font_type" target="font">
1293 <string>TT Instructed Font</string>
1295 <!--<edit mode="assign" name="hinting" >
1298 <edit mode="assign" name="autohint" >
1301 <edit mode="assign" name="antialias" >
1304 <edit mode="assign" name="hintstyle" >
1305 <const>hintfull</const>
1309 <match target="font" >
1310 <test name="font_type" qual="any" >
1311 <string>TT Instructed Font</string>
1313 <test name="rendering_style" qual="any" >
1314 <string>Infinality</string>
1315 <string>Windows 7</string>
1316 <string>Windows XP</string>
1318 <edit mode="assign" name="antialias" >
1321 <edit mode="assign" name="hintstyle" >
1322 <const>hintfull</const>
1324 <edit mode="assign" name="autohint" >
1329 <match target="font" >
1330 <test name="font_type" qual="any" >
1331 <string>TT Instructed Font</string>
1333 <test name="rendering_style" qual="any" >
1334 <string>Windows 98</string>
1336 <edit mode="assign" name="antialias" >
1339 <edit mode="assign" name="hintstyle" >
1340 <const>hintfull</const>
1342 <edit mode="assign" name="autohint" >
1347 <match target="font" >
1348 <test name="font_type" qual="any" >
1349 <string>TT Instructed Font</string>
1351 <test name="rendering_style" qual="any" >
1352 <string>Apple</string>
1354 <edit mode="assign" name="antialias" >
1357 <edit mode="assign" name="hintstyle" >
1358 <const>hintnone</const>
1360 <edit mode="assign" name="autohint" >
1366 <!-- Make these fonts use autohint slight hinting -->
1367 <!-- Makes only horizontal stems align to pixels. Truer to glyph -->
1368 <match target="font" >
1369 <test name="family" qual="any" >
1370 <string>AR PL ShanHeiSun Uni</string>
1371 <string>American Typewriter</string>
1372 <string>Apple Chancery</string>
1373 <string>Apple Garamond Light</string>
1374 <string>Apple Garamond</string>
1375 <string>AppleGothic</string>
1376 <string>Apple Symbols</string>
1377 <string>Arabic Typesetting</string>
1378 <string>Baekmuk Gulim</string>
1379 <string>Baskerville</string>
1380 <string>Big Caslon</string>
1381 <string>Bitstream Charter</string>
1382 <string>BrushScript</string>
1383 <string>Cantarell</string>
1384 <string>CantarellRegular</string>
1385 <string>Cantarell Regular</string>
1386 <string>Cardo</string>
1387 <string>Century Schoolbook L</string>
1388 <string>Century</string>
1389 <string>Charis SIL</string>
1390 <string>Chalkboard</string>
1391 <string>CMU Bright</string>
1392 <string>Cochin</string>
1393 <string>Comfortaa</string>
1394 <string>Comfortaa Regular</string>
1395 <string>ComfortaaRegular</string>
1396 <string>Courier Std</string>
1397 <string>Courier10 BT</string>
1398 <string>Crimson Text</string>
1399 <string>David</string>
1400 <string>Delicious</string>
1401 <string>Didot</string>
1402 <string>DilenniaUPC</string>
1403 <string>District</string>
1404 <string>DokChampa</string>
1405 <string>Droid Sans Mono</string>
1406 <string>Droid Sans</string>
1407 <string>Droid Serif</string>
1408 <string>Dutch801 Rm BT</string>
1409 <string>EucrosiaUPC</string>
1410 <string>FreeMono</string>
1411 <string>FreeSans</string>
1412 <string>FreeSerif</string>
1413 <string>FreesiaUPC</string>
1414 <string>Frutiger LT Std</string>
1415 <string>Frutiger Linotype</string>
1416 <string>Frutiger-Normal</string>
1417 <string>Gautami</string>
1418 <string>Geneva CY</string>
1419 <string>Geneva Regular</string>
1420 <string>Geneva</string>
1421 <string>Gentium</string>
1422 <string>Gill Sans</string>
1423 <string>Hard Gothic</string>
1424 <string>Helvetica</string>
1425 <string>Helvetica CY</string>
1426 <string>Helvetica Neue</string>
1427 <string>Herculanum</string>
1428 <string>Hoefler Text</string>
1429 <string>IM Fell</string>
1430 <string>Inconsolata</string>
1431 <string>IrisUPC</string>
1432 <string>JasmineUPC</string>
1433 <string>Jomolhari</string>
1434 <string>Josefin Sans Std Light</string>
1435 <string>Kai</string>
1436 <string>Kalinga</string>
1437 <string>KodchiangUPC</string>
1438 <string>Laconic</string>
1439 <string>Lacuna</string>
1440 <string>Levenim MT</string>
1441 <string>LilyUPC</string>
1442 <string>LilyUPC</string>
1443 <string>Linux Biolinum</string>
1444 <string>Linux Libertine</string>
1445 <string>Lobster</string>
1446 <string>Lohit Bengali</string>
1447 <string>Lohit Gujarati</string>
1448 <string>Lohit Hindi</string>
1449 <string>Lohit Hindi</string>
1450 <string>Lohit Kannada</string>
1451 <string>Lohit Malayalam</string>
1452 <string>Lohit Oriya</string>
1453 <string>Lohit Punjabi</string>
1454 <string>Lohit Tamil</string>
1455 <string>Lohit Telugu</string>
1456 <string>Lucida Sans Std</string>
1457 <string>Luxi Sans</string>
1458 <string>Luxi Serif</string>
1459 <string>M+ 2p</string>
1460 <string>Marker Felt</string>
1461 <string>Megalopolis</string>
1462 <string>MetaMedium-Roman</string>
1463 <string>Metabook-Roman</string>
1464 <string>MgOpen Canonica</string>
1465 <string>MgOpen Cosmetica</string>
1466 <string>MgOpen Modata</string>
1467 <string>MgOpen Moderna</string>
1468 <string>Myriad Pro</string>
1469 <string>Miriam</string>
1470 <string>MS Mincho</string>
1471 <string>MyriadRegular</string>
1472 <string>Neuton</string>
1473 <string>Nimbus Roman No9 L</string>
1474 <string>Nimbus Mono L</string>
1475 <string>Nimbus Sans</string>
1476 <string>Nimbus Sans L</string>
1477 <string>Nobile</string>
1478 <string>Nobile002</string>
1479 <string>Nobile-bold</string>
1480 <string>Nobile-italic002</string>
1481 <string>Nobile-bold-italic002</string>
1482 <string>OFL Sorts Mill Goudy TT</string>
1483 <string>Ocean Sans Std</string>
1484 <string>Old Standard TT</string>
1485 <string>Optima</string> <!--- needs work but may be able to be promoted eventually -->
1486 <string>OTS derived font</string>
1487 <string>OTS derivied font</string> <!-- bug in chrome code? -->
1488 <string>Palladio</string>
1489 <string>Papyrus</string>
1490 <string>PrimaSans BT</string>
1491 <string>proxima-nova-1</string>
1492 <string>proxima-nova-2</string>
1493 <string>proxima nova</string>
1494 <string>proxima nova bold</string>
1495 <string>proxima nova regular</string>
1496 <string>Reenie Beanie</string>
1497 <string>SimHei</string>
1498 <string>Skia</string>
1499 <string>Swansea</string>
1500 <string>Swiss721</string>
1501 <string>Sylfaen</string>
1502 <string>Tangerine</string>
1503 <string>Times LT Std</string>
1504 <string>Times New Roman MT Std</string>
1505 <string>Times Roman</string>
1506 <string>Times Ten LT Std</string>
1507 <string>Univers LT Std</string>
1508 <string>URWClassico</string>
1509 <string>Utopia</string>
1510 <string>Verdimka</string>
1511 <string>Vollkorn</string>
1512 <string>Yanone Kaffeesatz</string>
1513 <string>Zapfino</string>
1514 <string>cmbx10</string>
1515 <string>cmex10</string>
1516 <string>cmmi10</string>
1517 <string>cmr10</string>
1518 <string>cmsy10</string>
1519 <string>cmtt10</string>
1520 <string>eufm10</string>
1521 <string>msam10</string>
1522 <string>msbm10</string>
1523 <string>wasy10</string>
1524 <string>Eurostile LT Std</string>
1526 <edit mode="assign" name="font_type" target="font">
1527 <string>NON TT Instructed Font</string>
1531 <match target="font" >
1532 <test name="rendering_style" qual="any" >
1533 <string>Infinality</string>
1534 <string>Windows 7</string>
1535 <string>Windows XP</string>
1536 <string>Linux</string>
1537 <string>Fedora Linux</string>
1539 <test name="font_type" target="font">
1540 <string>NON TT Instructed Font</string>
1542 <edit mode="assign" name="autohint" >
1545 <edit mode="assign" name="hintstyle" >
1546 <const>hintslight</const>
1548 <edit mode="assign" name="hinting" >
1551 <edit mode="assign" name="antialias" >
1556 <!-- For Windows 98 do "smooth edges" for these non-BCI fonts -->
1557 <match target="font" >
1558 <test name="rendering_style" qual="any" >
1559 <string>Windows 98</string>
1561 <test name="font_type" target="font">
1562 <string>NON TT Instructed Font</string>
1564 <edit mode="assign" name="rgba" >
1567 <edit mode="assign" name="hinting" >
1570 <edit mode="assign" name="autohint" >
1573 <edit mode="assign" name="antialias" >
1578 <!-- For Windows 98 do "smooth edges" for Bold Fonts over 14 px -->
1579 <match target="font" >
1580 <test name="rendering_style" qual="any" >
1581 <string>Windows 98</string>
1583 <test name="weight" compare="more">
1584 <const>medium</const>
1586 <test compare="more_eq" name="pixelsize" qual="any" >
1589 <edit mode="assign" name="rgba" >
1592 <edit mode="assign" name="hinting" >
1595 <edit mode="assign" name="autohint" >
1598 <edit mode="assign" name="antialias" >
1603 <!-- For Windows 98 do "smooth edges" for fonts above 17 px -->
1604 <match target="font" >
1605 <test name="rendering_style" qual="any" >
1606 <string>Windows 98</string>
1608 <test compare="more_eq" name="pixelsize" qual="any" >
1611 <edit mode="assign" name="rgba" >
1614 <edit mode="assign" name="hinting" >
1617 <edit mode="assign" name="autohint" >
1620 <edit mode="assign" name="antialias" >
1627 <!-- OVERRIDE ABOVE SETTINGS -->
1628 <!-- Monochrome BCI for these non-bold fonts (circa Windows 98) -->
1629 <!-- This should only be used by fonts that contain TrueType instructions -->
1630 <match target="font" >
1631 <test name="family" qual="any" >
1632 <string>xxx-NOTHING-xxx</string>
1634 <edit mode="assign" name="hinting" >
1637 <edit mode="assign" name="autohint" >
1640 <edit mode="assign" name="antialias" >
1643 <edit mode="assign" name="hintstyle" >
1644 <const>hintfull</const>
1648 <!-- OVERRIDE ABOVE SETTINGS -->
1649 <!-- Make these fonts use no antialiasing or hinting (circa DOS / X11) -->
1650 <match target="font" >
1651 <test name="family" qual="any" >
1652 <string>ProFontWindows</string>
1653 <string>Terminus</string>
1654 <string>Terminus (ttf)</string>
1656 <edit mode="assign" name="hintstyle" >
1657 <const>hintnone</const>
1659 <edit mode="assign" name="antialias" >
1662 <edit mode="assign" name="hinting" >
1665 <!--<edit name="prefer_bitmap">
1670 <!-- OVERRIDE ABOVE SETTINGS -->
1671 <!-- Full autohint -->
1672 <!-- Makes vertical/horizontal stems align to pixels, but is not true to the glyphs -->
1673 <!-- Some glyphs may look forced into place, however they are very sharp -->
1674 <match target="font" >
1675 <test name="family" qual="any" >
1676 <string>xxx-NOTHING-xxx</string>
1678 <edit mode="assign" name="hinting" >
1681 <edit mode="assign" name="autohint" >
1684 <edit mode="assign" name="antialias" >
1687 <edit mode="assign" name="hintstyle" >
1688 <const>hintfull</const>
1692 <!-- OVERRIDE ABOVE SETTINGS -->
1693 <!-- Light autohint on italics -->
1694 <!-- Use for anything that is full auto or TT hinted above -->
1695 <match target="font" >
1696 <test name="family" qual="any" >
1697 <string>xxx-NOTHING-xxx</string>
1699 <test target="pattern" compare="not_eq" name="slant" >
1700 <const>roman</const>
1702 <edit mode="assign" name="hinting" >
1705 <edit mode="assign" name="autohint" >
1708 <edit mode="assign" name="antialias" >
1711 <edit mode="assign" name="hintstyle" >
1712 <const>hintslight</const>
1717 <!-- ************* FORCED ARTIFICIAL ITALIC / BOLD ****************** -->
1719 <!-- "Unforced" artificial/italic already included in /etc/fonts/conf.d/ rules -->
1721 <!-- Force artificial italic instead of the font's default italic -->
1722 <!-- In rare cases this is more visually appealing -->
1724 <!-- Set the flag -->
1725 <match target="pattern">
1726 <test target="font" compare="eq" name="family" qual="any" >
1727 <string>-------Courier</string> <!-- Somehow this breaks QT -->
1730 <!-- match requests for non-roman face -->
1731 <test name="slant" compare="not_eq" >
1732 <const>roman</const>
1735 <!-- remember that this should be slanted -->
1736 <edit name="fake_slant">
1740 <!--- change to match a roman face instead -->
1742 <const>roman</const>
1746 <!-- Force flagged fonts to have artificial oblique -->
1747 <match target="font" >
1748 <!-- check to see if the font is roman -->
1749 <test name="slant" >
1750 <const>roman</const>
1752 <!-- look for fonts which were marked for fake obliquing -->
1753 <test name="fake_slant">
1756 <!-- multiply the matrix to slant the font -->
1757 <edit mode="assign" name="matrix" >
1761 <double>1.0</double>
1762 <double>0.2</double>
1768 <!-- pretend the font is oblique now -->
1769 <edit mode="assign" name="slant" >
1770 <const>oblique</const>
1775 <!-- Force fake bold instead of the font's default bold -->
1776 <!-- In rare cases this is more visually appealing -->
1778 <!-- Set the flag -->
1779 <match target="pattern">
1780 <test target="font" compare="eq" name="family" qual="any" >
1781 <string>xxx-NOTHING-xxx</string>
1784 <!-- match requests for bold face -->
1785 <test name="weight" compare="more">
1786 <const>medium</const>
1789 <!-- remember that this should be bolded -->
1790 <edit name="fake_bold">
1794 <!--- change to match a medium weight instead -->
1795 <edit name="weight">
1796 <const>medium</const>
1800 <!-- Force flagged fonts to have artificial bold -->
1801 <match target="font" >
1802 <!-- look for fonts which were marked for fake bolding -->
1803 <test name="fake_bold">
1806 <!-- Set the embolden flag -->
1807 <edit name="embolden" mode="assign">
1810 <!-- pretend the font is bold now -->
1811 <edit mode="assign" name="weight" >
1818 <!-- Prevent BCI fonts in Win98 mode from getting artificial italic -->
1819 <match target="font">
1820 <test name="rendering_style" qual="any" >
1821 <string>Windows 98</string>
1823 <test name="font_type" target="font">
1824 <string>TT Instructed Font</string>
1826 <!-- check to see if the font is roman -->
1827 <test name="slant" >
1828 <const>roman</const>
1830 <!-- match requests for non-roman face -->
1831 <test target="pattern" name="slant" compare="not_eq">
1832 <const>roman</const>
1834 <!-- pretend the font is oblique now -->
1835 <edit mode="assign" name="slant" >
1836 <const>oblique</const>
1840 <!-- Prevent BCI fonts in Win98 mode from getting artificial emboldened -->
1841 <match target="font">
1842 <test name="rendering_style" qual="any" >
1843 <string>Windows 98</string>
1845 <test name="font_type" target="font">
1846 <string>TT Instructed Font</string>
1848 <!-- check to see if the font is just regular -->
1849 <test name="weight" compare="less_eq">
1850 <const>medium</const>
1852 <!-- check to see if the pattern requests bold -->
1853 <test target="pattern" name="weight" compare="more">
1854 <const>medium</const>
1856 <!-- pretend it's bold now -->
1857 <edit name="weight" mode="assign">
1863 <!-- ******************** FINAL SETTINGS ********************** -->
1865 <!-- Make verdana 9 and 10 appear like they do on Windows -->
1866 <!-- Does not work with Google Chrome, but does in Firefox -->
1867 <match target="font">
1868 <test name="rendering_style" qual="any" >
1869 <string>Infinality</string>
1870 <string>Windows 7</string>
1871 <string>Windows XP</string>
1873 <test name="family" qual="any" >
1874 <string>Verdana</string>
1876 <test compare="less" name="weight" >
1879 <test compare="more_eq" name="pixelsize" qual="any" >
1880 <double>8.5</double>
1882 <test compare="less" name="pixelsize" qual="any" >
1883 <double>10.5</double>
1885 <edit name="matrix" mode="assign" >
1889 <double>1.1</double>
1890 <double>0.0</double>
1891 <double>0.0</double>
1892 <double>1.0</double>
1899 <!-- Make verdana 12 appear like it does on Windows -->
1900 <!-- Does not work with Google Chrome, but does in Firefox -->
1901 <match target="font">
1902 <test name="rendering_style" qual="any" >
1903 <string>Infinality</string>
1904 <string>Windows 7</string>
1905 <string>Windows XP</string>
1907 <test name="family" qual="any" >
1908 <string>Verdana</string>
1910 <test compare="less" name="weight" >
1913 <test compare="more_eq" name="pixelsize" qual="any" >
1914 <double>11.5</double>
1916 <test compare="less" name="pixelsize" qual="any" >
1917 <double>12.5</double>
1919 <edit name="matrix" mode="assign" >
1923 <double>1.05</double>
1924 <double>0.0</double>
1925 <double>0.0</double>
1926 <double>1.0</double>
1932 <!-- All fonts should use slight hinting below 8.5 px -->
1933 <match target="font" >
1934 <test name="rendering_style" qual="any" >
1935 <string>Infinality</string>
1936 <string>Windows 7</string>
1937 <string>Windows XP</string>
1939 <test compare="less" name="pixelsize" qual="any" >
1940 <double>8.5</double>
1942 <edit mode="assign" name="hintstyle" >
1943 <const>hintslight</const>
1945 <edit mode="assign" name="autohint" >
1950 <!-- All fonts should use full hinting above 22 px
1951 <match target="font" >
1952 <test compare="more_eq" name="pixelsize" qual="any" >
1953 <double>22.5</double>
1955 <edit mode="assign" name="hintstyle" >
1956 <const>hintfull</const>
1958 <edit mode="assign" name="autohint" >
1964 <!-- These full hinted fonts should use slight hinting below 12 px -->
1965 <match target="font" >
1966 <test name="family" qual="any" >
1967 <string>Arial Black</string>
1969 <test compare="less" name="pixelsize" qual="any" >
1970 <double>11.5</double>
1972 <edit mode="assign" name="hintstyle" >
1973 <const>hintslight</const>
1975 <edit mode="assign" name="autohint" >
1980 <!-- These full hinted fonts should use slight hinting below 14 px -->
1981 <match target="font" >
1982 <test name="family" qual="any" >
1983 <string>Aquabase</string>
1984 <string>Browallia New</string>
1985 <string>BrowalliaUPC</string>
1987 <test compare="less" name="pixelsize" qual="any" >
1988 <double>13.5</double>
1990 <edit mode="assign" name="hintstyle" >
1991 <const>hintslight</const>
1993 <edit mode="assign" name="autohint" >
1998 <!-- These full hinted fonts should use slight hinting at 17 px -->
1999 <match target="font" >
2000 <test name="family" qual="any" >
2001 <string>Gill Sans</string>
2003 <test compare="less" name="pixelsize" qual="any" >
2004 <double>17.5</double>
2006 <test compare="more_eq" name="pixelsize" qual="any" >
2007 <double>16.5</double>
2009 <edit mode="assign" name="autohint" >
2012 <edit mode="assign" name="hintstyle" >
2013 <const>hintslight</const>
2017 <!-- Gentium has issues with the infinality autohint patch -->
2018 <match target="font" >
2019 <test name="font_type" qual="any" >
2020 <string>Gentium</string>
2022 <test compare="less" name="pixelsize" qual="any" >
2023 <double>10.5</double>
2025 <edit mode="assign" name="antialias" >
2028 <edit mode="assign" name="hintstyle" >
2029 <const>hintnone</const>
2033 <!-- Italic Courier looks bad with BCI hinting -->
2034 <match target="font" >
2035 <test name="family" qual="any" >
2036 <string>Courier</string>
2038 <!-- match requests for non-roman face -->
2039 <test name="slant" compare="not_eq" >
2040 <const>roman</const>
2042 <edit mode="assign" name="hintstyle" >
2043 <const>hintslight</const>
2045 <edit mode="assign" name="autohint" >
2051 <!-- Rescan configuration every 10 seconds when FcFontSetList is called -->
2057 <!-- Global Override for Debugging -->
2059 <match target="font" >
2060 <edit mode="assign" name="rgba" >
2063 <edit mode="assign" name="hinting" >
2066 <edit mode="assign" name="autohint" >
2069 <edit mode="assign" name="antialias" >
2072 <edit mode="assign" name="hintstyle" >
2073 <const>hintfull</const>
2075 <edit name="lcdfilter" mode="assign">
2076 <const>lcddefault</const>