Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version='1.0'?>
- <!DOCTYPE fontconfig SYSTEM 'fonts.dtd'>
- <fontconfig>
- <!--
- /********************************************************************
- README
- /********************************************************************
- This /etc/fonts/local.conf file is intended to be used
- in conjunction with the freetype-infinality subpixel hinting patch at
- http://www.infinality.net/
- - Windows, OSX, Google, and Linux fonts are included in the rules
- along with other misc popular or useful fonts found on the web.
- - Feel free to propose additions and changes to this file at:
- http://www.infinality.net/forum/
- -->
- <!--
- /********************************************************************
- Changes for 2011-11-20
- /********************************************************************
- Remove the Canwell replacement.
- /********************************************************************
- Changes for 2011-11-17
- /********************************************************************
- Added these to TT list:
- Arimo
- Cousine
- Tinos
- Ubuntu
- Added variables near the top that allow you to adjust settings and replacements very easily (see below)
- Finished out the OS styles named "OSX" (formerly Apple) and "Linux".
- Added settings to either enable or disable your own global replacements
- Added settings to enable or disable bitmap fonts (this still has issues- please help)
- Added config option to force replacements of similar fontsets
- Removed matrix settings for Verdana / Dejavu Sans. Now built into Infinality patch
- Helvetica Neue and Courier New are not replaced on OS styles besides "Infinality".
- Don't create an artificial bold face for really light or thick fonts.
- NOTE: Assistance with replacments and default fonts for various OS styles is welcomed!
- /********************************************************************
- Changes for 2010-11-14
- /********************************************************************
- Added configuration for different rendering styles. These can be enabled by
- uncommenting the style you want. For instance, if you want your system
- to look like Windows 98, uncomment that style, and make sure others
- are commented out. Obviously you'd want to have appropriate fonts
- installed for that rendering style. Aliases for different OS
- fontsets will be added eventually. The old default style is now
- considered "Infinality" style. Not all styles that are defined are
- filled in yet- but "Apple" and anything above it are.
- Due to the above, in combination with the prevalence of @font-face on
- the web, I've made "Infinality" style rendering use autohint by
- default, and only call out fonts that specifically should use TT
- hinting. The patched autohint will render more fonts, better, than
- TT native hinting will.
- /********************************************************************
- Changes for 2010-10-22
- /********************************************************************
- Promoted Century Gothic, Arial Black and Calibri to Full TT subpixel hinting
- Added Google fonts
- Added Nimbus fonts
- Added more Apple fonts
- Replace Courier New with Apple's Courier - MUCH nicer result
- Better comments to help new users understand what everything means
- Reorganization of some rules
- General Cleanup
- Removed code for artificial oblique, as most distros have this in
- /etc/fonts/conf.d/
- Added nonlatin font alias preferences that favor MS fonts, which have the
- best hinting AFAICT. If you have all Windows Vista/7 fonts installed,
- www.wikipedia.org should look pretty nice.
- /********************************************************************
- Changes for 2010-10-03
- /********************************************************************
- Promoted Geneva, Geneva CY to Full TT subpixel hinting.
- Added an alias for "Trebuchet" to point to "Trebuchet MS"
- Minor comment updates
- -->
- <!-- ================================================================================================= -->
- <!-- ============================== BEGIN USER CONFIGURABLE VARIABLES =============================== -->
- <!-- ================================================================================================= -->
- <!-- Force autohint always -->
- <!-- Useful for debugging and for free software purists -->
- <match target="pattern">
- <edit name="force_autohint" target="pattern">
- <bool>false</bool>
- </edit>
- <edit name="force_autohint" target="font">
- <bool>false</bool>
- </edit>
- </match>
- <!-- Set these to true to allow bitmap fonts. False to disable -->
- <match target="pattern">
- <edit name="allow_bitmap_fonts" target="pattern">
- <bool>false</bool>
- </edit>
- <edit name="allow_bitmap_fonts" target="font">
- <bool>false</bool>
- </edit>
- </match>
- <!-- Choose an OS Rendering Style. This will determine B/W, grayscale,
- or subpixel antialising and slight, full or no hinting and replacements (if set in next option) -->
- <!-- Style should also be set in the infinality-settings.sh file, ususally in /etc/profile.d/ -->
- <match target="pattern">
- <edit name="rendering_style" target="pattern">
- <string>Infinality</string>
- </edit>
- <edit name="rendering_style" target="font">
- <string>Infinality</string>
- </edit>
- <!-- Choose one of these options:
- Infinality - subpixel AA, minimal replacements/tweaks, sans=Arial
- Windows 7 - subpixel AA, sans=Arial
- Windows XP - subpixel AA, sans=Arial
- Windows 98 - B/W full hinting on TT fonts, grayscale AA for others, sans=Arial
- OSX - Slight hinting, subpixel AA, sans=Helvetica Neue
- OSX2 - No hinting, subpixel AA, sans=Helvetica Neue
- Linux - subpixel AA, sans=DejaVu Sans
- Custom - Your own style. Search/Uncomment below and add a check to all the options below that you want to include in 'Custom'.
- -->
- </match>
- <!-- Replace other OS style fonts with my OS style's equivalent? -->
- <!-- This will make most sites/apps display more uniformly -->
- <!-- Search for replace_with_my_os_fonts to see what is being replaced -->
- <!-- This is recommended if you don't have fonts from each OS installed -->
- <match target="pattern">
- <edit name="replace_with_my_os_fonts" target="pattern">
- <bool>false</bool>
- </edit>
- <edit name="replace_with_my_os_fonts" target="font">
- <bool>false</bool>
- </edit>
- </match>
- <!-- Use replacements that you define below, regardless of OS style choice -->
- <!-- Search for enable_global_replacements to add replacements -->
- <match target="pattern">
- <edit name="enable_global_replacements" target="pattern">
- <bool>true</bool>
- </edit>
- <edit name="enable_global_replacements" target="font">
- <bool>true</bool>
- </edit>
- </match>
- <!-- ================================================================================================= -->
- <!-- ============================== END OF USER CONFIGURABLE VARIABLES ============================== -->
- <!-- ================================================================================================= -->
- <!-- ============= NOT IMPLEMENTED YET ============= -->
- <!-- ============= MAY NOT NEED TO BE ============= -->
- <!-- Are Microsoft core fonts installed?
- Only set to true if you haven't installed Windows Vista/7 fonts
- from an actual Windows Vista/7 installation.
- <match target="pattern">
- <edit name="ms_core_fonts_installed" target="pattern">
- <bool>false</bool>
- </edit>
- <edit name="ms_core_fonts_installed" target="font">
- <bool>false</bool>
- </edit>
- </match>-->
- <!-- Are Windows 98 / Vista / 7 fonts installed? -->
- <!-- e.g. Segoe UI, Calibri, Arial, Verdana, Trebuchet MS, Courier New
- Lucida Sans Unicode, Comic Sans MS, Candara, Times New Roman, etc.
- <match target="pattern">
- <edit name="windows_fonts_installed" target="pattern">
- <bool>true</bool>
- </edit>
- <edit name="windows_fonts_installed" target="font">
- <bool>true</bool>
- </edit>
- </match> -->
- <!-- Are Apple OSX fonts installed? -->
- <!-- e.g. Helvetica Neue, Lucida Grande, Times, Courier, Monaco, etc.
- <match target="pattern">
- <edit name="apple_fonts_installed" target="pattern">
- <bool>true</bool>
- </edit>
- <edit name="apple_fonts_installed" target="font">
- <bool>true</bool>
- </edit>
- </match> -->
- <!-- Are Google fonts installed? -->
- <!-- e.g. Droid Sans, Droid Serif, Arimo, Cousine, etc.
- <match target="pattern">
- <edit name="google_fonts_installed" target="pattern">
- <bool>true</bool>
- </edit>
- <edit name="google_fonts_installed" target="font">
- <bool>true</bool>
- </edit>
- </match>-->
- <!-- Are Linux fonts installed? -->
- <!-- e.g. DejaVu, Liberation, etc.
- <match target="pattern">
- <edit name="linux_fonts_installed" target="pattern">
- <bool>true</bool>
- </edit>
- <edit name="linux_fonts_installed" target="font">
- <bool>true</bool>
- </edit>
- </match>-->
- <!-- ******************** BITMAP / OUTLINE ********************** -->
- <!-- Prevent gnome from using embedded bitmaps in fonts like Calibri -->
- <match target="font" >
- <test name="allow_bitmap_fonts" qual="any" >
- <bool>false</bool>
- </test>
- <test name="rendering_style" qual="any" >
- <string>Infinality</string>
- <string>Windows 7</string>
- <string>Windows XP</string>
- <string>OSX</string>
- <string>OSX2</string>
- </test>
- <edit name="embeddedbitmap" mode="assign">
- <bool>false</bool>
- </edit>
- </match>
- <!-- Reject bitmap fonts in favour of Truetype, Postscript, etc. -->
- <match target="font" >
- <test name="allow_bitmap_fonts" qual="any" >
- <bool>false</bool>
- </test>
- <test name="rendering_style" qual="any" >
- <string>Infinality</string>
- <string>Windows 7</string>
- <string>Windows XP</string>
- <string>OSX</string>
- <string>OSX2</string>
- </test>
- <selectfont>
- <rejectfont>
- <pattern>
- <patelt name="scalable" >
- <bool>false</bool>
- </patelt>
- </pattern>
- </rejectfont>
- </selectfont>
- </match>
- <!-- Substitute truetype fonts for bitmap ones -->
- <match target="pattern" >
- <test name="allow_bitmap_fonts" qual="any" >
- <bool>false</bool>
- </test>
- <test name="rendering_style" qual="any" >
- <string>Infinality</string>
- <string>Windows 7</string>
- <string>Windows XP</string>
- <string>OSX</string>
- <string>OSX2</string>
- </test>
- <edit name="prefer_outline" >
- <bool>true</bool>
- </edit>
- </match>
- <!-- ****************************************************************** -->
- <!-- *************************** ALIASES ****************************** -->
- <!-- ****************************************************************** -->
- <!-- Default fonts - Microsoft Appearance -->
- <match target="font" >
- <test name="rendering_style" qual="any" >
- <string>Infinality</string>
- <string>Windows 7</string>
- <string>Windows XP</string>
- <string>Windows 98</string>
- </test>
- <alias>
- <family>sans</family>
- <default>
- <family>Arial</family>
- </default>
- </alias>
- <alias>
- <family>sans-serif</family>
- <default>
- <family>Arial</family>
- </default>
- </alias>
- <alias>
- <family>serif</family>
- <default>
- <family>Times New Roman</family>
- </default>
- </alias>
- </match>
- <!-- Default fonts - OSX Appearance -->
- <match target="font" >
- <test name="rendering_style" qual="any" >
- <string>OSX</string>
- <string>OSX2</string>
- </test>
- <alias>
- <family>sans</family>
- <default>
- <family>Lucida Grande</family>
- </default>
- </alias>
- <alias>
- <family>sans-serif</family>
- <default>
- <family>Lucida Grande</family>
- </default>
- </alias>
- <alias>
- <family>serif</family>
- <default>
- <family>Times</family>
- </default>
- </alias>
- </match>
- <!-- Default fonts - Linux Appearance -->
- <match target="font" >
- <test name="rendering_style" qual="any" >
- <string>Linux</string>
- </test>
- <alias>
- <family>sans</family>
- <default>
- <family>DejaVu Sans</family>
- </default>
- </alias>
- <alias>
- <family>sans-serif</family>
- <default>
- <family>DejaVu Sans</family>
- </default>
- </alias>
- <alias>
- <family>serif</family>
- <default>
- <family>Liberation Serif</family>
- </default>
- </alias>
- </match>
- <!-- Default fonts - Custom Appearance - Uncomment and edit -->
- <!--
- <match target="font" >
- <test name="rendering_style" qual="any" >
- <string>Custom</string>
- </test>
- <alias>
- <family>sans</family>
- <default>
- <family>YOUR FONT HERE</family>
- </default>
- </alias>
- <alias>
- <family>sans-serif</family>
- <default>
- <family>YOUR FONT HERE</family>
- </default>
- </alias>
- <alias>
- <family>serif</family>
- <default>
- <family>YOUR FONT HERE</family>
- </default>
- </alias>
- </match> -->
- <!-- These MS aliases typically are used in user interfaces -->
- <!-- You will mostly run into fonts with these names in WINE programs -->
- <!-- WINE UI fonts - Microsoft Windows Vista/7 Appearance -->
- <match target="font" >
- <test name="rendering_style" qual="any" >
- <string>Infinality</string>
- <string>Windows 7</string>
- </test>
- <alias binding="same">
- <family>System</family>
- <accept>
- <family>Segoe UI</family>
- </accept>
- </alias>
- <alias binding="same">
- <family>MS Shell Dlg</family>
- <accept>
- <family>Segoe UI</family>
- </accept>
- </alias>
- <alias binding="same">
- <family>MS Sans Serif</family>
- <accept>
- <family>Segoe UI</family>
- </accept>
- </alias>
- </match>
- <!-- WINE UI fonts - Microsoft Windows 98/XP Appearance -->
- <!-- For Win 98, make sure font smoothing is DISABLED within WINE:
- wget http://files.polosatus.ru/winefontssmoothing_en.sh
- sh winefontssmoothing_en.sh
- -->
- <match target="font" >
- <test name="rendering_style" qual="any" >
- <string>Windows 98</string>
- </test>
- <alias binding="same">
- <family>System</family>
- <accept>
- <family>Microsoft Sans Serif</family>
- </accept>
- </alias>
- <alias binding="same">
- <family>MS Shell Dlg</family>
- <accept>
- <family>Microsoft Sans Serif</family>
- </accept>
- </alias>
- <alias binding="same">
- <family>MS Sans Serif</family>
- <accept>
- <family>Microsoft Sans Serif</family>
- </accept>
- </alias>
- </match>
- <match target="font" >
- <test name="rendering_style" qual="any" >
- <string>Windows XP</string>
- </test>
- <alias binding="same">
- <family>System</family>
- <accept>
- <family>Tahoma</family>
- </accept>
- </alias>
- <alias binding="same">
- <family>MS Shell Dlg</family>
- <accept>
- <family>Tahoma</family>
- </accept>
- </alias>
- <alias binding="same">
- <family>MS Sans Serif</family>
- <accept>
- <family>Tahoma</family>
- </accept>
- </alias>
- </match>
- <!-- WINE UI fonts - OSX Appearance -->
- <match target="font" >
- <test name="rendering_style" qual="any" >
- <string>OSX</string>
- <string>OSX2</string>
- </test>
- <alias binding="same">
- <family>System</family>
- <accept>
- <family>Lucida Grande</family>
- </accept>
- </alias>
- <alias binding="same">
- <family>MS Shell Dlg</family>
- <accept>
- <family>Lucida Grande</family>
- </accept>
- </alias>
- <alias binding="same">
- <family>MS Sans Serif</family>
- <accept>
- <family>Lucida Grande</family>
- </accept>
- </alias>
- </match>
- <!-- WINE UI fonts - Linux Appearance -->
- <match target="font" >
- <test name="rendering_style" qual="any" >
- <string>Linux</string>
- </test>
- <alias binding="same">
- <family>System</family>
- <accept>
- <family>DejaVu Sans</family>
- </accept>
- </alias>
- <alias binding="same">
- <family>MS Shell Dlg</family>
- <accept>
- <family>DejaVu Sans</family>
- </accept>
- </alias>
- <alias binding="same">
- <family>MS Sans Serif</family>
- <accept>
- <family>DejaVu Sans</family>
- </accept>
- </alias>
- </match>
- <!-- WINE UI fonts - Custom Appearance -->
- <!--<match target="font" >
- <test name="rendering_style" qual="any" >
- <string>Custom</string>
- </test>
- <alias binding="same">
- <family>System</family>
- <accept>
- <family>YOUR FONT HERE</family>
- </accept>
- </alias>
- <alias binding="same">
- <family>MS Shell Dlg</family>
- <accept>
- <family>YOUR FONT HERE</family>
- </accept>
- </alias>
- <alias binding="same">
- <family>MS Sans Serif</family>
- <accept>
- <family>YOUR FONT HERE</family>
- </accept>
- </alias>
- </match> -->
- <!-- ****************************************************************** -->
- <!-- *********************** FONT PRIORITIES ************************** -->
- <!-- ****************************************************************** -->
- <!-- Establish priorities for non-Latin fonts -->
- <!-- http://en.wikipedia.org/wiki/List_of_Microsoft_Windows_fonts -->
- <!-- Non-latin fonts - Microsoft Windows Vista/7 Appearance -->
- <match target="font" >
- <test name="rendering_style" qual="any" >
- <string>Infinality</string>
- <string>Windows 7</string>
- <string>Windows XP</string>
- <string>Windows 98</string>
- </test>
- <alias>
- <family>serif</family>
- <prefer>
- <family>Times New Roman</family>
- <family>Batang</family>
- <family>DFKai-SB</family>
- <family>EucrosiaUPC</family>
- <family>JasmineUPC</family>
- <family>KaiTi</family>
- <family>Kartika</family>
- <family>KodchiangUPC</family>
- <family>MingLiU</family>
- <family>MS Mincho</family>
- <family>SimSun</family>
- <family>Sylfaen</family>
- <family>DaunPenh</family>
- <family>MV Boli</family>
- <family>Iskoola Pota</family>
- <family>Latha</family>
- <family>Microsoft Himalaya</family>
- <family>Mongolian Baiti</family>
- <family>Shruti</family>
- <family>Cardo</family>
- <family>MPH 2B Damase</family>
- <family>Times</family>
- <family>Palatino Linotype</family>
- <family>Liberation Serif</family>
- <family>DejaVu Serif</family>
- <family>FreeSerif</family>
- <family>Georgia</family>
- </prefer>
- </alias>
- <alias>
- <family>sans-serif</family>
- <prefer>
- <family>Arial</family>
- <family>Meiryo</family>
- <family>Arabic Typesetting</family>
- <family>DokChampa</family>
- <family>Malgun Gothic</family>
- <family>Estrangelo Edessa</family>
- <family>Gautami</family>
- <family>Iskoola Pota</family>
- <family>Microsoft YaHei</family>
- <family>Mangal</family>
- <family>Microsoft JhengHei</family>
- <family>Vrinda</family>
- <family>Plantagenet Cherokee</family>
- <family>Raavi</family>
- <family>Nyala</family>
- <family>Tunga</family>
- <family>Kartika</family>
- <family>MV Boli</family>
- <family>DaunPenh</family>
- <family>Iskoola Pota</family>
- <family>Latha</family>
- <family>Microsoft Himalaya</family>
- <family>Mongolian Baiti</family>
- <family>Shruti</family>
- <family>Skeirs</family>
- <family>Cardo</family>
- <family>MPH 2B Damase</family>
- <family>Tahoma</family>
- <family>Arial Unicode MS</family>
- <family>Helvetica Neue</family>
- <family>Helvetica</family>
- <family>DejaVu Sans</family>
- <family>Liberation Sans</family>
- </prefer>
- </alias>
- <alias>
- <family>monospace</family>
- <prefer>
- <family>Courier New</family>
- <family>Consolas</family>
- <family>Inconsolata</family>
- <family>Andale Mono</family>
- <family>Courier New</family>
- <family>Microsoft JhengHei</family>
- <family>Microsoft YaHei</family>
- <family>MPH 2B Damase</family>
- <family>Courier</family>
- <family>Liberation Mono</family>
- <family>DejaVu Sans Mono</family>
- <family>Droid Sans Mono</family>
- <family>FreeMono</family>
- </prefer>
- </alias>
- <alias>
- <family>fantasy</family>
- <prefer>
- <family>Impact</family>
- <family>Copperplate Gothic Std</family>
- <family>Cooper Std</family>
- <family>Bauhaus Std</family>
- </prefer>
- </alias>
- <alias>
- <family>cursive</family>
- <prefer>
- <family>ITC Zapf Chancery Std</family>
- <family>Zapfino</family>
- <family>Comic Sans MS</family>
- <family>Chalkboard</family>
- <family>Chalkduster</family>
- </prefer>
- </alias>
- </match>
- <!-- Non-latin fonts - OSX or Linux Appearance -->
- <!-- Please feel free to offer assistance here! -->
- <match target="font" >
- <test name="rendering_style" qual="any" >
- <string>OSX</string>
- <string>OSX2</string>
- <string>Linux</string>
- </test>
- <alias>
- <family>serif</family>
- <prefer>
- <family>Times</family>
- <family>Liberation Serif</family>
- <family>DejaVu Serif</family>
- <family>FreeSerif</family>
- <family>Times New Roman</family>
- <family>Batang</family>
- <family>DFKai-SB</family>
- <family>EucrosiaUPC</family>
- <family>JasmineUPC</family>
- <family>KaiTi</family>
- <family>Kartika</family>
- <family>KodchiangUPC</family>
- <family>MingLiU</family>
- <family>MS Mincho</family>
- <family>SimSun</family>
- <family>Sylfaen</family>
- <family>DaunPenh</family>
- <family>MV Boli</family>
- <family>Iskoola Pota</family>
- <family>Latha</family>
- <family>Microsoft Himalaya</family>
- <family>Mongolian Baiti</family>
- <family>Shruti</family>
- <family>Cardo</family>
- <family>MPH 2B Damase</family>
- <family>Georgia</family>
- <family>Palatino Linotype</family>
- </prefer>
- </alias>
- <alias>
- <family>sans-serif</family>
- <prefer>
- <family>Helvetica Neue</family>
- <family>Helvetica</family>
- <family>DejaVu Sans</family>
- <family>Liberation Sans</family>
- <family>Arial</family>
- <family>Meiryo</family>
- <family>Arabic Typesetting</family>
- <family>DokChampa</family>
- <family>Malgun Gothic</family>
- <family>Estrangelo Edessa</family>
- <family>Gautami</family>
- <family>Iskoola Pota</family>
- <family>Microsoft YaHei</family>
- <family>Mangal</family>
- <family>Microsoft JhengHei</family>
- <family>Vrinda</family>
- <family>Plantagenet Cherokee</family>
- <family>Raavi</family>
- <family>Nyala</family>
- <family>Tunga</family>
- <family>Kartika</family>
- <family>MV Boli</family>
- <family>DaunPenh</family>
- <family>Iskoola Pota</family>
- <family>Latha</family>
- <family>Microsoft Himalaya</family>
- <family>Mongolian Baiti</family>
- <family>Shruti</family>
- <family>Skeirs</family>
- <family>Cardo</family>
- <family>MPH 2B Damase</family>
- <family>Tahoma</family>
- <family>Arial Unicode MS</family>
- </prefer>
- </alias>
- <alias>
- <family>monospace</family>
- <prefer>
- <family>Courier</family>
- <family>Liberation Mono</family>
- <family>DejaVu Sans Mono</family>
- <family>Droid Sans Mono</family>
- <family>FreeMono</family>
- <family>Courier New</family>
- <family>Consolas</family>
- <family>Inconsolata</family>
- <family>Andale Mono</family>
- <family>Courier New</family>
- <family>Microsoft JhengHei</family>
- <family>Microsoft YaHei</family>
- <family>MPH 2B Damase</family>
- </prefer>
- </alias>
- <alias>
- <family>fantasy</family>
- <prefer>
- <family>Impact</family>
- <family>Copperplate Gothic Std</family>
- <family>Cooper Std</family>
- <family>Bauhaus Std</family>
- </prefer>
- </alias>
- <alias>
- <family>cursive</family>
- <prefer>
- <family>ITC Zapf Chancery Std</family>
- <family>Zapfino</family>
- <family>Comic Sans MS</family>
- <family>Chalkboard</family>
- <family>Chalkduster</family>
- </prefer>
- </alias>
- </match>
- <!-- Non-latin fonts - Custom Appearance -->
- <!--<match target="font" >
- <test name="rendering_style" qual="any" >
- <string>Custom</string>
- </test>
- <alias>
- <family>serif</family>
- <prefer>
- <family>Times</family>
- <family>Liberation Serif</family>
- <family>DejaVu Serif</family>
- <family>FreeSerif</family>
- <family>Times New Roman</family>
- <family>Batang</family>
- <family>DFKai-SB</family>
- <family>EucrosiaUPC</family>
- <family>JasmineUPC</family>
- <family>KaiTi</family>
- <family>Kartika</family>
- <family>KodchiangUPC</family>
- <family>MingLiU</family>
- <family>MS Mincho</family>
- <family>SimSun</family>
- <family>Sylfaen</family>
- <family>DaunPenh</family>
- <family>MV Boli</family>
- <family>Iskoola Pota</family>
- <family>Latha</family>
- <family>Microsoft Himalaya</family>
- <family>Mongolian Baiti</family>
- <family>Shruti</family>
- <family>Cardo</family>
- <family>MPH 2B Damase</family>
- <family>Georgia</family>
- <family>Palatino Linotype</family>
- </prefer>
- </alias>
- <alias>
- <family>sans-serif</family>
- <prefer>
- <family>Helvetica Neue</family>
- <family>Helvetica</family>
- <family>DejaVu Sans</family>
- <family>Liberation Sans</family>
- <family>Arial</family>
- <family>Meiryo</family>
- <family>Arabic Typesetting</family>
- <family>DokChampa</family>
- <family>Malgun Gothic</family>
- <family>Estrangelo Edessa</family>
- <family>Gautami</family>
- <family>Iskoola Pota</family>
- <family>Microsoft YaHei</family>
- <family>Mangal</family>
- <family>Microsoft JhengHei</family>
- <family>Vrinda</family>
- <family>Plantagenet Cherokee</family>
- <family>Raavi</family>
- <family>Nyala</family>
- <family>Tunga</family>
- <family>Kartika</family>
- <family>MV Boli</family>
- <family>DaunPenh</family>
- <family>Iskoola Pota</family>
- <family>Latha</family>
- <family>Microsoft Himalaya</family>
- <family>Mongolian Baiti</family>
- <family>Shruti</family>
- <family>Skeirs</family>
- <family>Cardo</family>
- <family>MPH 2B Damase</family>
- <family>Tahoma</family>
- <family>Arial Unicode MS</family>
- </prefer>
- </alias>
- <alias>
- <family>monospace</family>
- <prefer>
- <family>Courier</family>
- <family>Liberation Mono</family>
- <family>DejaVu Sans Mono</family>
- <family>Droid Sans Mono</family>
- <family>FreeMono</family>
- <family>Courier New</family>
- <family>Consolas</family>
- <family>Inconsolata</family>
- <family>Andale Mono</family>
- <family>Courier New</family>
- <family>Microsoft JhengHei</family>
- <family>Microsoft YaHei</family>
- <family>MPH 2B Damase</family>
- </prefer>
- </alias>
- <alias>
- <family>fantasy</family>
- <prefer>
- <family>Impact</family>
- <family>Copperplate Gothic Std</family>
- <family>Cooper Std</family>
- <family>Bauhaus Std</family>
- </prefer>
- </alias>
- <alias>
- <family>cursive</family>
- <prefer>
- <family>ITC Zapf Chancery Std</family>
- <family>Zapfino</family>
- <family>Comic Sans MS</family>
- <family>Chalkboard</family>
- <family>Chalkduster</family>
- </prefer>
- </alias>
- </match>
- -->
- <!-- ****************************************************************** -->
- <!-- *********************** GENERIC REPLACEMENTS ******************** -->
- <!-- ****************************************************************** -->
- <!-- Replaces sans, sans-serif, serif, monospace with a specific font preference -->
- <!-- This is also set in aliases above -->
- <!-- Microsoft style - sans, sans-serif, serif -->
- <match target="font" >
- <test name="rendering_style" qual="any" >
- <string>Infinality</string>
- <string>Windows 7</string>
- <string>Windows XP</string>
- <string>Windows 98</string>
- </test>
- <test name="family" qual="any" >
- <string>sans</string>
- </test>
- <edit mode="assign" name="family" >
- <string>Arial</string>
- </edit>
- </match>
- <match target="font" >
- <test name="rendering_style" qual="any" >
- <string>Infinality</string>
- <string>Windows 7</string>
- <string>Windows XP</string>
- <string>Windows 98</string>
- </test>
- <test name="family" qual="any" >
- <string>sans-serif</string>
- </test>
- <edit mode="assign" name="family" >
- <string>Arial</string>
- </edit>
- </match>
- <match target="font" >
- <test name="rendering_style" qual="any" >
- <string>Infinality</string>
- <string>Windows 7</string>
- <string>Windows XP</string>
- <string>Windows 98</string>
- </test>
- <test name="family" qual="any" >
- <string>serif</string>
- </test>
- <edit mode="assign" name="family" >
- <string>Times New Roman</string>
- </edit>
- </match>
- <match target="font" >
- <test name="rendering_style" qual="any" >
- <string>Infinality</string>
- <string>Windows 7</string>
- <string>Windows XP</string>
- <string>Windows 98</string>
- </test>
- <test name="family" qual="any" >
- <string>monospace</string>
- </test>
- <edit mode="assign" name="family" >
- <string>Courier New</string>
- </edit>
- </match>
- <!-- OSX style - sans, sans-serif, serif -->
- <match target="font" >
- <test name="rendering_style" qual="any" >
- <string>OSX</string>
- <string>OSX2</string>
- </test>
- <test name="family" qual="any" >
- <string>sans</string>
- </test>
- <edit mode="assign" name="family" >
- <string>Helvetica Neue</string>
- </edit>
- </match>
- <match target="font" >
- <test name="rendering_style" qual="any" >
- <string>OSX</string>
- <string>OSX2</string>
- </test>
- <test name="family" qual="any" >
- <string>sans-serif</string>
- </test>
- <edit mode="assign" name="family" >
- <string>Helvetica Neue</string>
- </edit>
- </match>
- <match target="font" >
- <test name="rendering_style" qual="any" >
- <string>OSX</string>
- <string>OSX2</string>
- </test>
- <test name="family" qual="any" >
- <string>serif</string>
- </test>
- <edit mode="assign" name="family" >
- <string>Times</string>
- </edit>
- </match>
- <match target="font" >
- <test name="rendering_style" qual="any" >
- <string>OSX</string>
- <string>OSX2</string>
- </test>
- <test name="family" qual="any" >
- <string>monospace</string>
- </test>
- <edit mode="assign" name="family" >
- <string>Courier</string>
- </edit>
- </match>
- <!-- Linux style - sans, sans-serif, serif -->
- <match target="font" >
- <test name="rendering_style" qual="any" >
- <string>Linux</string>
- </test>
- <test name="family" qual="any" >
- <string>sans</string>
- </test>
- <edit mode="assign" name="family" >
- <string>DejaVu Sans</string>
- </edit>
- </match>
- <match target="font" >
- <test name="rendering_style" qual="any" >
- <string>Linux</string>
- </test>
- <test name="family" qual="any" >
- <string>sans-serif</string>
- </test>
- <edit mode="assign" name="family" >
- <string>DejaVu Sans</string>
- </edit>
- </match>
- <match target="font" >
- <test name="rendering_style" qual="any" >
- <string>Linux</string>
- </test>
- <test name="family" qual="any" >
- <string>serif</string>
- </test>
- <edit mode="assign" name="family" >
- <string>Liberation Serif</string>
- </edit>
- </match>
- <match target="font" >
- <test name="rendering_style" qual="any" >
- <string>Linux</string>
- </test>
- <test name="family" qual="any" >
- <string>monospace</string>
- </test>
- <edit mode="assign" name="family" >
- <string>Liberation Mono</string>
- </edit>
- </match>
- <!-- Custom style - sans, sans-serif, serif -->
- <!--<match target="font" >
- <test name="rendering_style" qual="any" >
- <string>Custom</string>
- </test>
- <test name="family" qual="any" >
- <string>sans</string>
- </test>
- <edit mode="assign" name="family" >
- <string>DejaVu Sans</string>
- </edit>
- </match>
- <match target="font" >
- <test name="rendering_style" qual="any" >
- <string>Custom</string>
- </test>
- <test name="family" qual="any" >
- <string>sans-serif</string>
- </test>
- <edit mode="assign" name="family" >
- <string>DejaVu Sans</string>
- </edit>
- </match>
- <match target="font" >
- <test name="rendering_style" qual="any" >
- <string>Custom</string>
- </test>
- <test name="family" qual="any" >
- <string>serif</string>
- </test>
- <edit mode="assign" name="family" >
- <string>Liberation Serif</string>
- </edit>
- </match>
- <match target="font" >
- <test name="rendering_style" qual="any" >
- <string>Custom</string>
- </test>
- <test name="family" qual="any" >
- <string>monospace</string>
- </test>
- <edit mode="assign" name="family" >
- <string>Liberation Mono</string>
- </edit>
- </match>-->
- <!-- ****************************************************************** -->
- <!-- *********************** OS FONT REPLACEMENTS ******************** -->
- <!-- ****************************************************************** -->
- <!-- Optionally replace these common cloned fonts with their OS equivalent -->
- <!-- Microsoft Appearance - Replace With MS Fonts -->
- <match target="font" >
- <test name="replace_with_my_os_fonts" qual="any" >
- <bool>true</bool>
- </test>
- <test name="rendering_style" qual="any" >
- <string>Windows 7</string>
- <string>Windows XP</string>
- <string>Windows 98</string>
- </test>
- <test name="family" qual="any" >
- <string>Nimbus Sans</string>
- <string>Nimbus Sans L</string>
- <string>Helvetica Neue</string>
- <string>Helvetica</string>
- <string>Liberation Sans</string>
- <string>Freesans</string>
- </test>
- <edit mode="assign" name="family" >
- <string>Arial</string>
- </edit>
- </match>
- <match target="pattern" name="family">
- <test name="replace_with_my_os_fonts" qual="any" >
- <bool>true</bool>
- </test>
- <test name="rendering_style" qual="any" >
- <string>Windows 7</string>
- <string>Windows XP</string>
- <string>Windows 98</string>
- </test>
- <test name="family" qual="any" >
- <string>Nimbus Sans</string>
- <string>Nimbus Sans L</string>
- <string>Helvetica Neue</string>
- <string>Helvetica</string>
- <string>Liberation Sans</string>
- <string>Freesans</string>
- </test>
- <edit binding="strong" mode="prepend" name="family" >
- <string>Arial</string>
- </edit>
- </match>
- <match target="font" >
- <test name="replace_with_my_os_fonts" qual="any" >
- <bool>true</bool>
- </test>
- <test name="rendering_style" qual="any" >
- <string>Windows 7</string>
- <string>Windows XP</string>
- <string>Windows 98</string>
- </test>
- <test name="family" qual="any" >
- <string>Bitstream Vera Sans</string>
- <string>DejaVu Sans</string>
- </test>
- <edit mode="assign" name="family" >
- <string>Verdana</string>
- </edit>
- </match>
- <match target="pattern" name="family">
- <test name="replace_with_my_os_fonts" qual="any" >
- <bool>true</bool>
- </test>
- <test name="rendering_style" qual="any" >
- <string>Windows 7</string>
- <string>Windows XP</string>
- <string>Windows 98</string>
- </test>
- <test name="family" qual="any" >
- <string>Bitstream Vera Sans</string>
- <string>DejaVu Sans</string>
- </test>
- <edit binding="strong" mode="prepend" name="family" >
- <string>Verdana</string>
- </edit>
- </match>
- <match target="font" >
- <test name="replace_with_my_os_fonts" qual="any" >
- <bool>true</bool>
- </test>
- <test name="rendering_style" qual="any" >
- <string>Windows 7</string>
- <string>Windows XP</string>
- <string>Windows 98</string>
- </test>
- <test name="family" qual="any" >
- <string>Courier</string>
- <string>FreeMono</string>
- <string>Nimbus Mono L</string>
- </test>
- <edit mode="assign" name="family" >
- <string>Courier New</string>
- </edit>
- </match>
- <match target="pattern" name="family">
- <test name="replace_with_my_os_fonts" qual="any" >
- <bool>true</bool>
- </test>
- <test name="rendering_style" qual="any" >
- <string>Windows 7</string>
- <string>Windows XP</string>
- <string>Windows 98</string>
- </test>
- <test name="family" qual="any" >
- <string>Courier</string>
- <string>FreeMono</string>
- <string>Nimbus Mono L</string>
- </test>
- <edit binding="strong" mode="prepend" name="family" >
- <string>Courier New</string>
- </edit>
- </match>
- <match target="font" >
- <test name="replace_with_my_os_fonts" qual="any" >
- <bool>true</bool>
- </test>
- <test name="rendering_style" qual="any" >
- <string>Windows 7</string>
- <string>Windows XP</string>
- <string>Windows 98</string>
- </test>
- <test name="family" qual="any" >
- <string>Times</string>
- <string>DejaVu Serif</string>
- <string>Nimbus Serif L</string>
- <string>Liberation Serif</string>
- </test>
- <edit mode="assign" name="family" >
- <string>Times New Roman</string>
- </edit>
- </match>
- <match target="pattern" name="family">
- <test name="replace_with_my_os_fonts" qual="any" >
- <bool>true</bool>
- </test>
- <test name="rendering_style" qual="any" >
- <string>Windows 7</string>
- <string>Windows XP</string>
- <string>Windows 98</string>
- </test>
- <test name="family" qual="any" >
- <string>Times</string>
- <string>DejaVu Serif</string>
- <string>Nimbus Serif L</string>
- <string>Liberation Serif</string>
- </test>
- <edit binding="strong" mode="prepend" name="family" >
- <string>Times New Roman</string>
- </edit>
- </match>
- <match target="pattern" name="family" >
- <test name="replace_with_my_os_fonts" qual="any" >
- <bool>true</bool>
- </test>
- <test name="rendering_style" qual="any" >
- <string>Windows 7</string>
- <string>Windows XP</string>
- <string>Windows 98</string>
- </test>
- <test name="family" qual="any" >
- <string>Palatino</string>
- </test>
- <edit binding="strong" mode="prepend" name="family" >
- <string>Palatino Linotype</string>
- </edit>
- </match>
- <match target="font" >
- <test name="replace_with_my_os_fonts" qual="any" >
- <bool>true</bool>
- </test>
- <test name="rendering_style" qual="any" >
- <string>Windows 7</string>
- <string>Windows XP</string>
- <string>Windows 98</string>
- </test>
- <test name="family" qual="any" >
- <string>Palatino</string>
- </test>
- <edit mode="assign" name="family" >
- <string>Palatino Linotype</string>
- </edit>
- </match>
- <match target="pattern" name="family" >
- <test name="replace_with_my_os_fonts" qual="any" >
- <bool>true</bool>
- </test>
- <test name="rendering_style" qual="any" >
- <string>Windows 7</string>
- <string>Windows XP</string>
- <string>Windows 98</string>
- </test>
- <test name="family" qual="any" >
- <string>Lucida Sans</string>
- <string>Lucida Grande</string>
- </test>
- <edit binding="strong" mode="prepend" name="family" >
- <string>Lucida Sans Unicode</string>
- </edit>
- </match>
- <match target="font" >
- <test name="replace_with_my_os_fonts" qual="any" >
- <bool>true</bool>
- </test>
- <test name="rendering_style" qual="any" >
- <string>Windows 7</string>
- <string>Windows XP</string>
- <string>Windows 98</string>
- </test>
- <test name="family" qual="any" >
- <string>Lucida Sans</string>
- <string>Lucida Grande</string>
- </test>
- <edit mode="assign" name="family" >
- <string>Lucida Sans Unicode</string>
- </edit>
- </match>
- <!-- OSX Appearance - Replace with OSX fonts -->
- <match target="font" >
- <test name="replace_with_my_os_fonts" qual="any" >
- <bool>true</bool>
- </test>
- <test name="rendering_style" qual="any" >
- <string>OSX</string>
- <string>OSX2</string>
- </test>
- <test name="family" qual="any" >
- <string>Nimbus Sans</string>
- <string>Nimbus Sans L</string>
- <string>Arial</string>
- <string>Liberation Sans</string>
- <string>Freesans</string>
- </test>
- <edit mode="assign" name="family" >
- <string>Helvetica Neue</string>
- </edit>
- </match>
- <match target="pattern" name="family">
- <test name="replace_with_my_os_fonts" qual="any" >
- <bool>true</bool>
- </test>
- <test name="rendering_style" qual="any" >
- <string>OSX</string>
- <string>OSX2</string>
- </test>
- <test name="family" qual="any" >
- <string>Nimbus Sans</string>
- <string>Nimbus Sans L</string>
- <string>Arial</string>
- <string>Liberation Sans</string>
- <string>Freesans</string>
- </test>
- <edit binding="strong" mode="prepend" name="family" >
- <string>Helvetica Neue</string>
- </edit>
- </match>
- <match target="font" >
- <test name="replace_with_my_os_fonts" qual="any" >
- <bool>true</bool>
- </test>
- <test name="rendering_style" qual="any" >
- <string>OSX</string>
- <string>OSX2</string>
- </test>
- <test name="family" qual="any" >
- <string>Courier New</string>
- <string>FreeMono</string>
- <string>Nimbus Mono L</string>
- </test>
- <edit mode="assign" name="family" >
- <string>Courier</string>
- </edit>
- </match>
- <match target="pattern" name="family">
- <test name="replace_with_my_os_fonts" qual="any" >
- <bool>true</bool>
- </test>
- <test name="rendering_style" qual="any" >
- <string>OSX</string>
- <string>OSX2</string>
- </test>
- <test name="family" qual="any" >
- <string>Courier New</string>
- <string>FreeMono</string>
- <string>Nimbus Mono L</string>
- </test>
- <edit binding="strong" mode="prepend" name="family" >
- <string>Courier</string>
- </edit>
- </match>
- <match target="font" >
- <test name="replace_with_my_os_fonts" qual="any" >
- <bool>true</bool>
- </test>
- <test name="rendering_style" qual="any" >
- <string>OSX</string>
- <string>OSX2</string>
- </test>
- <test name="family" qual="any" >
- <string>Times New Roman</string>
- <string>DejaVu Serif</string>
- <string>Nimbus Serif L</string>
- <string>Liberation Serif</string>
- <string>FreeSerif</string>
- </test>
- <edit mode="assign" name="family" >
- <string>Times</string>
- </edit>
- </match>
- <match target="pattern" name="family">
- <test name="replace_with_my_os_fonts" qual="any" >
- <bool>true</bool>
- </test>
- <test name="rendering_style" qual="any" >
- <string>OSX</string>
- <string>OSX2</string>
- </test>
- <test name="family" qual="any" >
- <string>Times New Roman</string>
- <string>DejaVu Serif</string>
- <string>Nimbus Serif L</string>
- <string>Liberation Serif</string>
- <string>FreeSerif</string>
- </test>
- <edit binding="strong" mode="prepend" name="family" >
- <string>Times</string>
- </edit>
- </match>
- <match target="pattern" name="family" >
- <test name="replace_with_my_os_fonts" qual="any" >
- <bool>true</bool>
- </test>
- <test name="rendering_style" qual="any" >
- <string>OSX</string>
- <string>OSX2</string>
- </test>
- <test name="family" qual="any" >
- <string>Palatino Linotype</string>
- </test>
- <edit binding="strong" mode="prepend" name="family" >
- <string>Palatino</string>
- </edit>
- </match>
- <match target="font" >
- <test name="replace_with_my_os_fonts" qual="any" >
- <bool>true</bool>
- </test>
- <test name="rendering_style" qual="any" >
- <string>OSX</string>
- <string>OSX2</string>
- </test>
- <test name="family" qual="any" >
- <string>Palatino Linotype</string>
- </test>
- <edit mode="assign" name="family" >
- <string>Palatino</string>
- </edit>
- </match>
- <match target="pattern" name="family" >
- <test name="replace_with_my_os_fonts" qual="any" >
- <bool>true</bool>
- </test>
- <test name="rendering_style" qual="any" >
- <string>OSX</string>
- <string>OSX2</string>
- </test>
- <test name="family" qual="any" >
- <string>Lucida Sans</string>
- <string>Lucida Sans Unicode</string>
- </test>
- <edit binding="strong" mode="prepend" name="family" >
- <string>Lucida Grande</string>
- </edit>
- </match>
- <match target="font" >
- <test name="replace_with_my_os_fonts" qual="any" >
- <bool>true</bool>
- </test>
- <test name="rendering_style" qual="any" >
- <string>OSX</string>
- <string>OSX2</string>
- </test>
- <test name="family" qual="any" >
- <string>Lucida Sans</string>
- <string>Lucida Sans Unicode</string>
- </test>
- <edit mode="assign" name="family" >
- <string>Lucida Grande</string>
- </edit>
- </match>
- <!-- Linux Appearance - Replace with Linux fonts -->
- <match target="font" >
- <test name="replace_with_my_os_fonts" qual="any" >
- <bool>true</bool>
- </test>
- <test name="rendering_style" qual="any" >
- <string>Linux</string>
- </test>
- <test name="family" qual="any" >
- <string>Nimbus Sans</string>
- <string>Nimbus Sans L</string>
- <string>Arial</string>
- <string>Helvetica</string>
- <string>Helvetica Neue</string>
- <string>Freesans</string>
- </test>
- <edit mode="assign" name="family" >
- <string>Liberation Sans</string>
- </edit>
- </match>
- <match target="pattern" name="family">
- <test name="replace_with_my_os_fonts" qual="any" >
- <bool>true</bool>
- </test>
- <test name="rendering_style" qual="any" >
- <string>Linux</string>
- </test>
- <test name="family" qual="any" >
- <string>Nimbus Sans</string>
- <string>Nimbus Sans L</string>
- <string>Arial</string>
- <string>Helvetica</string>
- <string>Helvetica Neue</string>
- <string>Freesans</string>
- </test>
- <edit binding="strong" mode="prepend" name="family" >
- <string>Liberation Sans</string>
- </edit>
- </match>
- <match target="font" >
- <test name="replace_with_my_os_fonts" qual="any" >
- <bool>true</bool>
- </test>
- <test name="rendering_style" qual="any" >
- <string>Linux</string>
- </test>
- <test name="family" qual="any" >
- <string>Bitstream Vera Sans</string>
- <string>Verdana</string>
- </test>
- <edit mode="assign" name="family" >
- <string>DejaVu Sans</string>
- </edit>
- </match>
- <match target="pattern" name="family">
- <test name="replace_with_my_os_fonts" qual="any" >
- <bool>true</bool>
- </test>
- <test name="rendering_style" qual="any" >
- <string>Linux</string>
- </test>
- <test name="family" qual="any" >
- <string>Bitstream Vera Sans</string>
- <string>Verdana</string>
- </test>
- <edit binding="strong" mode="prepend" name="family" >
- <string>DejaVu Sans</string>
- </edit>
- </match>
- <match target="font" >
- <test name="replace_with_my_os_fonts" qual="any" >
- <bool>true</bool>
- </test>
- <test name="rendering_style" qual="any" >
- <string>Linux</string>
- </test>
- <test name="family" qual="any" >
- <string>Courier</string>
- <string>FreeMono</string>
- <string>Nimbus Mono L</string>
- <string>Courier New</string>
- </test>
- <edit mode="assign" name="family" >
- <string>Liberation Mono</string>
- </edit>
- </match>
- <match target="pattern" name="family">
- <test name="replace_with_my_os_fonts" qual="any" >
- <bool>true</bool>
- </test>
- <test name="rendering_style" qual="any" >
- <string>Linux</string>
- </test>
- <test name="family" qual="any" >
- <string>Courier</string>
- <string>FreeMono</string>
- <string>Nimbus Mono L</string>
- <string>Courier New</string>
- </test>
- <edit binding="strong" mode="prepend" name="family" >
- <string>Liberation Mono</string>
- </edit>
- </match>
- <match target="font" >
- <test name="replace_with_my_os_fonts" qual="any" >
- <bool>true</bool>
- </test>
- <test name="rendering_style" qual="any" >
- <string>Linux</string>
- </test>
- <test name="family" qual="any" >
- <string>Times</string>
- <string>Nimbus Serif L</string>
- <string>Times New Roman</string>
- </test>
- <edit mode="assign" name="family" >
- <string>DejaVu Serif</string>
- </edit>
- </match>
- <match target="pattern" name="family">
- <test name="replace_with_my_os_fonts" qual="any" >
- <bool>true</bool>
- </test>
- <test name="rendering_style" qual="any" >
- <string>Linux</string>
- </test>
- <test name="family" qual="any" >
- <string>Times</string>
- <string>Nimbus Serif L</string>
- <string>Times New Roman</string>
- </test>
- <edit binding="strong" mode="prepend" name="family" >
- <string>DejaVu Serif</string>
- </edit>
- </match>
- <!-- Infinality Appearance - Replace Various Fonts -->
- <match target="font" >
- <test name="replace_with_my_os_fonts" qual="any" >
- <bool>true</bool>
- </test>
- <test name="rendering_style" qual="any" >
- <string>Infinality</string>
- </test>
- <test name="family" qual="any" >
- <string>Helvetica Neue</string>
- </test>
- <edit mode="assign" name="family" >
- <string>Arial</string>
- </edit>
- </match>
- <match target="pattern" name="family">
- <test name="replace_with_my_os_fonts" qual="any" >
- <bool>true</bool>
- </test>
- <test name="rendering_style" qual="any" >
- <string>Infinality</string>
- </test>
- <test name="family" qual="any" >
- <string>Helvetica Neue</string>
- </test>
- <edit binding="strong" mode="prepend" name="family" >
- <string>Arial</string>
- </edit>
- </match>
- <match target="pattern" name="family" >
- <test name="replace_with_my_os_fonts" qual="any" >
- <bool>true</bool>
- </test>
- <test name="rendering_style" qual="any" >
- <string>Infinality</string>
- </test>
- <test name="family" qual="any" >
- <string>Palatino</string>
- </test>
- <edit binding="strong" mode="prepend" name="family" >
- <string>Palatino Linotype</string>
- </edit>
- </match>
- <match target="font" >
- <test name="replace_with_my_os_fonts" qual="any" >
- <bool>true</bool>
- </test>
- <test name="rendering_style" qual="any" >
- <string>Infinality</string>
- </test>
- <test name="family" qual="any" >
- <string>Palatino</string>
- </test>
- <edit mode="assign" name="family" >
- <string>Palatino Linotype</string>
- </edit>
- </match>
- <match target="pattern" name="family" >
- <test name="replace_with_my_os_fonts" qual="any" >
- <bool>true</bool>
- </test>
- <test name="rendering_style" qual="any" >
- <string>Infinality</string>
- </test>
- <test name="family" qual="any" >
- <string>Helvetica</string>
- </test>
- <edit binding="strong" mode="prepend" name="family" >
- <string>Arial</string>
- </edit>
- </match>
- <match target="font" >
- <test name="replace_with_my_os_fonts" qual="any" >
- <bool>true</bool>
- </test>
- <test name="rendering_style" qual="any" >
- <string>Infinality</string>
- </test>
- <test name="family" qual="any" >
- <string>Helvetica</string>
- </test>
- <edit mode="assign" name="family" >
- <string>Arial</string>
- </edit>
- </match>
- <match target="pattern" name="family" >
- <test name="replace_with_my_os_fonts" qual="any" >
- <bool>true</bool>
- </test>
- <test name="rendering_style" qual="any" >
- <string>Infinality</string>
- </test>
- <test name="family" qual="any" >
- <string>Lucida Sans</string>
- </test>
- <edit binding="strong" mode="prepend" name="family" >
- <string>Lucida Grande</string>
- </edit>
- </match>
- <match target="font" >
- <test name="replace_with_my_os_fonts" qual="any" >
- <bool>true</bool>
- </test>
- <test name="rendering_style" qual="any" >
- <string>Infinality</string>
- </test>
- <test name="family" qual="any" >
- <string>Lucida Sans</string>
- </test>
- <edit mode="assign" name="family" >
- <string>Lucida Grande</string>
- </edit>
- </match>
- <!-- Custom Appearance - Replace With Your Choices -->
- <!--<match target="font" >
- <test name="replace_with_my_os_fonts" qual="any" >
- <bool>true</bool>
- </test>
- <test name="rendering_style" qual="any" >
- <string>Custom</string>
- </test>
- <test name="family" qual="any" >
- <string>Nimbus Sans</string>
- <string>Nimbus Sans L</string>
- <string>Helvetica Neue</string>
- <string>Helvetica</string>
- <string>Liberation Sans</string>
- <string>Freesans</string>
- </test>
- <edit mode="assign" name="family" >
- <string>Arial</string>
- </edit>
- </match>
- <match target="pattern" name="family">
- <test name="replace_with_my_os_fonts" qual="any" >
- <bool>true</bool>
- </test>
- <test name="rendering_style" qual="any" >
- <string>Custom</string>
- </test>
- <test name="family" qual="any" >
- <string>Nimbus Sans</string>
- <string>Nimbus Sans L</string>
- <string>Helvetica Neue</string>
- <string>Helvetica</string>
- <string>Liberation Sans</string>
- <string>Freesans</string>
- </test>
- <edit binding="strong" mode="prepend" name="family" >
- <string>Arial</string>
- </edit>
- </match>
- <match target="font" >
- <test name="replace_with_my_os_fonts" qual="any" >
- <bool>true</bool>
- </test>
- <test name="rendering_style" qual="any" >
- <string>Custom</string>
- </test>
- <test name="family" qual="any" >
- <string>Bitstream Vera Sans</string>
- <string>DejaVu Sans</string>
- </test>
- <edit mode="assign" name="family" >
- <string>Verdana</string>
- </edit>
- </match>
- <match target="pattern" name="family">
- <test name="replace_with_my_os_fonts" qual="any" >
- <bool>true</bool>
- </test>
- <test name="rendering_style" qual="any" >
- <string>Custom</string>
- </test>
- <test name="family" qual="any" >
- <string>Bitstream Vera Sans</string>
- <string>DejaVu Sans</string>
- </test>
- <edit binding="strong" mode="prepend" name="family" >
- <string>Verdana</string>
- </edit>
- </match>
- <match target="font" >
- <test name="replace_with_my_os_fonts" qual="any" >
- <bool>true</bool>
- </test>
- <test name="rendering_style" qual="any" >
- <string>Custom</string>
- </test>
- <test name="family" qual="any" >
- <string>Courier</string>
- <string>FreeMono</string>
- <string>Nimbus Mono L</string>
- </test>
- <edit mode="assign" name="family" >
- <string>Courier New</string>
- </edit>
- </match>
- <match target="pattern" name="family">
- <test name="replace_with_my_os_fonts" qual="any" >
- <bool>true</bool>
- </test>
- <test name="rendering_style" qual="any" >
- <string>Custom</string>
- </test>
- <test name="family" qual="any" >
- <string>Courier</string>
- <string>FreeMono</string>
- <string>Nimbus Mono L</string>
- </test>
- <edit binding="strong" mode="prepend" name="family" >
- <string>Courier New</string>
- </edit>
- </match>
- <match target="font" >
- <test name="replace_with_my_os_fonts" qual="any" >
- <bool>true</bool>
- </test>
- <test name="rendering_style" qual="any" >
- <string>Custom</string>
- </test>
- <test name="family" qual="any" >
- <string>Times</string>
- <string>DejaVu Serif</string>
- <string>Nimbus Serif L</string>
- <string>Liberation Serif</string>
- </test>
- <edit mode="assign" name="family" >
- <string>Times New Roman</string>
- </edit>
- </match>
- <match target="pattern" name="family">
- <test name="replace_with_my_os_fonts" qual="any" >
- <bool>true</bool>
- </test>
- <test name="rendering_style" qual="any" >
- <string>Custom</string>
- </test>
- <test name="family" qual="any" >
- <string>Times</string>
- <string>DejaVu Serif</string>
- <string>Nimbus Serif L</string>
- <string>Liberation Serif</string>
- </test>
- <edit binding="strong" mode="prepend" name="family" >
- <string>Times New Roman</string>
- </edit>
- </match>
- <match target="pattern" name="family" >
- <test name="replace_with_my_os_fonts" qual="any" >
- <bool>true</bool>
- </test>
- <test name="rendering_style" qual="any" >
- <string>Custom</string>
- </test>
- <test name="family" qual="any" >
- <string>Palatino</string>
- </test>
- <edit binding="strong" mode="prepend" name="family" >
- <string>Palatino Linotype</string>
- </edit>
- </match>
- <match target="font" >
- <test name="replace_with_my_os_fonts" qual="any" >
- <bool>true</bool>
- </test>
- <test name="rendering_style" qual="any" >
- <string>Custom</string>
- </test>
- <test name="family" qual="any" >
- <string>Palatino</string>
- </test>
- <edit mode="assign" name="family" >
- <string>Palatino Linotype</string>
- </edit>
- </match>
- <match target="pattern" name="family" >
- <test name="replace_with_my_os_fonts" qual="any" >
- <bool>true</bool>
- </test>
- <test name="rendering_style" qual="any" >
- <string>Custom</string>
- </test>
- <test name="family" qual="any" >
- <string>Lucida Sans</string>
- <string>Lucida Grande</string>
- </test>
- <edit binding="strong" mode="prepend" name="family" >
- <string>Lucida Sans Unicode</string>
- </edit>
- </match>
- <match target="font" >
- <test name="replace_with_my_os_fonts" qual="any" >
- <bool>true</bool>
- </test>
- <test name="rendering_style" qual="any" >
- <string>Custom</string>
- </test>
- <test name="family" qual="any" >
- <string>Lucida Sans</string>
- <string>Lucida Grande</string>
- </test>
- <edit mode="assign" name="family" >
- <string>Lucida Sans Unicode</string>
- </edit>
- </match>-->
- <!-- Global Replacements - Active if set to true above -->
- <!-- Add your own replacements here -->
- <!-- Clone "match" blocks below for each replacement -->
- <match target="font" >
- <test name="enable_global_replacements" qual="any" >
- <bool>true</bool>
- </test>
- <test name="family" qual="any" >
- <string>FONT TO REPLACE 1</string>
- </test>
- <edit mode="assign" name="family" >
- <string>REPLACEMENT FONT 1</string>
- </edit>
- </match>
- <match target="pattern" name="family">
- <test name="enable_global_replacements" qual="any" >
- <bool>true</bool>
- </test>
- <test name="family" qual="any" >
- <string>FONT TO REPLACE 1</string>
- </test>
- <edit binding="strong" mode="prepend" name="family" >
- <string>REPLACEMENT FONT 1</string>
- </edit>
- </match>
- <match target="font" >
- <test name="enable_global_replacements" qual="any" >
- <bool>true</bool>
- </test>
- <test name="family" qual="any" >
- <string>FONT TO REPLACE 2</string>
- </test>
- <edit mode="assign" name="family" >
- <string>REPLACEMENT FONT 2</string>
- </edit>
- </match>
- <match target="pattern" name="family">
- <test name="enable_global_replacements" qual="any" >
- <bool>true</bool>
- </test>
- <test name="family" qual="any" >
- <string>FONT TO REPLACE 2</string>
- </test>
- <edit binding="strong" mode="prepend" name="family" >
- <string>REPLACEMENT FONT 2</string>
- </edit>
- </match>
- <!-- This replacement handles the fonts here, which I recommend
- in place of the default Terminus bitmap files:
- http://files.ax86.net/terminus-ttf/4.30/
- Note that Terminus will only look good at the pixel sizes that
- it was designed for!
- -->
- <match target="font" >
- <test name="family" qual="any" >
- <string>Terminus</string>
- </test>
- <edit mode="assign" name="family" >
- <string>Terminus (ttf)</string>
- </edit>
- </match>
- <match target="pattern" name="family">
- <test name="family" qual="any" >
- <string>Terminus</string>
- </test>
- <edit binding="strong" mode="prepend" name="family" >
- <string>Terminus (ttf)</string>
- </edit>
- </match>
- <!-- ****************************************************************** -->
- <!-- ******************** CORRECTIVE REPLACEMENTS ******************** -->
- <!-- ****************************************************************** -->
- <!-- Replace "Arial" with black weight, with font "Arial Black" -->
- <match target="pattern">
- <test name="family" compare="eq" target="default">
- <string>Arial</string>
- </test>
- <test compare="more" name="weight" >
- <const>bold</const>
- </test>
- <edit name="family" mode="prepend" binding="same">
- <string>Arial Black</string>
- </edit>
- <edit name="weight" mode="assign">
- <const>black</const>
- </edit>
- </match>
- <!-- Fix poorly specified font family names -->
- <match target="pattern" name="family">
- <test name="family" qual="any" >
- <string>Trebuchet</string>
- </test>
- <edit binding="strong" mode="prepend" name="family" >
- <string>Trebuchet MS</string>
- </edit>
- </match>
- <match target="font" >
- <test name="family" qual="any" >
- <string>Trebuchet</string>
- </test>
- <edit mode="assign" name="family" >
- <string>Trebuchet MS</string>
- </edit>
- </match>
- <!-- ****************************************************************** -->
- <!-- ******************* BASE RENDERING SETTINGSS ******************** -->
- <!-- ****************************************************************** -->
- <!-- These are the base settings for all rendered fonts.
- We modify them for specific fonts later. -->
- <match target="font" >
- <test name="rendering_style" qual="any" >
- <string>Infinality</string>
- </test>
- <edit mode="assign" name="rgba" >
- <const>rgb</const>
- </edit>
- <edit mode="assign" name="hinting" >
- <bool>true</bool>
- </edit>
- <edit mode="assign" name="autohint" >
- <bool>true</bool>
- </edit>
- <edit mode="assign" name="antialias" >
- <bool>true</bool>
- </edit>
- <edit mode="assign" name="hintstyle" >
- <const>hintslight</const>
- </edit>
- <edit name="lcdfilter" mode="assign">
- <const>lcddefault</const>
- </edit>
- </match>
- <match target="font" >
- <test name="rendering_style" qual="any">
- <string>Windows 7</string>
- </test>
- <edit mode="assign" name="rgba" >
- <const>rgb</const>
- </edit>
- <edit mode="assign" name="hinting" >
- <bool>true</bool>
- </edit>
- <edit mode="assign" name="autohint" >
- <bool>false</bool>
- </edit>
- <edit mode="assign" name="antialias" >
- <bool>true</bool>
- </edit>
- <edit mode="assign" name="hintstyle" >
- <const>hintfull</const>
- </edit>
- <edit name="lcdfilter" mode="assign">
- <const>lcddefault</const>
- </edit>
- </match>
- <match target="font" >
- <test name="rendering_style" qual="any">
- <string>Windows XP</string>
- </test>
- <edit mode="assign" name="rgba" >
- <const>rgb</const>
- </edit>
- <edit mode="assign" name="hinting" >
- <bool>true</bool>
- </edit>
- <edit mode="assign" name="autohint" >
- <bool>false</bool>
- </edit>
- <edit mode="assign" name="antialias" >
- <bool>true</bool>
- </edit>
- <edit mode="assign" name="hintstyle" >
- <const>hintfull</const>
- </edit>
- <edit name="lcdfilter" mode="assign">
- <const>lcddefault</const>
- </edit>
- </match>
- <match target="font" >
- <test name="rendering_style" qual="any">
- <string>Windows 98</string>
- </test>
- <edit mode="assign" name="rgba" >
- <const>rgb</const>
- </edit>
- <edit mode="assign" name="hinting" >
- <bool>true</bool>
- </edit>
- <edit mode="assign" name="autohint" >
- <bool>false</bool>
- </edit>
- <edit mode="assign" name="antialias" >
- <bool>false</bool>
- </edit>
- <edit mode="assign" name="hintstyle" >
- <const>hintfull</const>
- </edit>
- <edit name="lcdfilter" mode="assign">
- <const>lcddefault</const>
- </edit>
- </match>
- <match target="font" >
- <test name="rendering_style" qual="any">
- <string>OSX</string>
- </test>
- <edit mode="assign" name="rgba" >
- <const>rgb</const>
- </edit>
- <edit mode="assign" name="hinting" >
- <bool>true</bool>
- </edit>
- <edit mode="assign" name="autohint" >
- <bool>true</bool>
- </edit>
- <edit mode="assign" name="antialias" >
- <bool>true</bool>
- </edit>
- <edit mode="assign" name="hintstyle" >
- <const>hintslight</const>
- </edit>
- <edit name="lcdfilter" mode="assign">
- <const>lcddefault</const>
- </edit>
- </match>
- <match target="font" >
- <test name="rendering_style" qual="any">
- <string>OSX2</string>
- </test>
- <edit mode="assign" name="rgba" >
- <const>rgb</const>
- </edit>
- <edit mode="assign" name="hinting" >
- <bool>false</bool>
- </edit>
- <edit mode="assign" name="autohint" >
- <bool>false</bool>
- </edit>
- <edit mode="assign" name="antialias" >
- <bool>true</bool>
- </edit>
- <edit mode="assign" name="hintstyle" >
- <const>hintnone</const>
- </edit>
- <edit name="lcdfilter" mode="assign">
- <const>lcddefault</const>
- </edit>
- </match>
- <match target="font" >
- <test name="rendering_style" qual="any">
- <string>Linux</string>
- </test>
- <edit mode="assign" name="rgba" >
- <const>rgb</const>
- </edit>
- <edit mode="assign" name="hinting" >
- <bool>true</bool>
- </edit>
- <edit mode="assign" name="autohint" >
- <bool>true</bool>
- </edit>
- <edit mode="assign" name="antialias" >
- <bool>true</bool>
- </edit>
- <edit mode="assign" name="hintstyle" >
- <const>hintslight</const>
- </edit>
- <edit name="lcdfilter" mode="assign">
- <const>lcddefault</const>
- </edit>
- </match>
- <!-- CUSTOM -->
- <!--
- <match target="font" >
- <test name="rendering_style" qual="any">
- <string>Custom</string>
- </test>
- <edit mode="assign" name="rgba" >
- <const>rgb</const>
- </edit>
- <edit mode="assign" name="hinting" >
- <bool>true</bool>
- </edit>
- <edit mode="assign" name="autohint" >
- <bool>true</bool>
- </edit>
- <edit mode="assign" name="antialias" >
- <bool>true</bool>
- </edit>
- <edit mode="assign" name="hintstyle" >
- <const>hintslight</const>
- </edit>
- <edit name="lcdfilter" mode="assign">
- <const>lcddefault</const>
- </edit>
- </match> -->
- <!-- ****************************************************************** -->
- <!-- ************************* FONT GROUPS **************************** -->
- <!-- ****************************************************************** -->
- <!-- Full Subpixel BCI for these fonts. (Cleartype-like, circa Windows XP/Vista/7) -->
- <!-- These will take advantage of subpixel hinting if infinality patch installed. -->
- <!-- This should only be used by fonts that contain good TrueType instructions -->
- <match target="font" >
- <test name="force_autohint" qual="any" >
- <bool>false</bool>
- </test>
- <test name="family" qual="any" >
- <string>Arimo</string>
- <string>Cousine</string>
- <string>Tinos</string>
- <string>Ubuntu</string>
- <string>Andale Mono</string>
- <string>Andalus</string>
- <string>Angsana New</string>
- <string>AngsanaUPC</string>
- <string>Aquabase</string>
- <string>Arial Black</string>
- <string>Arial MT</string>
- <string>Arial Narrow</string>
- <string>Arial SF MT</string>
- <string>Arial Unicode MS</string>
- <string>Arial</string>
- <string>ArialMT</string>
- <string>Bitstream Vera Sans Mono</string>
- <string>Bitstream Vera Sans</string>
- <string>Bitstream Vera Serif</string>
- <string>Book Antiqua</string>
- <string>Bookman Old Style</string>
- <string>Browallia New</string>
- <string>BrowalliaUPC</string>
- <string>Calibri</string>
- <string>Cambria</string>
- <string>Candara</string>
- <string>Century Gothic</string>
- <string>Chalkduster</string>
- <string>Charcoal CY</string>
- <string>Charcoal</string>
- <string>Charis SIL</string>
- <string>Chicago</string>
- <string>Comic Sans MS</string>
- <string>Consolas</string>
- <string>Constantia</string>
- <string>Copperplate</string>
- <string>Corbel</string>
- <string>Cordia New</string>
- <string>CordiaUPC</string>
- <string>Courier 10 Pitch</string>
- <string>Courier New</string>
- <string>Courier</string>
- <string>Dark Courier</string>
- <string>DejaVu LGC Sans Mono</string>
- <string>DejaVu Sans Mono</string>
- <string>DejaVu Sans</string>
- <string>DejaVu Serif</string>
- <string>Estrangelo Edessa</string>
- <string>Euphemia</string>
- <string>FrankRuehl</string>
- <string>Franklin Gothic Medium</string>
- <string>Futura</string>
- <string>Georgia</string>
- <string>Gotham Book</string>
- <string>Gotham Light</string>
- <string>Gotham Medium</string>
- <string>Guatami</string>
- <string>Impact</string>
- <string>Latha</string>
- <string>Levinim MT</string>
- <string>Liberation Mono</string>
- <string>Liberation Sans</string>
- <string>Liberation Serif</string>
- <string>Lucida Console</string>
- <string>Lucida Grande</string>
- <string>Lucida Sans Unicode</string>
- <string>Luxi Mono</string>
- <string>Malgun Gothic</string>
- <string>Microsoft Himalaya</string>
- <string>Microsoft JhengHei</string>
- <string>Microsoft Sans Serif</string>
- <string>Microsoft Uighur</string>
- <string>Microsoft YaHei</string>
- <string>Microsoft Yi Baiti</string>
- <string>Miriam Fixed</string>
- <string>Molengo</string>
- <string>Monaco</string>
- <string>Mongolian Baiti</string>
- <string>MoolBoran</string>
- <string>Narkisim</string>
- <string>Nina</string>
- <string>Nyala</string>
- <string>Padauk</string>
- <string>Palatino Linotype</string>
- <string>Plantagenet Cherokee</string>
- <string>Raavi</string>
- <string>Segoe UI</string>
- <string>Segoe UI Semibold</string>
- <string>TITUS Cyberbit Basic</string>
- <string>Tahoma</string>
- <string>Times New Roman</string>
- <string>Traditional Arabic</string>
- <string>Trebuchet MS</string>
- <string>Tunga</string>
- <string>Verdana</string>
- <string>Vrinda</string>
- <string>Yanone Kaffeesatz</string>
- </test>
- <edit mode="assign" name="font_type" target="font">
- <string>TT Instructed Font</string>
- </edit>
- </match>
- <match target="font" >
- <test name="font_type" qual="any" >
- <string>TT Instructed Font</string>
- </test>
- <test name="rendering_style" qual="any" >
- <string>Infinality</string>
- <string>Windows 7</string>
- <string>Windows XP</string>
- </test>
- <edit mode="assign" name="antialias" >
- <bool>true</bool>
- </edit>
- <edit mode="assign" name="hintstyle" >
- <const>hintfull</const>
- </edit>
- <edit mode="assign" name="autohint" >
- <bool>false</bool>
- </edit>
- </match>
- <match target="font" >
- <test name="font_type" qual="any" >
- <string>TT Instructed Font</string>
- </test>
- <test name="rendering_style" qual="any" >
- <string>Windows 98</string>
- </test>
- <edit mode="assign" name="antialias" >
- <bool>false</bool>
- </edit>
- <edit mode="assign" name="hintstyle" >
- <const>hintfull</const>
- </edit>
- <edit mode="assign" name="autohint" >
- <bool>false</bool>
- </edit>
- </match>
- <match target="font" >
- <test name="font_type" qual="any" >
- <string>TT Instructed Font</string>
- </test>
- <test name="rendering_style" qual="any" >
- <string>OSX</string>
- </test>
- <edit mode="assign" name="antialias" >
- <bool>true</bool>
- </edit>
- <edit mode="assign" name="hintstyle" >
- <const>hintslight</const>
- </edit>
- <edit mode="assign" name="autohint" >
- <bool>true</bool>
- </edit>
- </match>
- <match target="font" >
- <test name="font_type" qual="any" >
- <string>TT Instructed Font</string>
- </test>
- <test name="rendering_style" qual="any" >
- <string>OSX2</string>
- </test>
- <edit mode="assign" name="antialias" >
- <bool>true</bool>
- </edit>
- <edit mode="assign" name="hintstyle" >
- <const>hintnone</const>
- </edit>
- <edit mode="assign" name="autohint" >
- <bool>true</bool>
- </edit>
- </match>
- <match target="font" >
- <test name="font_type" qual="any" >
- <string>TT Instructed Font</string>
- </test>
- <test name="rendering_style" qual="any" >
- <string>Linux</string>
- </test>
- <edit mode="assign" name="antialias" >
- <bool>true</bool>
- </edit>
- <edit mode="assign" name="hintstyle" >
- <const>hintslight</const>
- </edit>
- <edit mode="assign" name="autohint" >
- <bool>true</bool>
- </edit>
- </match>
- <!-- Custom -->
- <!--<match target="font" >
- <test name="font_type" qual="any" >
- <string>TT Instructed Font</string>
- </test>
- <test name="rendering_style" qual="any" >
- <string>Custom</string>
- </test>
- <edit mode="assign" name="antialias" >
- <bool>true</bool>
- </edit>
- <edit mode="assign" name="hintstyle" >
- <const>hintnone</const>
- </edit>
- <edit mode="assign" name="autohint" >
- <bool>true</bool>
- </edit>
- </match>-->
- <!-- Make these fonts use autohint slight hinting -->
- <!-- Makes only horizontal stems align to pixels. Truer to glyph -->
- <match target="font" >
- <test name="family" qual="any" >
- <string>AR PL ShanHeiSun Uni</string>
- <string>American Typewriter</string>
- <string>Apple Chancery</string>
- <string>Apple Garamond Light</string>
- <string>Apple Garamond</string>
- <string>AppleGothic</string>
- <string>Apple Symbols</string>
- <string>Arabic Typesetting</string>
- <string>Baekmuk Gulim</string>
- <string>Baskerville</string>
- <string>Big Caslon</string>
- <string>Bitstream Charter</string>
- <string>BrushScript</string>
- <string>Cantarell</string>
- <string>CantarellRegular</string>
- <string>Cantarell Regular</string>
- <string>Cardo</string>
- <string>Century Schoolbook L</string>
- <string>Century</string>
- <string>Charis SIL</string>
- <string>Chalkboard</string>
- <string>CMU Bright</string>
- <string>Cochin</string>
- <string>Comfortaa</string>
- <string>Comfortaa Regular</string>
- <string>ComfortaaRegular</string>
- <string>Courier Std</string>
- <string>Courier10 BT</string>
- <string>Crimson Text</string>
- <string>David</string>
- <string>Delicious</string>
- <string>Didot</string>
- <string>DilenniaUPC</string>
- <string>District</string>
- <string>DokChampa</string>
- <string>Droid Sans Mono</string>
- <string>Droid Sans</string>
- <string>Droid Serif</string>
- <string>Dutch801 Rm BT</string>
- <string>EucrosiaUPC</string>
- <string>FreeMono</string>
- <string>FreeSans</string>
- <string>FreeSerif</string>
- <string>FreesiaUPC</string>
- <string>Frutiger LT Std</string>
- <string>Frutiger Linotype</string>
- <string>Frutiger-Normal</string>
- <string>Garamond</string>
- <string>Gautami</string>
- <string>Geneva CY</string>
- <string>Geneva Regular</string>
- <string>Geneva</string>
- <string>Gentium</string>
- <string>Gill Sans</string>
- <string>Hard Gothic</string>
- <string>Helvetica</string>
- <string>Helvetica CY</string>
- <string>Helvetica Neue</string>
- <string>Herculanum</string>
- <string>Hoefler Text</string>
- <string>IM Fell</string>
- <string>Inconsolata</string>
- <string>IrisUPC</string>
- <string>JasmineUPC</string>
- <string>Jomolhari</string>
- <string>Josefin Sans Std Light</string>
- <string>Kai</string>
- <string>Kalinga</string>
- <string>KodchiangUPC</string>
- <string>Laconic</string>
- <string>Lacuna</string>
- <string>Levenim MT</string>
- <string>LilyUPC</string>
- <string>LilyUPC</string>
- <string>Linux Biolinum</string>
- <string>Linux Libertine</string>
- <string>Lobster</string>
- <string>Lohit Bengali</string>
- <string>Lohit Gujarati</string>
- <string>Lohit Hindi</string>
- <string>Lohit Hindi</string>
- <string>Lohit Kannada</string>
- <string>Lohit Malayalam</string>
- <string>Lohit Oriya</string>
- <string>Lohit Punjabi</string>
- <string>Lohit Tamil</string>
- <string>Lohit Telugu</string>
- <string>Lucida Sans Std</string>
- <string>Luxi Sans</string>
- <string>Luxi Serif</string>
- <string>M+ 2p</string>
- <string>Marker Felt</string>
- <string>Megalopolis</string>
- <string>MetaMedium-Roman</string>
- <string>Metabook-Roman</string>
- <string>MgOpen Canonica</string>
- <string>MgOpen Cosmetica</string>
- <string>MgOpen Modata</string>
- <string>MgOpen Moderna</string>
- <string>Myriad Pro</string>
- <string>Miriam</string>
- <string>MS Mincho</string>
- <string>MyriadRegular</string>
- <string>Neuton</string>
- <string>Nimbus Roman No9 L</string>
- <string>Nimbus Mono L</string>
- <string>Nimbus Sans</string>
- <string>Nimbus Sans L</string>
- <string>Nobile</string>
- <string>Nobile002</string>
- <string>Nobile-bold</string>
- <string>Nobile-italic002</string>
- <string>Nobile-bold-italic002</string>
- <string>OFL Sorts Mill Goudy TT</string>
- <string>Ocean Sans Std</string>
- <string>Old Standard TT</string>
- <string>Optima</string>
- <string>OTS derived font</string>
- <string>OTS derivied font</string> <!-- bug in chrome code? -->
- <string>Palladio</string>
- <string>Papyrus</string>
- <string>PrimaSans BT</string>
- <string>proxima-nova-1</string>
- <string>proxima-nova-2</string>
- <string>proxima nova</string>
- <string>proxima nova bold</string>
- <string>proxima nova regular</string>
- <string>Reenie Beanie</string>
- <string>SimHei</string>
- <string>Skia</string>
- <string>Swansea</string>
- <string>Swiss721</string>
- <string>Sylfaen</string>
- <string>Tangerine</string>
- <string>Times LT Std</string>
- <string>Times New Roman MT Std</string>
- <string>Times Roman</string>
- <string>Times Ten LT Std</string>
- <string>Univers LT Std</string>
- <string>URWClassico</string>
- <string>Utopia</string>
- <string>Verdimka</string>
- <string>Vollkorn</string>
- <string>Yanone Kaffeesatz</string>
- <string>Zapfino</string>
- <string>cmbx10</string>
- <string>cmex10</string>
- <string>cmmi10</string>
- <string>cmr10</string>
- <string>cmsy10</string>
- <string>cmtt10</string>
- <string>eufm10</string>
- <string>msam10</string>
- <string>msbm10</string>
- <string>wasy10</string>
- <string>Eurostile LT Std</string>
- </test>
- <edit mode="assign" name="font_type" target="font">
- <string>NON TT Instructed Font</string>
- </edit>
- </match>
- <match target="font" >
- <test name="rendering_style" qual="any" >
- <string>Infinality</string>
- <string>Windows 7</string>
- <string>Windows XP</string>
- <string>Linux</string>
- </test>
- <test name="font_type" target="font">
- <string>NON TT Instructed Font</string>
- </test>
- <edit mode="assign" name="autohint" >
- <bool>true</bool>
- </edit>
- <edit mode="assign" name="hintstyle" >
- <const>hintslight</const>
- </edit>
- <edit mode="assign" name="hinting" >
- <bool>true</bool>
- </edit>
- <edit mode="assign" name="antialias" >
- <bool>true</bool>
- </edit>
- </match>
- <!-- For Windows 98 do "smooth edges" for these non-BCI fonts -->
- <match target="font" >
- <test name="rendering_style" qual="any" >
- <string>Windows 98</string>
- </test>
- <test name="font_type" target="font">
- <string>NON TT Instructed Font</string>
- </test>
- <edit mode="assign" name="rgba" >
- <const>none</const>
- </edit>
- <edit mode="assign" name="hinting" >
- <bool>true</bool>
- </edit>
- <edit mode="assign" name="autohint" >
- <bool>true</bool>
- </edit>
- <edit mode="assign" name="antialias" >
- <bool>true</bool>
- </edit>
- </match>
- <!-- Custom -->
- <!--<match target="font" >
- <test name="rendering_style" qual="any" >
- <string>Infinality</string>
- <string>Windows 7</string>
- <string>Windows XP</string>
- <string>Linux</string>
- </test>
- <test name="font_type" target="font">
- <string>NON TT Instructed Font</string>
- </test>
- <edit mode="assign" name="autohint" >
- <bool>true</bool>
- </edit>
- <edit mode="assign" name="hintstyle" >
- <const>hintslight</const>
- </edit>
- <edit mode="assign" name="hinting" >
- <bool>true</bool>
- </edit>
- <edit mode="assign" name="antialias" >
- <bool>true</bool>
- </edit>
- </match> -->
- <!-- For Windows 98 do "smooth edges" for Bold Fonts over 14 px -->
- <match target="font" >
- <test name="rendering_style" qual="any" >
- <string>Windows 98</string>
- </test>
- <test name="weight" compare="more">
- <const>medium</const>
- </test>
- <test compare="more_eq" name="pixelsize" qual="any" >
- <double>14</double>
- </test>
- <edit mode="assign" name="rgba" >
- <const>none</const>
- </edit>
- <edit mode="assign" name="hinting" >
- <bool>true</bool>
- </edit>
- <edit mode="assign" name="autohint" >
- <bool>false</bool>
- </edit>
- <edit mode="assign" name="antialias" >
- <bool>true</bool>
- </edit>
- </match>
- <!-- For Windows 98 do "smooth edges" for fonts above 17 px -->
- <match target="font" >
- <test name="rendering_style" qual="any" >
- <string>Windows 98</string>
- </test>
- <test compare="more_eq" name="pixelsize" qual="any" >
- <double>18</double>
- </test>
- <edit mode="assign" name="rgba" >
- <const>none</const>
- </edit>
- <edit mode="assign" name="hinting" >
- <bool>true</bool>
- </edit>
- <edit mode="assign" name="autohint" >
- <bool>false</bool>
- </edit>
- <edit mode="assign" name="antialias" >
- <bool>true</bool>
- </edit>
- </match>
- <!-- Replace "Lucida Grande 9px bold with Lucida Sans Unicode -->
- <match target="pattern">
- <test name="rendering_style" qual="any" >
- <string>Infinality</string>
- </test>
- <test name="family" compare="eq" target="default">
- <string>Lucida Grande</string>
- </test>
- <test compare="more_eq" name="pixelsize" qual="any" >
- <double>9.5</double>
- </test>
- <test compare="less" name="pixelsize" qual="any" >
- <double>10.5</double>
- </test>
- <edit name="family" mode="prepend" binding="same">
- <string>Lucida Sans Unicode</string>
- </edit>
- </match>
- <!-- OVERRIDE ABOVE SETTINGS -->
- <!-- Monochrome BCI for these fonts (circa Windows 98) -->
- <!-- This will make them look like bitmap fonts. Good for monospace -->
- <!-- This should only be used by fonts that contain TrueType instructions -->
- <match target="font" >
- <test name="family" qual="any" >
- <string>FONT NAME HERE</string>
- <!--<string>Courier New</string>
- <string>Andale Mono</string>
- <string>Monaco</string>
- <string>Lucida Console</string>
- <string>Liberation Mono</string>
- <string>DejaVu Sans Mono</string>-->
- </test>
- <edit mode="assign" name="hinting" >
- <bool>true</bool>
- </edit>
- <edit mode="assign" name="autohint" >
- <bool>false</bool>
- </edit>
- <edit mode="assign" name="antialias" >
- <bool>false</bool>
- </edit>
- <edit mode="assign" name="hintstyle" >
- <const>hintfull</const>
- </edit>
- </match>
- <!-- OVERRIDE ABOVE SETTINGS -->
- <!-- Make these fonts use no antialiasing or hinting (circa DOS / X11) -->
- <!--<match target="font" >
- <test name="family" qual="any" >
- <string>ProFontWindows</string>
- <string>Terminus</string>
- <string>Terminus (ttf)</string>
- </test>
- <edit mode="assign" name="hintstyle" >
- <const>hintnone</const>
- </edit>
- <edit mode="assign" name="antialias" >
- <bool>false</bool>
- </edit>
- <edit mode="assign" name="hinting" >
- <bool>false</bool>
- </edit>
- <edit name="prefer_bitmap">
- <bool>true</bool>
- </edit>
- </match> -->
- <!-- OVERRIDE ABOVE SETTINGS -->
- <!-- Full autohint -->
- <!-- Makes vertical/horizontal stems align to pixels, but is not true to the glyphs -->
- <!-- Some glyphs may look forced into place, however they are very sharp -->
- <!--<match target="font" >
- <test name="family" qual="any" >
- <string>FONT NAME HERE</string>
- </test>
- <edit mode="assign" name="hinting" >
- <bool>true</bool>
- </edit>
- <edit mode="assign" name="autohint" >
- <bool>true</bool>
- </edit>
- <edit mode="assign" name="antialias" >
- <bool>true</bool>
- </edit>
- <edit mode="assign" name="hintstyle" >
- <const>hintfull</const>
- </edit>
- </match>-->
- <!-- OVERRIDE ABOVE SETTINGS -->
- <!-- Light autohint on italics -->
- <!-- Use for anything that is full auto or TT hinted above -->
- <!--<match target="font" >
- <test name="family" qual="any" >
- <string>FONT NAME HERE</string>
- </test>
- <test target="pattern" compare="not_eq" name="slant" >
- <const>roman</const>
- </test>
- <edit mode="assign" name="hinting" >
- <bool>true</bool>
- </edit>
- <edit mode="assign" name="autohint" >
- <bool>true</bool>
- </edit>
- <edit mode="assign" name="antialias" >
- <bool>true</bool>
- </edit>
- <edit mode="assign" name="hintstyle" >
- <const>hintslight</const>
- </edit>
- </match>-->
- <!-- ****************************************************************** -->
- <!-- ***************** FORCED ARTIFICIAL ITALIC / BOLD **************** -->
- <!-- ****************************************************************** -->
- <!-- "Unforced" artificial/italic already included in /etc/fonts/conf.d/ rules -->
- <!-- Force artificial italic instead of the font's default italic -->
- <!-- In rare cases this is more visually appealing -->
- <!-- Set the flag -->
- <!-- !!!! Somehow this breaks Qt unfortunately !!!! -->
- <match target="pattern">
- <test target="font" compare="eq" name="family" qual="any" >
- <string>FONT NAME HERE</string>
- </test>
- <!-- match requests for non-roman face -->
- <test name="slant" compare="not_eq" >
- <const>roman</const>
- </test>
- <!-- remember that this should be slanted -->
- <edit name="fake_slant">
- <bool>true</bool>
- </edit>
- <!--- change to match a roman face instead -->
- <edit name="slant">
- <const>roman</const>
- </edit>
- </match>
- <!-- Force flagged fonts to have artificial oblique -->
- <match target="font" >
- <!-- check to see if the font is roman -->
- <test name="slant" >
- <const>roman</const>
- </test>
- <!-- look for fonts which were marked for fake obliquing -->
- <test name="fake_slant">
- <bool>true</bool>
- </test>
- <!-- multiply the matrix to slant the font -->
- <edit mode="assign" name="matrix" >
- <times>
- <name>matrix</name>
- <matrix>
- <double>1.0</double>
- <double>0.2</double>
- <double>0</double>
- <double>1</double>
- </matrix>
- </times>
- </edit>
- <!-- pretend the font is oblique now -->
- <edit mode="assign" name="slant" >
- <const>oblique</const>
- </edit>
- </match>
- <!-- Force fake bold instead of the font's default bold -->
- <!-- In rare cases this is more visually appealing -->
- <!-- !!!! Somehow this breaks Qt unfortunately !!!! -->
- <!-- Set the flag -->
- <match target="pattern">
- <test target="font" compare="eq" name="family" qual="any" >
- <string>FONT NAME HERE</string>
- </test>
- <!-- match requests for bold face -->
- <test name="weight" compare="more">
- <const>medium</const>
- </test>
- <!-- remember that this should be bolded -->
- <edit name="fake_bold">
- <bool>true</bool>
- </edit>
- <!--- change to match a medium weight instead -->
- <edit name="weight">
- <const>medium</const>
- </edit>
- </match>
- <!-- Force flagged fonts to have artificial bold -->
- <match target="font" >
- <!-- look for fonts which were marked for fake bolding -->
- <test name="fake_bold">
- <bool>true</bool>
- </test>
- <!-- Set the embolden flag -->
- <edit name="embolden" mode="assign">
- <bool>true</bool>
- </edit>
- <!-- pretend the font is bold now -->
- <edit mode="assign" name="weight" >
- <const>bold</const>
- </edit>
- </match>
- <!-- Prevent BCI fonts in Win98 mode from getting artificial italic -->
- <match target="font">
- <test name="rendering_style" qual="any" >
- <string>Windows 98</string>
- </test>
- <test name="font_type" target="font">
- <string>TT Instructed Font</string>
- </test>
- <!-- check to see if the font is roman -->
- <test name="slant" >
- <const>roman</const>
- </test>
- <!-- match requests for non-roman face -->
- <test target="pattern" name="slant" compare="not_eq">
- <const>roman</const>
- </test>
- <!-- pretend the font is oblique now -->
- <edit mode="assign" name="slant" >
- <const>oblique</const>
- </edit>
- </match>
- <!-- Prevent BCI fonts in Win98 mode from getting artificial emboldened -->
- <match target="font">
- <test name="rendering_style" qual="any" >
- <string>Windows 98</string>
- </test>
- <test name="font_type" target="font">
- <string>TT Instructed Font</string>
- </test>
- <!-- check to see if the font is just regular -->
- <test name="weight" compare="less_eq">
- <const>medium</const>
- </test>
- <!-- check to see if the pattern requests bold -->
- <test target="pattern" name="weight" compare="more">
- <const>medium</const>
- </test>
- <!-- pretend it's bold now -->
- <edit name="weight" mode="assign">
- <const>bold</const>
- </edit>
- </match>
- <!-- Prevent bold-ish fonts from being emboldened -->
- <match target="font">
- <!-- check to see if the font is just regular -->
- <test name="weight" compare="more_eq">
- <const>semibold</const>
- </test>
- <!-- check to see if the pattern requests bold -->
- <test target="pattern" name="weight" compare="eq">
- <const>bold</const>
- </test>
- <!-- pretend it's bold now -->
- <edit name="weight" mode="assign">
- <const>bold</const>
- </edit>
- </match>
- <!-- Prevent thin-ish fonts from being emboldened -->
- <match target="font">
- <!-- check to see if the font is just regular -->
- <test name="weight" compare="less">
- <const>book</const>
- </test>
- <!-- check to see if the pattern requests bold -->
- <test target="pattern" name="weight" compare="eq">
- <const>bold</const>
- </test>
- <!-- pretend it's bold now -->
- <edit name="weight" mode="assign">
- <const>bold</const>
- </edit>
- </match>
- <!-- ****************************************************************** -->
- <!-- ************************ FINAL SETTINGS ************************** -->
- <!-- ****************************************************************** -->
- <!-- Use matrix settings to transform a font -->
- <!-- Slightly stretch a font -->
- <!-- Does not work with Google Chrome, but does in Firefox
- <match target="font">
- <test name="rendering_style" qual="any" >
- <string>Infinality</string>
- <string>Windows 7</string>
- <string>Windows XP</string>
- </test>
- <test name="family" qual="any" >
- <string>Some font</string>
- </test>
- <test compare="less" name="weight" >
- <const>bold</const>
- </test>
- <test compare="more_eq" name="pixelsize" qual="any" >
- <double>9.5</double>
- </test>
- <test compare="less" name="pixelsize" qual="any" >
- <double>10.5</double>
- </test>
- <edit mode="assign" name="matrix" >
- <times>
- <name>matrix</name>
- <matrix>
- <double>1.1</double>
- <double>0.0</double>
- <double>0.0</double>
- <double>1.0</double>
- </matrix>
- </times>
- </edit>
- </match> -->
- <!-- All fonts should use slight hinting below 8.5 px -->
- <match target="font" >
- <test name="rendering_style" qual="any" >
- <string>Infinality</string>
- <string>Windows 7</string>
- <string>Windows XP</string>
- </test>
- <test compare="less" name="pixelsize" qual="any" >
- <double>8.5</double>
- </test>
- <edit mode="assign" name="hintstyle" >
- <const>hintslight</const>
- </edit>
- <edit mode="assign" name="autohint" >
- <bool>true</bool>
- </edit>
- </match>
- <!-- These full hinted fonts should use slight hinting below 12 px -->
- <match target="font" >
- <test name="family" qual="any" >
- <string>Arial Black</string>
- </test>
- <test name="rendering_style" qual="any" >
- <string>Infinality</string>
- <string>Windows 7</string>
- <string>Windows XP</string>
- <string>Windows 98</string>
- <string>Linux</string>
- </test>
- <test compare="less" name="pixelsize" qual="any" >
- <double>11.5</double>
- </test>
- <edit mode="assign" name="hintstyle" >
- <const>hintslight</const>
- </edit>
- <edit mode="assign" name="autohint" >
- <bool>true</bool>
- </edit>
- </match>
- <!-- These full hinted fonts should use slight hinting below 14 px -->
- <match target="font" >
- <test name="family" qual="any" >
- <string>Aquabase</string>
- <string>Browallia New</string>
- <string>BrowalliaUPC</string>
- </test>
- <test name="rendering_style" qual="any" >
- <string>Infinality</string>
- <string>Windows 7</string>
- <string>Windows XP</string>
- <string>Windows 98</string>
- <string>Linux</string>
- </test>
- <test compare="less" name="pixelsize" qual="any" >
- <double>13.5</double>
- </test>
- <edit mode="assign" name="hintstyle" >
- <const>hintslight</const>
- </edit>
- <edit mode="assign" name="autohint" >
- <bool>true</bool>
- </edit>
- </match>
- <!-- Italic Courier looks bad with BCI hinting -->
- <match target="font" >
- <test name="family" qual="any" >
- <string>Courier</string>
- </test>
- <test name="rendering_style" qual="any" >
- <string>Infinality</string>
- <string>Windows 7</string>
- <string>Windows XP</string>
- <string>Windows 98</string>
- <string>Linux</string>
- </test>
- <!-- match requests for non-roman face -->
- <test name="slant" compare="not_eq" >
- <const>roman</const>
- </test>
- <edit mode="assign" name="hintstyle" >
- <const>hintslight</const>
- </edit>
- <edit mode="assign" name="autohint" >
- <bool>true</bool>
- </edit>
- </match>
- <!-- Rescan configuration every 10 seconds when FcFontSetList is called -->
- <rescan>
- <int>10</int>
- </rescan>
- <!-- ****************************************************************** -->
- <!-- ************************** DEBUGGING ***************************** -->
- <!-- ****************************************************************** -->
- <!-- Global Override for Debugging -->
- <!--
- <match target="font" >
- <edit mode="assign" name="rgba" >
- <const>rgb</const>
- </edit>
- <edit mode="assign" name="hinting" >
- <bool>true</bool>
- </edit>
- <edit mode="assign" name="autohint" >
- <bool>false</bool>
- </edit>
- <edit mode="assign" name="antialias" >
- <bool>true</bool>
- </edit>
- <edit mode="assign" name="hintstyle" >
- <const>hintfull</const>
- </edit>
- <edit name="lcdfilter" mode="assign">
- <const>lcddefault</const>
- </edit>
- </match>
- -->
- </fontconfig>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement