Advertisement
Guest User

local.conf

a guest
Nov 22nd, 2011
43
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 92.05 KB | None | 0 0
  1. <?xml version='1.0'?>
  2. <!DOCTYPE fontconfig SYSTEM 'fonts.dtd'>
  3. <fontconfig>
  4.  
  5. <!--
  6.  
  7. /********************************************************************
  8. README
  9. /********************************************************************
  10.  
  11. This /etc/fonts/local.conf file is intended to be used
  12. in conjunction with the freetype-infinality subpixel hinting patch at
  13. http://www.infinality.net/
  14.  
  15. - Windows, OSX, Google, and Linux fonts are included in the rules
  16. along with other misc popular or useful fonts found on the web.
  17. - Feel free to propose additions and changes to this file at:
  18. http://www.infinality.net/forum/
  19. -->
  20.  
  21. <!--
  22.  
  23. /********************************************************************
  24. Changes for 2011-11-20
  25. /********************************************************************
  26.  
  27. Remove the Canwell replacement.
  28.  
  29.  
  30. /********************************************************************
  31. Changes for 2011-11-17
  32. /********************************************************************
  33.  
  34. Added these to TT list:
  35. Arimo
  36. Cousine
  37. Tinos
  38. Ubuntu
  39.  
  40. Added variables near the top that allow you to adjust settings and replacements very easily (see below)
  41. Finished out the OS styles named "OSX" (formerly Apple) and "Linux".
  42. Added settings to either enable or disable your own global replacements
  43. Added settings to enable or disable bitmap fonts (this still has issues- please help)
  44. Added config option to force replacements of similar fontsets
  45. Removed matrix settings for Verdana / Dejavu Sans. Now built into Infinality patch
  46. Helvetica Neue and Courier New are not replaced on OS styles besides "Infinality".
  47. Don't create an artificial bold face for really light or thick fonts.
  48. NOTE: Assistance with replacments and default fonts for various OS styles is welcomed!
  49.  
  50.  
  51. /********************************************************************
  52. Changes for 2010-11-14
  53. /********************************************************************
  54.  
  55. Added configuration for different rendering styles. These can be enabled by
  56. uncommenting the style you want. For instance, if you want your system
  57. to look like Windows 98, uncomment that style, and make sure others
  58. are commented out. Obviously you'd want to have appropriate fonts
  59. installed for that rendering style. Aliases for different OS
  60. fontsets will be added eventually. The old default style is now
  61. considered "Infinality" style. Not all styles that are defined are
  62. filled in yet- but "Apple" and anything above it are.
  63.  
  64. Due to the above, in combination with the prevalence of @font-face on
  65. the web, I've made "Infinality" style rendering use autohint by
  66. default, and only call out fonts that specifically should use TT
  67. hinting. The patched autohint will render more fonts, better, than
  68. TT native hinting will.
  69.  
  70.  
  71. /********************************************************************
  72. Changes for 2010-10-22
  73. /********************************************************************
  74.  
  75. Promoted Century Gothic, Arial Black and Calibri to Full TT subpixel hinting
  76. Added Google fonts
  77. Added Nimbus fonts
  78. Added more Apple fonts
  79. Replace Courier New with Apple's Courier - MUCH nicer result
  80. Better comments to help new users understand what everything means
  81. Reorganization of some rules
  82. General Cleanup
  83. Removed code for artificial oblique, as most distros have this in
  84. /etc/fonts/conf.d/
  85. Added nonlatin font alias preferences that favor MS fonts, which have the
  86. best hinting AFAICT. If you have all Windows Vista/7 fonts installed,
  87. www.wikipedia.org should look pretty nice.
  88.  
  89. /********************************************************************
  90. Changes for 2010-10-03
  91. /********************************************************************
  92.  
  93. Promoted Geneva, Geneva CY to Full TT subpixel hinting.
  94. Added an alias for "Trebuchet" to point to "Trebuchet MS"
  95. Minor comment updates
  96.  
  97. -->
  98.  
  99.  
  100.  
  101.  
  102.  
  103. <!-- ================================================================================================= -->
  104. <!-- ============================== BEGIN USER CONFIGURABLE VARIABLES =============================== -->
  105. <!-- ================================================================================================= -->
  106.  
  107. <!-- Force autohint always -->
  108. <!-- Useful for debugging and for free software purists -->
  109. <match target="pattern">
  110. <edit name="force_autohint" target="pattern">
  111. <bool>false</bool>
  112. </edit>
  113. <edit name="force_autohint" target="font">
  114. <bool>false</bool>
  115. </edit>
  116. </match>
  117.  
  118. <!-- Set these to true to allow bitmap fonts. False to disable -->
  119. <match target="pattern">
  120. <edit name="allow_bitmap_fonts" target="pattern">
  121. <bool>false</bool>
  122. </edit>
  123. <edit name="allow_bitmap_fonts" target="font">
  124. <bool>false</bool>
  125. </edit>
  126. </match>
  127.  
  128. <!-- Choose an OS Rendering Style. This will determine B/W, grayscale,
  129. or subpixel antialising and slight, full or no hinting and replacements (if set in next option) -->
  130. <!-- Style should also be set in the infinality-settings.sh file, ususally in /etc/profile.d/ -->
  131. <match target="pattern">
  132. <edit name="rendering_style" target="pattern">
  133. <string>Infinality</string>
  134. </edit>
  135. <edit name="rendering_style" target="font">
  136. <string>Infinality</string>
  137. </edit>
  138.  
  139. <!-- Choose one of these options:
  140. Infinality - subpixel AA, minimal replacements/tweaks, sans=Arial
  141. Windows 7 - subpixel AA, sans=Arial
  142. Windows XP - subpixel AA, sans=Arial
  143. Windows 98 - B/W full hinting on TT fonts, grayscale AA for others, sans=Arial
  144. OSX - Slight hinting, subpixel AA, sans=Helvetica Neue
  145. OSX2 - No hinting, subpixel AA, sans=Helvetica Neue
  146. Linux - subpixel AA, sans=DejaVu Sans
  147. Custom - Your own style. Search/Uncomment below and add a check to all the options below that you want to include in 'Custom'.
  148. -->
  149. </match>
  150.  
  151. <!-- Replace other OS style fonts with my OS style's equivalent? -->
  152. <!-- This will make most sites/apps display more uniformly -->
  153. <!-- Search for replace_with_my_os_fonts to see what is being replaced -->
  154. <!-- This is recommended if you don't have fonts from each OS installed -->
  155. <match target="pattern">
  156. <edit name="replace_with_my_os_fonts" target="pattern">
  157. <bool>false</bool>
  158. </edit>
  159. <edit name="replace_with_my_os_fonts" target="font">
  160. <bool>false</bool>
  161. </edit>
  162. </match>
  163.  
  164. <!-- Use replacements that you define below, regardless of OS style choice -->
  165. <!-- Search for enable_global_replacements to add replacements -->
  166. <match target="pattern">
  167. <edit name="enable_global_replacements" target="pattern">
  168. <bool>true</bool>
  169. </edit>
  170. <edit name="enable_global_replacements" target="font">
  171. <bool>true</bool>
  172. </edit>
  173. </match>
  174.  
  175.  
  176. <!-- ================================================================================================= -->
  177. <!-- ============================== END OF USER CONFIGURABLE VARIABLES ============================== -->
  178. <!-- ================================================================================================= -->
  179.  
  180.  
  181.  
  182. <!-- ============= NOT IMPLEMENTED YET ============= -->
  183. <!-- ============= MAY NOT NEED TO BE ============= -->
  184. <!-- Are Microsoft core fonts installed?
  185. Only set to true if you haven't installed Windows Vista/7 fonts
  186. from an actual Windows Vista/7 installation.
  187.  
  188. <match target="pattern">
  189. <edit name="ms_core_fonts_installed" target="pattern">
  190. <bool>false</bool>
  191. </edit>
  192. <edit name="ms_core_fonts_installed" target="font">
  193. <bool>false</bool>
  194. </edit>
  195. </match>-->
  196.  
  197. <!-- Are Windows 98 / Vista / 7 fonts installed? -->
  198. <!-- e.g. Segoe UI, Calibri, Arial, Verdana, Trebuchet MS, Courier New
  199. Lucida Sans Unicode, Comic Sans MS, Candara, Times New Roman, etc.
  200. <match target="pattern">
  201. <edit name="windows_fonts_installed" target="pattern">
  202. <bool>true</bool>
  203. </edit>
  204. <edit name="windows_fonts_installed" target="font">
  205. <bool>true</bool>
  206. </edit>
  207. </match> -->
  208.  
  209. <!-- Are Apple OSX fonts installed? -->
  210. <!-- e.g. Helvetica Neue, Lucida Grande, Times, Courier, Monaco, etc.
  211. <match target="pattern">
  212. <edit name="apple_fonts_installed" target="pattern">
  213. <bool>true</bool>
  214. </edit>
  215. <edit name="apple_fonts_installed" target="font">
  216. <bool>true</bool>
  217. </edit>
  218. </match> -->
  219.  
  220. <!-- Are Google fonts installed? -->
  221. <!-- e.g. Droid Sans, Droid Serif, Arimo, Cousine, etc.
  222. <match target="pattern">
  223. <edit name="google_fonts_installed" target="pattern">
  224. <bool>true</bool>
  225. </edit>
  226. <edit name="google_fonts_installed" target="font">
  227. <bool>true</bool>
  228. </edit>
  229. </match>-->
  230.  
  231. <!-- Are Linux fonts installed? -->
  232. <!-- e.g. DejaVu, Liberation, etc.
  233. <match target="pattern">
  234. <edit name="linux_fonts_installed" target="pattern">
  235. <bool>true</bool>
  236. </edit>
  237. <edit name="linux_fonts_installed" target="font">
  238. <bool>true</bool>
  239. </edit>
  240. </match>-->
  241.  
  242.  
  243.  
  244. <!-- ******************** BITMAP / OUTLINE ********************** -->
  245.  
  246. <!-- Prevent gnome from using embedded bitmaps in fonts like Calibri -->
  247. <match target="font" >
  248. <test name="allow_bitmap_fonts" qual="any" >
  249. <bool>false</bool>
  250. </test>
  251. <test name="rendering_style" qual="any" >
  252. <string>Infinality</string>
  253. <string>Windows 7</string>
  254. <string>Windows XP</string>
  255. <string>OSX</string>
  256. <string>OSX2</string>
  257. </test>
  258. <edit name="embeddedbitmap" mode="assign">
  259. <bool>false</bool>
  260. </edit>
  261. </match>
  262.  
  263. <!-- Reject bitmap fonts in favour of Truetype, Postscript, etc. -->
  264. <match target="font" >
  265. <test name="allow_bitmap_fonts" qual="any" >
  266. <bool>false</bool>
  267. </test>
  268. <test name="rendering_style" qual="any" >
  269. <string>Infinality</string>
  270. <string>Windows 7</string>
  271. <string>Windows XP</string>
  272. <string>OSX</string>
  273. <string>OSX2</string>
  274. </test>
  275. <selectfont>
  276. <rejectfont>
  277. <pattern>
  278. <patelt name="scalable" >
  279. <bool>false</bool>
  280. </patelt>
  281. </pattern>
  282. </rejectfont>
  283. </selectfont>
  284. </match>
  285.  
  286. <!-- Substitute truetype fonts for bitmap ones -->
  287. <match target="pattern" >
  288. <test name="allow_bitmap_fonts" qual="any" >
  289. <bool>false</bool>
  290. </test>
  291. <test name="rendering_style" qual="any" >
  292. <string>Infinality</string>
  293. <string>Windows 7</string>
  294. <string>Windows XP</string>
  295. <string>OSX</string>
  296. <string>OSX2</string>
  297. </test>
  298. <edit name="prefer_outline" >
  299. <bool>true</bool>
  300. </edit>
  301. </match>
  302.  
  303.  
  304. <!-- ****************************************************************** -->
  305. <!-- *************************** ALIASES ****************************** -->
  306. <!-- ****************************************************************** -->
  307.  
  308. <!-- Default fonts - Microsoft Appearance -->
  309. <match target="font" >
  310. <test name="rendering_style" qual="any" >
  311. <string>Infinality</string>
  312. <string>Windows 7</string>
  313. <string>Windows XP</string>
  314. <string>Windows 98</string>
  315. </test>
  316. <alias>
  317. <family>sans</family>
  318. <default>
  319. <family>Arial</family>
  320. </default>
  321. </alias>
  322. <alias>
  323. <family>sans-serif</family>
  324. <default>
  325. <family>Arial</family>
  326. </default>
  327. </alias>
  328. <alias>
  329. <family>serif</family>
  330. <default>
  331. <family>Times New Roman</family>
  332. </default>
  333. </alias>
  334. </match>
  335.  
  336. <!-- Default fonts - OSX Appearance -->
  337. <match target="font" >
  338. <test name="rendering_style" qual="any" >
  339. <string>OSX</string>
  340. <string>OSX2</string>
  341. </test>
  342. <alias>
  343. <family>sans</family>
  344. <default>
  345. <family>Lucida Grande</family>
  346. </default>
  347. </alias>
  348.  
  349. <alias>
  350. <family>sans-serif</family>
  351. <default>
  352. <family>Lucida Grande</family>
  353. </default>
  354. </alias>
  355.  
  356. <alias>
  357. <family>serif</family>
  358. <default>
  359. <family>Times</family>
  360. </default>
  361. </alias>
  362. </match>
  363.  
  364. <!-- Default fonts - Linux Appearance -->
  365. <match target="font" >
  366. <test name="rendering_style" qual="any" >
  367. <string>Linux</string>
  368. </test>
  369. <alias>
  370. <family>sans</family>
  371. <default>
  372. <family>DejaVu Sans</family>
  373. </default>
  374. </alias>
  375.  
  376. <alias>
  377. <family>sans-serif</family>
  378. <default>
  379. <family>DejaVu Sans</family>
  380. </default>
  381. </alias>
  382.  
  383. <alias>
  384. <family>serif</family>
  385. <default>
  386. <family>Liberation Serif</family>
  387. </default>
  388. </alias>
  389. </match>
  390.  
  391. <!-- Default fonts - Custom Appearance - Uncomment and edit -->
  392. <!--
  393. <match target="font" >
  394. <test name="rendering_style" qual="any" >
  395. <string>Custom</string>
  396. </test>
  397. <alias>
  398. <family>sans</family>
  399. <default>
  400. <family>YOUR FONT HERE</family>
  401. </default>
  402. </alias>
  403.  
  404. <alias>
  405. <family>sans-serif</family>
  406. <default>
  407. <family>YOUR FONT HERE</family>
  408. </default>
  409. </alias>
  410.  
  411. <alias>
  412. <family>serif</family>
  413. <default>
  414. <family>YOUR FONT HERE</family>
  415. </default>
  416. </alias>
  417. </match> -->
  418.  
  419.  
  420. <!-- These MS aliases typically are used in user interfaces -->
  421. <!-- You will mostly run into fonts with these names in WINE programs -->
  422. <!-- WINE UI fonts - Microsoft Windows Vista/7 Appearance -->
  423.  
  424. <match target="font" >
  425. <test name="rendering_style" qual="any" >
  426. <string>Infinality</string>
  427. <string>Windows 7</string>
  428. </test>
  429. <alias binding="same">
  430. <family>System</family>
  431. <accept>
  432. <family>Segoe UI</family>
  433. </accept>
  434. </alias>
  435. <alias binding="same">
  436. <family>MS Shell Dlg</family>
  437. <accept>
  438. <family>Segoe UI</family>
  439. </accept>
  440. </alias>
  441. <alias binding="same">
  442. <family>MS Sans Serif</family>
  443. <accept>
  444. <family>Segoe UI</family>
  445. </accept>
  446. </alias>
  447. </match>
  448.  
  449. <!-- WINE UI fonts - Microsoft Windows 98/XP Appearance -->
  450. <!-- For Win 98, make sure font smoothing is DISABLED within WINE:
  451. wget http://files.polosatus.ru/winefontssmoothing_en.sh
  452. sh winefontssmoothing_en.sh
  453. -->
  454. <match target="font" >
  455. <test name="rendering_style" qual="any" >
  456. <string>Windows 98</string>
  457. </test>
  458. <alias binding="same">
  459. <family>System</family>
  460. <accept>
  461. <family>Microsoft Sans Serif</family>
  462. </accept>
  463. </alias>
  464. <alias binding="same">
  465. <family>MS Shell Dlg</family>
  466. <accept>
  467. <family>Microsoft Sans Serif</family>
  468. </accept>
  469. </alias>
  470. <alias binding="same">
  471. <family>MS Sans Serif</family>
  472. <accept>
  473. <family>Microsoft Sans Serif</family>
  474. </accept>
  475. </alias>
  476. </match>
  477.  
  478. <match target="font" >
  479. <test name="rendering_style" qual="any" >
  480. <string>Windows XP</string>
  481. </test>
  482. <alias binding="same">
  483. <family>System</family>
  484. <accept>
  485. <family>Tahoma</family>
  486. </accept>
  487. </alias>
  488. <alias binding="same">
  489. <family>MS Shell Dlg</family>
  490. <accept>
  491. <family>Tahoma</family>
  492. </accept>
  493. </alias>
  494. <alias binding="same">
  495. <family>MS Sans Serif</family>
  496. <accept>
  497. <family>Tahoma</family>
  498. </accept>
  499. </alias>
  500. </match>
  501.  
  502. <!-- WINE UI fonts - OSX Appearance -->
  503. <match target="font" >
  504. <test name="rendering_style" qual="any" >
  505. <string>OSX</string>
  506. <string>OSX2</string>
  507. </test>
  508. <alias binding="same">
  509. <family>System</family>
  510. <accept>
  511. <family>Lucida Grande</family>
  512. </accept>
  513. </alias>
  514. <alias binding="same">
  515. <family>MS Shell Dlg</family>
  516. <accept>
  517. <family>Lucida Grande</family>
  518. </accept>
  519. </alias>
  520. <alias binding="same">
  521. <family>MS Sans Serif</family>
  522. <accept>
  523. <family>Lucida Grande</family>
  524. </accept>
  525. </alias>
  526. </match>
  527.  
  528. <!-- WINE UI fonts - Linux Appearance -->
  529. <match target="font" >
  530. <test name="rendering_style" qual="any" >
  531. <string>Linux</string>
  532. </test>
  533. <alias binding="same">
  534. <family>System</family>
  535. <accept>
  536. <family>DejaVu Sans</family>
  537. </accept>
  538. </alias>
  539. <alias binding="same">
  540. <family>MS Shell Dlg</family>
  541. <accept>
  542. <family>DejaVu Sans</family>
  543. </accept>
  544. </alias>
  545. <alias binding="same">
  546. <family>MS Sans Serif</family>
  547. <accept>
  548. <family>DejaVu Sans</family>
  549. </accept>
  550. </alias>
  551. </match>
  552.  
  553.  
  554. <!-- WINE UI fonts - Custom Appearance -->
  555. <!--<match target="font" >
  556. <test name="rendering_style" qual="any" >
  557. <string>Custom</string>
  558. </test>
  559. <alias binding="same">
  560. <family>System</family>
  561. <accept>
  562. <family>YOUR FONT HERE</family>
  563. </accept>
  564. </alias>
  565. <alias binding="same">
  566. <family>MS Shell Dlg</family>
  567. <accept>
  568. <family>YOUR FONT HERE</family>
  569. </accept>
  570. </alias>
  571. <alias binding="same">
  572. <family>MS Sans Serif</family>
  573. <accept>
  574. <family>YOUR FONT HERE</family>
  575. </accept>
  576. </alias>
  577. </match> -->
  578.  
  579.  
  580. <!-- ****************************************************************** -->
  581. <!-- *********************** FONT PRIORITIES ************************** -->
  582. <!-- ****************************************************************** -->
  583.  
  584. <!-- Establish priorities for non-Latin fonts -->
  585. <!-- http://en.wikipedia.org/wiki/List_of_Microsoft_Windows_fonts -->
  586.  
  587. <!-- Non-latin fonts - Microsoft Windows Vista/7 Appearance -->
  588. <match target="font" >
  589. <test name="rendering_style" qual="any" >
  590. <string>Infinality</string>
  591. <string>Windows 7</string>
  592. <string>Windows XP</string>
  593. <string>Windows 98</string>
  594. </test>
  595. <alias>
  596. <family>serif</family>
  597. <prefer>
  598. <family>Times New Roman</family>
  599. <family>Batang</family>
  600. <family>DFKai-SB</family>
  601. <family>EucrosiaUPC</family>
  602. <family>JasmineUPC</family>
  603. <family>KaiTi</family>
  604. <family>Kartika</family>
  605. <family>KodchiangUPC</family>
  606. <family>MingLiU</family>
  607. <family>MS Mincho</family>
  608. <family>SimSun</family>
  609. <family>Sylfaen</family>
  610. <family>DaunPenh</family>
  611. <family>MV Boli</family>
  612. <family>Iskoola Pota</family>
  613. <family>Latha</family>
  614. <family>Microsoft Himalaya</family>
  615. <family>Mongolian Baiti</family>
  616. <family>Shruti</family>
  617. <family>Cardo</family>
  618. <family>MPH 2B Damase</family>
  619. <family>Times</family>
  620. <family>Palatino Linotype</family>
  621. <family>Liberation Serif</family>
  622. <family>DejaVu Serif</family>
  623. <family>FreeSerif</family>
  624. <family>Georgia</family>
  625. </prefer>
  626. </alias>
  627. <alias>
  628. <family>sans-serif</family>
  629. <prefer>
  630. <family>Arial</family>
  631. <family>Meiryo</family>
  632. <family>Arabic Typesetting</family>
  633. <family>DokChampa</family>
  634. <family>Malgun Gothic</family>
  635. <family>Estrangelo Edessa</family>
  636. <family>Gautami</family>
  637. <family>Iskoola Pota</family>
  638. <family>Microsoft YaHei</family>
  639. <family>Mangal</family>
  640. <family>Microsoft JhengHei</family>
  641. <family>Vrinda</family>
  642. <family>Plantagenet Cherokee</family>
  643. <family>Raavi</family>
  644. <family>Nyala</family>
  645. <family>Tunga</family>
  646. <family>Kartika</family>
  647. <family>MV Boli</family>
  648. <family>DaunPenh</family>
  649. <family>Iskoola Pota</family>
  650. <family>Latha</family>
  651. <family>Microsoft Himalaya</family>
  652. <family>Mongolian Baiti</family>
  653. <family>Shruti</family>
  654. <family>Skeirs</family>
  655. <family>Cardo</family>
  656. <family>MPH 2B Damase</family>
  657. <family>Tahoma</family>
  658. <family>Arial Unicode MS</family>
  659. <family>Helvetica Neue</family>
  660. <family>Helvetica</family>
  661. <family>DejaVu Sans</family>
  662. <family>Liberation Sans</family>
  663. </prefer>
  664. </alias>
  665. <alias>
  666. <family>monospace</family>
  667. <prefer>
  668. <family>Courier New</family>
  669. <family>Consolas</family>
  670. <family>Inconsolata</family>
  671. <family>Andale Mono</family>
  672. <family>Courier New</family>
  673. <family>Microsoft JhengHei</family>
  674. <family>Microsoft YaHei</family>
  675. <family>MPH 2B Damase</family>
  676. <family>Courier</family>
  677. <family>Liberation Mono</family>
  678. <family>DejaVu Sans Mono</family>
  679. <family>Droid Sans Mono</family>
  680. <family>FreeMono</family>
  681. </prefer>
  682. </alias>
  683. <alias>
  684. <family>fantasy</family>
  685. <prefer>
  686. <family>Impact</family>
  687. <family>Copperplate Gothic Std</family>
  688. <family>Cooper Std</family>
  689. <family>Bauhaus Std</family>
  690. </prefer>
  691. </alias>
  692. <alias>
  693. <family>cursive</family>
  694. <prefer>
  695. <family>ITC Zapf Chancery Std</family>
  696. <family>Zapfino</family>
  697. <family>Comic Sans MS</family>
  698. <family>Chalkboard</family>
  699. <family>Chalkduster</family>
  700. </prefer>
  701. </alias>
  702. </match>
  703.  
  704.  
  705. <!-- Non-latin fonts - OSX or Linux Appearance -->
  706. <!-- Please feel free to offer assistance here! -->
  707. <match target="font" >
  708. <test name="rendering_style" qual="any" >
  709. <string>OSX</string>
  710. <string>OSX2</string>
  711. <string>Linux</string>
  712. </test>
  713. <alias>
  714. <family>serif</family>
  715. <prefer>
  716. <family>Times</family>
  717. <family>Liberation Serif</family>
  718. <family>DejaVu Serif</family>
  719. <family>FreeSerif</family>
  720. <family>Times New Roman</family>
  721. <family>Batang</family>
  722. <family>DFKai-SB</family>
  723. <family>EucrosiaUPC</family>
  724. <family>JasmineUPC</family>
  725. <family>KaiTi</family>
  726. <family>Kartika</family>
  727. <family>KodchiangUPC</family>
  728. <family>MingLiU</family>
  729. <family>MS Mincho</family>
  730. <family>SimSun</family>
  731. <family>Sylfaen</family>
  732. <family>DaunPenh</family>
  733. <family>MV Boli</family>
  734. <family>Iskoola Pota</family>
  735. <family>Latha</family>
  736. <family>Microsoft Himalaya</family>
  737. <family>Mongolian Baiti</family>
  738. <family>Shruti</family>
  739. <family>Cardo</family>
  740. <family>MPH 2B Damase</family>
  741. <family>Georgia</family>
  742. <family>Palatino Linotype</family>
  743. </prefer>
  744. </alias>
  745. <alias>
  746. <family>sans-serif</family>
  747. <prefer>
  748. <family>Helvetica Neue</family>
  749. <family>Helvetica</family>
  750. <family>DejaVu Sans</family>
  751. <family>Liberation Sans</family>
  752. <family>Arial</family>
  753. <family>Meiryo</family>
  754. <family>Arabic Typesetting</family>
  755. <family>DokChampa</family>
  756. <family>Malgun Gothic</family>
  757. <family>Estrangelo Edessa</family>
  758. <family>Gautami</family>
  759. <family>Iskoola Pota</family>
  760. <family>Microsoft YaHei</family>
  761. <family>Mangal</family>
  762. <family>Microsoft JhengHei</family>
  763. <family>Vrinda</family>
  764. <family>Plantagenet Cherokee</family>
  765. <family>Raavi</family>
  766. <family>Nyala</family>
  767. <family>Tunga</family>
  768. <family>Kartika</family>
  769. <family>MV Boli</family>
  770. <family>DaunPenh</family>
  771. <family>Iskoola Pota</family>
  772. <family>Latha</family>
  773. <family>Microsoft Himalaya</family>
  774. <family>Mongolian Baiti</family>
  775. <family>Shruti</family>
  776. <family>Skeirs</family>
  777. <family>Cardo</family>
  778. <family>MPH 2B Damase</family>
  779. <family>Tahoma</family>
  780. <family>Arial Unicode MS</family>
  781. </prefer>
  782. </alias>
  783. <alias>
  784. <family>monospace</family>
  785. <prefer>
  786. <family>Courier</family>
  787. <family>Liberation Mono</family>
  788. <family>DejaVu Sans Mono</family>
  789. <family>Droid Sans Mono</family>
  790. <family>FreeMono</family>
  791. <family>Courier New</family>
  792. <family>Consolas</family>
  793. <family>Inconsolata</family>
  794. <family>Andale Mono</family>
  795. <family>Courier New</family>
  796. <family>Microsoft JhengHei</family>
  797. <family>Microsoft YaHei</family>
  798. <family>MPH 2B Damase</family>
  799. </prefer>
  800. </alias>
  801. <alias>
  802. <family>fantasy</family>
  803. <prefer>
  804. <family>Impact</family>
  805. <family>Copperplate Gothic Std</family>
  806. <family>Cooper Std</family>
  807. <family>Bauhaus Std</family>
  808. </prefer>
  809. </alias>
  810. <alias>
  811. <family>cursive</family>
  812. <prefer>
  813. <family>ITC Zapf Chancery Std</family>
  814. <family>Zapfino</family>
  815. <family>Comic Sans MS</family>
  816. <family>Chalkboard</family>
  817. <family>Chalkduster</family>
  818. </prefer>
  819. </alias>
  820. </match>
  821.  
  822.  
  823. <!-- Non-latin fonts - Custom Appearance -->
  824. <!--<match target="font" >
  825. <test name="rendering_style" qual="any" >
  826. <string>Custom</string>
  827. </test>
  828. <alias>
  829. <family>serif</family>
  830. <prefer>
  831. <family>Times</family>
  832. <family>Liberation Serif</family>
  833. <family>DejaVu Serif</family>
  834. <family>FreeSerif</family>
  835. <family>Times New Roman</family>
  836. <family>Batang</family>
  837. <family>DFKai-SB</family>
  838. <family>EucrosiaUPC</family>
  839. <family>JasmineUPC</family>
  840. <family>KaiTi</family>
  841. <family>Kartika</family>
  842. <family>KodchiangUPC</family>
  843. <family>MingLiU</family>
  844. <family>MS Mincho</family>
  845. <family>SimSun</family>
  846. <family>Sylfaen</family>
  847. <family>DaunPenh</family>
  848. <family>MV Boli</family>
  849. <family>Iskoola Pota</family>
  850. <family>Latha</family>
  851. <family>Microsoft Himalaya</family>
  852. <family>Mongolian Baiti</family>
  853. <family>Shruti</family>
  854. <family>Cardo</family>
  855. <family>MPH 2B Damase</family>
  856. <family>Georgia</family>
  857. <family>Palatino Linotype</family>
  858. </prefer>
  859. </alias>
  860. <alias>
  861. <family>sans-serif</family>
  862. <prefer>
  863. <family>Helvetica Neue</family>
  864. <family>Helvetica</family>
  865. <family>DejaVu Sans</family>
  866. <family>Liberation Sans</family>
  867. <family>Arial</family>
  868. <family>Meiryo</family>
  869. <family>Arabic Typesetting</family>
  870. <family>DokChampa</family>
  871. <family>Malgun Gothic</family>
  872. <family>Estrangelo Edessa</family>
  873. <family>Gautami</family>
  874. <family>Iskoola Pota</family>
  875. <family>Microsoft YaHei</family>
  876. <family>Mangal</family>
  877. <family>Microsoft JhengHei</family>
  878. <family>Vrinda</family>
  879. <family>Plantagenet Cherokee</family>
  880. <family>Raavi</family>
  881. <family>Nyala</family>
  882. <family>Tunga</family>
  883. <family>Kartika</family>
  884. <family>MV Boli</family>
  885. <family>DaunPenh</family>
  886. <family>Iskoola Pota</family>
  887. <family>Latha</family>
  888. <family>Microsoft Himalaya</family>
  889. <family>Mongolian Baiti</family>
  890. <family>Shruti</family>
  891. <family>Skeirs</family>
  892. <family>Cardo</family>
  893. <family>MPH 2B Damase</family>
  894. <family>Tahoma</family>
  895. <family>Arial Unicode MS</family>
  896. </prefer>
  897. </alias>
  898. <alias>
  899. <family>monospace</family>
  900. <prefer>
  901. <family>Courier</family>
  902. <family>Liberation Mono</family>
  903. <family>DejaVu Sans Mono</family>
  904. <family>Droid Sans Mono</family>
  905. <family>FreeMono</family>
  906. <family>Courier New</family>
  907. <family>Consolas</family>
  908. <family>Inconsolata</family>
  909. <family>Andale Mono</family>
  910. <family>Courier New</family>
  911. <family>Microsoft JhengHei</family>
  912. <family>Microsoft YaHei</family>
  913. <family>MPH 2B Damase</family>
  914. </prefer>
  915. </alias>
  916. <alias>
  917. <family>fantasy</family>
  918. <prefer>
  919. <family>Impact</family>
  920. <family>Copperplate Gothic Std</family>
  921. <family>Cooper Std</family>
  922. <family>Bauhaus Std</family>
  923. </prefer>
  924. </alias>
  925. <alias>
  926. <family>cursive</family>
  927. <prefer>
  928. <family>ITC Zapf Chancery Std</family>
  929. <family>Zapfino</family>
  930. <family>Comic Sans MS</family>
  931. <family>Chalkboard</family>
  932. <family>Chalkduster</family>
  933. </prefer>
  934. </alias>
  935. </match>
  936. -->
  937.  
  938.  
  939. <!-- ****************************************************************** -->
  940. <!-- *********************** GENERIC REPLACEMENTS ******************** -->
  941. <!-- ****************************************************************** -->
  942.  
  943. <!-- Replaces sans, sans-serif, serif, monospace with a specific font preference -->
  944. <!-- This is also set in aliases above -->
  945.  
  946.  
  947. <!-- Microsoft style - sans, sans-serif, serif -->
  948. <match target="font" >
  949. <test name="rendering_style" qual="any" >
  950. <string>Infinality</string>
  951. <string>Windows 7</string>
  952. <string>Windows XP</string>
  953. <string>Windows 98</string>
  954. </test>
  955. <test name="family" qual="any" >
  956. <string>sans</string>
  957. </test>
  958. <edit mode="assign" name="family" >
  959. <string>Arial</string>
  960. </edit>
  961. </match>
  962. <match target="font" >
  963. <test name="rendering_style" qual="any" >
  964. <string>Infinality</string>
  965. <string>Windows 7</string>
  966. <string>Windows XP</string>
  967. <string>Windows 98</string>
  968. </test>
  969. <test name="family" qual="any" >
  970. <string>sans-serif</string>
  971. </test>
  972. <edit mode="assign" name="family" >
  973. <string>Arial</string>
  974. </edit>
  975. </match>
  976. <match target="font" >
  977. <test name="rendering_style" qual="any" >
  978. <string>Infinality</string>
  979. <string>Windows 7</string>
  980. <string>Windows XP</string>
  981. <string>Windows 98</string>
  982. </test>
  983. <test name="family" qual="any" >
  984. <string>serif</string>
  985. </test>
  986. <edit mode="assign" name="family" >
  987. <string>Times New Roman</string>
  988. </edit>
  989. </match>
  990. <match target="font" >
  991. <test name="rendering_style" qual="any" >
  992. <string>Infinality</string>
  993. <string>Windows 7</string>
  994. <string>Windows XP</string>
  995. <string>Windows 98</string>
  996. </test>
  997. <test name="family" qual="any" >
  998. <string>monospace</string>
  999. </test>
  1000. <edit mode="assign" name="family" >
  1001. <string>Courier New</string>
  1002. </edit>
  1003. </match>
  1004.  
  1005.  
  1006.  
  1007.  
  1008. <!-- OSX style - sans, sans-serif, serif -->
  1009. <match target="font" >
  1010. <test name="rendering_style" qual="any" >
  1011. <string>OSX</string>
  1012. <string>OSX2</string>
  1013. </test>
  1014. <test name="family" qual="any" >
  1015. <string>sans</string>
  1016. </test>
  1017. <edit mode="assign" name="family" >
  1018. <string>Helvetica Neue</string>
  1019. </edit>
  1020. </match>
  1021. <match target="font" >
  1022. <test name="rendering_style" qual="any" >
  1023. <string>OSX</string>
  1024. <string>OSX2</string>
  1025. </test>
  1026. <test name="family" qual="any" >
  1027. <string>sans-serif</string>
  1028. </test>
  1029. <edit mode="assign" name="family" >
  1030. <string>Helvetica Neue</string>
  1031. </edit>
  1032. </match>
  1033. <match target="font" >
  1034. <test name="rendering_style" qual="any" >
  1035. <string>OSX</string>
  1036. <string>OSX2</string>
  1037. </test>
  1038. <test name="family" qual="any" >
  1039. <string>serif</string>
  1040. </test>
  1041. <edit mode="assign" name="family" >
  1042. <string>Times</string>
  1043. </edit>
  1044. </match>
  1045. <match target="font" >
  1046. <test name="rendering_style" qual="any" >
  1047. <string>OSX</string>
  1048. <string>OSX2</string>
  1049. </test>
  1050. <test name="family" qual="any" >
  1051. <string>monospace</string>
  1052. </test>
  1053. <edit mode="assign" name="family" >
  1054. <string>Courier</string>
  1055. </edit>
  1056. </match>
  1057.  
  1058.  
  1059.  
  1060.  
  1061. <!-- Linux style - sans, sans-serif, serif -->
  1062. <match target="font" >
  1063. <test name="rendering_style" qual="any" >
  1064. <string>Linux</string>
  1065. </test>
  1066. <test name="family" qual="any" >
  1067. <string>sans</string>
  1068. </test>
  1069. <edit mode="assign" name="family" >
  1070. <string>DejaVu Sans</string>
  1071. </edit>
  1072. </match>
  1073. <match target="font" >
  1074. <test name="rendering_style" qual="any" >
  1075. <string>Linux</string>
  1076. </test>
  1077. <test name="family" qual="any" >
  1078. <string>sans-serif</string>
  1079. </test>
  1080. <edit mode="assign" name="family" >
  1081. <string>DejaVu Sans</string>
  1082. </edit>
  1083. </match>
  1084. <match target="font" >
  1085. <test name="rendering_style" qual="any" >
  1086. <string>Linux</string>
  1087. </test>
  1088. <test name="family" qual="any" >
  1089. <string>serif</string>
  1090. </test>
  1091. <edit mode="assign" name="family" >
  1092. <string>Liberation Serif</string>
  1093. </edit>
  1094. </match>
  1095. <match target="font" >
  1096. <test name="rendering_style" qual="any" >
  1097. <string>Linux</string>
  1098. </test>
  1099. <test name="family" qual="any" >
  1100. <string>monospace</string>
  1101. </test>
  1102. <edit mode="assign" name="family" >
  1103. <string>Liberation Mono</string>
  1104. </edit>
  1105. </match>
  1106.  
  1107.  
  1108.  
  1109.  
  1110. <!-- Custom style - sans, sans-serif, serif -->
  1111. <!--<match target="font" >
  1112. <test name="rendering_style" qual="any" >
  1113. <string>Custom</string>
  1114. </test>
  1115. <test name="family" qual="any" >
  1116. <string>sans</string>
  1117. </test>
  1118. <edit mode="assign" name="family" >
  1119. <string>DejaVu Sans</string>
  1120. </edit>
  1121. </match>
  1122. <match target="font" >
  1123. <test name="rendering_style" qual="any" >
  1124. <string>Custom</string>
  1125. </test>
  1126. <test name="family" qual="any" >
  1127. <string>sans-serif</string>
  1128. </test>
  1129. <edit mode="assign" name="family" >
  1130. <string>DejaVu Sans</string>
  1131. </edit>
  1132. </match>
  1133. <match target="font" >
  1134. <test name="rendering_style" qual="any" >
  1135. <string>Custom</string>
  1136. </test>
  1137. <test name="family" qual="any" >
  1138. <string>serif</string>
  1139. </test>
  1140. <edit mode="assign" name="family" >
  1141. <string>Liberation Serif</string>
  1142. </edit>
  1143. </match>
  1144. <match target="font" >
  1145. <test name="rendering_style" qual="any" >
  1146. <string>Custom</string>
  1147. </test>
  1148. <test name="family" qual="any" >
  1149. <string>monospace</string>
  1150. </test>
  1151. <edit mode="assign" name="family" >
  1152. <string>Liberation Mono</string>
  1153. </edit>
  1154. </match>-->
  1155.  
  1156.  
  1157.  
  1158. <!-- ****************************************************************** -->
  1159. <!-- *********************** OS FONT REPLACEMENTS ******************** -->
  1160. <!-- ****************************************************************** -->
  1161.  
  1162. <!-- Optionally replace these common cloned fonts with their OS equivalent -->
  1163.  
  1164.  
  1165. <!-- Microsoft Appearance - Replace With MS Fonts -->
  1166. <match target="font" >
  1167. <test name="replace_with_my_os_fonts" qual="any" >
  1168. <bool>true</bool>
  1169. </test>
  1170. <test name="rendering_style" qual="any" >
  1171. <string>Windows 7</string>
  1172. <string>Windows XP</string>
  1173. <string>Windows 98</string>
  1174. </test>
  1175. <test name="family" qual="any" >
  1176. <string>Nimbus Sans</string>
  1177. <string>Nimbus Sans L</string>
  1178. <string>Helvetica Neue</string>
  1179. <string>Helvetica</string>
  1180. <string>Liberation Sans</string>
  1181. <string>Freesans</string>
  1182. </test>
  1183. <edit mode="assign" name="family" >
  1184. <string>Arial</string>
  1185. </edit>
  1186. </match>
  1187. <match target="pattern" name="family">
  1188. <test name="replace_with_my_os_fonts" qual="any" >
  1189. <bool>true</bool>
  1190. </test>
  1191. <test name="rendering_style" qual="any" >
  1192. <string>Windows 7</string>
  1193. <string>Windows XP</string>
  1194. <string>Windows 98</string>
  1195. </test>
  1196. <test name="family" qual="any" >
  1197. <string>Nimbus Sans</string>
  1198. <string>Nimbus Sans L</string>
  1199. <string>Helvetica Neue</string>
  1200. <string>Helvetica</string>
  1201. <string>Liberation Sans</string>
  1202. <string>Freesans</string>
  1203. </test>
  1204. <edit binding="strong" mode="prepend" name="family" >
  1205. <string>Arial</string>
  1206. </edit>
  1207. </match>
  1208.  
  1209. <match target="font" >
  1210. <test name="replace_with_my_os_fonts" qual="any" >
  1211. <bool>true</bool>
  1212. </test>
  1213. <test name="rendering_style" qual="any" >
  1214. <string>Windows 7</string>
  1215. <string>Windows XP</string>
  1216. <string>Windows 98</string>
  1217. </test>
  1218. <test name="family" qual="any" >
  1219. <string>Bitstream Vera Sans</string>
  1220. <string>DejaVu Sans</string>
  1221. </test>
  1222. <edit mode="assign" name="family" >
  1223. <string>Verdana</string>
  1224. </edit>
  1225. </match>
  1226. <match target="pattern" name="family">
  1227. <test name="replace_with_my_os_fonts" qual="any" >
  1228. <bool>true</bool>
  1229. </test>
  1230. <test name="rendering_style" qual="any" >
  1231. <string>Windows 7</string>
  1232. <string>Windows XP</string>
  1233. <string>Windows 98</string>
  1234. </test>
  1235. <test name="family" qual="any" >
  1236. <string>Bitstream Vera Sans</string>
  1237. <string>DejaVu Sans</string>
  1238. </test>
  1239. <edit binding="strong" mode="prepend" name="family" >
  1240. <string>Verdana</string>
  1241. </edit>
  1242. </match>
  1243.  
  1244. <match target="font" >
  1245. <test name="replace_with_my_os_fonts" qual="any" >
  1246. <bool>true</bool>
  1247. </test>
  1248. <test name="rendering_style" qual="any" >
  1249. <string>Windows 7</string>
  1250. <string>Windows XP</string>
  1251. <string>Windows 98</string>
  1252. </test>
  1253. <test name="family" qual="any" >
  1254. <string>Courier</string>
  1255. <string>FreeMono</string>
  1256. <string>Nimbus Mono L</string>
  1257. </test>
  1258. <edit mode="assign" name="family" >
  1259. <string>Courier New</string>
  1260. </edit>
  1261. </match>
  1262. <match target="pattern" name="family">
  1263. <test name="replace_with_my_os_fonts" qual="any" >
  1264. <bool>true</bool>
  1265. </test>
  1266. <test name="rendering_style" qual="any" >
  1267. <string>Windows 7</string>
  1268. <string>Windows XP</string>
  1269. <string>Windows 98</string>
  1270. </test>
  1271. <test name="family" qual="any" >
  1272. <string>Courier</string>
  1273. <string>FreeMono</string>
  1274. <string>Nimbus Mono L</string>
  1275. </test>
  1276. <edit binding="strong" mode="prepend" name="family" >
  1277. <string>Courier New</string>
  1278. </edit>
  1279. </match>
  1280.  
  1281. <match target="font" >
  1282. <test name="replace_with_my_os_fonts" qual="any" >
  1283. <bool>true</bool>
  1284. </test>
  1285. <test name="rendering_style" qual="any" >
  1286. <string>Windows 7</string>
  1287. <string>Windows XP</string>
  1288. <string>Windows 98</string>
  1289. </test>
  1290. <test name="family" qual="any" >
  1291. <string>Times</string>
  1292. <string>DejaVu Serif</string>
  1293. <string>Nimbus Serif L</string>
  1294. <string>Liberation Serif</string>
  1295. </test>
  1296. <edit mode="assign" name="family" >
  1297. <string>Times New Roman</string>
  1298. </edit>
  1299. </match>
  1300. <match target="pattern" name="family">
  1301. <test name="replace_with_my_os_fonts" qual="any" >
  1302. <bool>true</bool>
  1303. </test>
  1304. <test name="rendering_style" qual="any" >
  1305. <string>Windows 7</string>
  1306. <string>Windows XP</string>
  1307. <string>Windows 98</string>
  1308. </test>
  1309. <test name="family" qual="any" >
  1310. <string>Times</string>
  1311. <string>DejaVu Serif</string>
  1312. <string>Nimbus Serif L</string>
  1313. <string>Liberation Serif</string>
  1314. </test>
  1315. <edit binding="strong" mode="prepend" name="family" >
  1316. <string>Times New Roman</string>
  1317. </edit>
  1318. </match>
  1319.  
  1320. <match target="pattern" name="family" >
  1321. <test name="replace_with_my_os_fonts" qual="any" >
  1322. <bool>true</bool>
  1323. </test>
  1324. <test name="rendering_style" qual="any" >
  1325. <string>Windows 7</string>
  1326. <string>Windows XP</string>
  1327. <string>Windows 98</string>
  1328. </test>
  1329. <test name="family" qual="any" >
  1330. <string>Palatino</string>
  1331. </test>
  1332. <edit binding="strong" mode="prepend" name="family" >
  1333. <string>Palatino Linotype</string>
  1334. </edit>
  1335. </match>
  1336. <match target="font" >
  1337. <test name="replace_with_my_os_fonts" qual="any" >
  1338. <bool>true</bool>
  1339. </test>
  1340. <test name="rendering_style" qual="any" >
  1341. <string>Windows 7</string>
  1342. <string>Windows XP</string>
  1343. <string>Windows 98</string>
  1344. </test>
  1345. <test name="family" qual="any" >
  1346. <string>Palatino</string>
  1347. </test>
  1348. <edit mode="assign" name="family" >
  1349. <string>Palatino Linotype</string>
  1350. </edit>
  1351. </match>
  1352.  
  1353. <match target="pattern" name="family" >
  1354. <test name="replace_with_my_os_fonts" qual="any" >
  1355. <bool>true</bool>
  1356. </test>
  1357. <test name="rendering_style" qual="any" >
  1358. <string>Windows 7</string>
  1359. <string>Windows XP</string>
  1360. <string>Windows 98</string>
  1361. </test>
  1362. <test name="family" qual="any" >
  1363. <string>Lucida Sans</string>
  1364. <string>Lucida Grande</string>
  1365. </test>
  1366. <edit binding="strong" mode="prepend" name="family" >
  1367. <string>Lucida Sans Unicode</string>
  1368. </edit>
  1369. </match>
  1370. <match target="font" >
  1371. <test name="replace_with_my_os_fonts" qual="any" >
  1372. <bool>true</bool>
  1373. </test>
  1374. <test name="rendering_style" qual="any" >
  1375. <string>Windows 7</string>
  1376. <string>Windows XP</string>
  1377. <string>Windows 98</string>
  1378. </test>
  1379. <test name="family" qual="any" >
  1380. <string>Lucida Sans</string>
  1381. <string>Lucida Grande</string>
  1382. </test>
  1383. <edit mode="assign" name="family" >
  1384. <string>Lucida Sans Unicode</string>
  1385. </edit>
  1386. </match>
  1387.  
  1388.  
  1389.  
  1390.  
  1391.  
  1392. <!-- OSX Appearance - Replace with OSX fonts -->
  1393. <match target="font" >
  1394. <test name="replace_with_my_os_fonts" qual="any" >
  1395. <bool>true</bool>
  1396. </test>
  1397. <test name="rendering_style" qual="any" >
  1398. <string>OSX</string>
  1399. <string>OSX2</string>
  1400. </test>
  1401. <test name="family" qual="any" >
  1402. <string>Nimbus Sans</string>
  1403. <string>Nimbus Sans L</string>
  1404. <string>Arial</string>
  1405. <string>Liberation Sans</string>
  1406. <string>Freesans</string>
  1407. </test>
  1408. <edit mode="assign" name="family" >
  1409. <string>Helvetica Neue</string>
  1410. </edit>
  1411. </match>
  1412. <match target="pattern" name="family">
  1413. <test name="replace_with_my_os_fonts" qual="any" >
  1414. <bool>true</bool>
  1415. </test>
  1416. <test name="rendering_style" qual="any" >
  1417. <string>OSX</string>
  1418. <string>OSX2</string>
  1419. </test>
  1420. <test name="family" qual="any" >
  1421. <string>Nimbus Sans</string>
  1422. <string>Nimbus Sans L</string>
  1423. <string>Arial</string>
  1424. <string>Liberation Sans</string>
  1425. <string>Freesans</string>
  1426. </test>
  1427. <edit binding="strong" mode="prepend" name="family" >
  1428. <string>Helvetica Neue</string>
  1429. </edit>
  1430. </match>
  1431.  
  1432. <match target="font" >
  1433. <test name="replace_with_my_os_fonts" qual="any" >
  1434. <bool>true</bool>
  1435. </test>
  1436. <test name="rendering_style" qual="any" >
  1437. <string>OSX</string>
  1438. <string>OSX2</string>
  1439. </test>
  1440. <test name="family" qual="any" >
  1441. <string>Courier New</string>
  1442. <string>FreeMono</string>
  1443. <string>Nimbus Mono L</string>
  1444. </test>
  1445. <edit mode="assign" name="family" >
  1446. <string>Courier</string>
  1447. </edit>
  1448. </match>
  1449. <match target="pattern" name="family">
  1450. <test name="replace_with_my_os_fonts" qual="any" >
  1451. <bool>true</bool>
  1452. </test>
  1453. <test name="rendering_style" qual="any" >
  1454. <string>OSX</string>
  1455. <string>OSX2</string>
  1456. </test>
  1457. <test name="family" qual="any" >
  1458. <string>Courier New</string>
  1459. <string>FreeMono</string>
  1460. <string>Nimbus Mono L</string>
  1461. </test>
  1462. <edit binding="strong" mode="prepend" name="family" >
  1463. <string>Courier</string>
  1464. </edit>
  1465. </match>
  1466.  
  1467. <match target="font" >
  1468. <test name="replace_with_my_os_fonts" qual="any" >
  1469. <bool>true</bool>
  1470. </test>
  1471. <test name="rendering_style" qual="any" >
  1472. <string>OSX</string>
  1473. <string>OSX2</string>
  1474. </test>
  1475. <test name="family" qual="any" >
  1476. <string>Times New Roman</string>
  1477. <string>DejaVu Serif</string>
  1478. <string>Nimbus Serif L</string>
  1479. <string>Liberation Serif</string>
  1480. <string>FreeSerif</string>
  1481. </test>
  1482. <edit mode="assign" name="family" >
  1483. <string>Times</string>
  1484. </edit>
  1485. </match>
  1486. <match target="pattern" name="family">
  1487. <test name="replace_with_my_os_fonts" qual="any" >
  1488. <bool>true</bool>
  1489. </test>
  1490. <test name="rendering_style" qual="any" >
  1491. <string>OSX</string>
  1492. <string>OSX2</string>
  1493. </test>
  1494. <test name="family" qual="any" >
  1495. <string>Times New Roman</string>
  1496. <string>DejaVu Serif</string>
  1497. <string>Nimbus Serif L</string>
  1498. <string>Liberation Serif</string>
  1499. <string>FreeSerif</string>
  1500. </test>
  1501. <edit binding="strong" mode="prepend" name="family" >
  1502. <string>Times</string>
  1503. </edit>
  1504. </match>
  1505.  
  1506. <match target="pattern" name="family" >
  1507. <test name="replace_with_my_os_fonts" qual="any" >
  1508. <bool>true</bool>
  1509. </test>
  1510. <test name="rendering_style" qual="any" >
  1511. <string>OSX</string>
  1512. <string>OSX2</string>
  1513. </test>
  1514. <test name="family" qual="any" >
  1515. <string>Palatino Linotype</string>
  1516. </test>
  1517. <edit binding="strong" mode="prepend" name="family" >
  1518. <string>Palatino</string>
  1519. </edit>
  1520. </match>
  1521. <match target="font" >
  1522. <test name="replace_with_my_os_fonts" qual="any" >
  1523. <bool>true</bool>
  1524. </test>
  1525. <test name="rendering_style" qual="any" >
  1526. <string>OSX</string>
  1527. <string>OSX2</string>
  1528. </test>
  1529. <test name="family" qual="any" >
  1530. <string>Palatino Linotype</string>
  1531. </test>
  1532. <edit mode="assign" name="family" >
  1533. <string>Palatino</string>
  1534. </edit>
  1535. </match>
  1536.  
  1537. <match target="pattern" name="family" >
  1538. <test name="replace_with_my_os_fonts" qual="any" >
  1539. <bool>true</bool>
  1540. </test>
  1541. <test name="rendering_style" qual="any" >
  1542. <string>OSX</string>
  1543. <string>OSX2</string>
  1544. </test>
  1545. <test name="family" qual="any" >
  1546. <string>Lucida Sans</string>
  1547. <string>Lucida Sans Unicode</string>
  1548. </test>
  1549. <edit binding="strong" mode="prepend" name="family" >
  1550. <string>Lucida Grande</string>
  1551. </edit>
  1552. </match>
  1553. <match target="font" >
  1554. <test name="replace_with_my_os_fonts" qual="any" >
  1555. <bool>true</bool>
  1556. </test>
  1557. <test name="rendering_style" qual="any" >
  1558. <string>OSX</string>
  1559. <string>OSX2</string>
  1560. </test>
  1561. <test name="family" qual="any" >
  1562. <string>Lucida Sans</string>
  1563. <string>Lucida Sans Unicode</string>
  1564. </test>
  1565. <edit mode="assign" name="family" >
  1566. <string>Lucida Grande</string>
  1567. </edit>
  1568. </match>
  1569.  
  1570.  
  1571.  
  1572.  
  1573. <!-- Linux Appearance - Replace with Linux fonts -->
  1574. <match target="font" >
  1575. <test name="replace_with_my_os_fonts" qual="any" >
  1576. <bool>true</bool>
  1577. </test>
  1578. <test name="rendering_style" qual="any" >
  1579. <string>Linux</string>
  1580. </test>
  1581. <test name="family" qual="any" >
  1582. <string>Nimbus Sans</string>
  1583. <string>Nimbus Sans L</string>
  1584. <string>Arial</string>
  1585. <string>Helvetica</string>
  1586. <string>Helvetica Neue</string>
  1587. <string>Freesans</string>
  1588. </test>
  1589. <edit mode="assign" name="family" >
  1590. <string>Liberation Sans</string>
  1591. </edit>
  1592. </match>
  1593. <match target="pattern" name="family">
  1594. <test name="replace_with_my_os_fonts" qual="any" >
  1595. <bool>true</bool>
  1596. </test>
  1597. <test name="rendering_style" qual="any" >
  1598. <string>Linux</string>
  1599. </test>
  1600. <test name="family" qual="any" >
  1601. <string>Nimbus Sans</string>
  1602. <string>Nimbus Sans L</string>
  1603. <string>Arial</string>
  1604. <string>Helvetica</string>
  1605. <string>Helvetica Neue</string>
  1606. <string>Freesans</string>
  1607. </test>
  1608. <edit binding="strong" mode="prepend" name="family" >
  1609. <string>Liberation Sans</string>
  1610. </edit>
  1611. </match>
  1612.  
  1613. <match target="font" >
  1614. <test name="replace_with_my_os_fonts" qual="any" >
  1615. <bool>true</bool>
  1616. </test>
  1617. <test name="rendering_style" qual="any" >
  1618. <string>Linux</string>
  1619. </test>
  1620. <test name="family" qual="any" >
  1621. <string>Bitstream Vera Sans</string>
  1622. <string>Verdana</string>
  1623. </test>
  1624. <edit mode="assign" name="family" >
  1625. <string>DejaVu Sans</string>
  1626. </edit>
  1627. </match>
  1628. <match target="pattern" name="family">
  1629. <test name="replace_with_my_os_fonts" qual="any" >
  1630. <bool>true</bool>
  1631. </test>
  1632. <test name="rendering_style" qual="any" >
  1633. <string>Linux</string>
  1634. </test>
  1635. <test name="family" qual="any" >
  1636. <string>Bitstream Vera Sans</string>
  1637. <string>Verdana</string>
  1638. </test>
  1639. <edit binding="strong" mode="prepend" name="family" >
  1640. <string>DejaVu Sans</string>
  1641. </edit>
  1642. </match>
  1643.  
  1644. <match target="font" >
  1645. <test name="replace_with_my_os_fonts" qual="any" >
  1646. <bool>true</bool>
  1647. </test>
  1648. <test name="rendering_style" qual="any" >
  1649. <string>Linux</string>
  1650. </test>
  1651. <test name="family" qual="any" >
  1652. <string>Courier</string>
  1653. <string>FreeMono</string>
  1654. <string>Nimbus Mono L</string>
  1655. <string>Courier New</string>
  1656. </test>
  1657. <edit mode="assign" name="family" >
  1658. <string>Liberation Mono</string>
  1659. </edit>
  1660. </match>
  1661. <match target="pattern" name="family">
  1662. <test name="replace_with_my_os_fonts" qual="any" >
  1663. <bool>true</bool>
  1664. </test>
  1665. <test name="rendering_style" qual="any" >
  1666. <string>Linux</string>
  1667. </test>
  1668. <test name="family" qual="any" >
  1669. <string>Courier</string>
  1670. <string>FreeMono</string>
  1671. <string>Nimbus Mono L</string>
  1672. <string>Courier New</string>
  1673. </test>
  1674. <edit binding="strong" mode="prepend" name="family" >
  1675. <string>Liberation Mono</string>
  1676. </edit>
  1677. </match>
  1678.  
  1679. <match target="font" >
  1680. <test name="replace_with_my_os_fonts" qual="any" >
  1681. <bool>true</bool>
  1682. </test>
  1683. <test name="rendering_style" qual="any" >
  1684. <string>Linux</string>
  1685. </test>
  1686. <test name="family" qual="any" >
  1687. <string>Times</string>
  1688. <string>Nimbus Serif L</string>
  1689. <string>Times New Roman</string>
  1690. </test>
  1691. <edit mode="assign" name="family" >
  1692. <string>DejaVu Serif</string>
  1693. </edit>
  1694. </match>
  1695. <match target="pattern" name="family">
  1696. <test name="replace_with_my_os_fonts" qual="any" >
  1697. <bool>true</bool>
  1698. </test>
  1699. <test name="rendering_style" qual="any" >
  1700. <string>Linux</string>
  1701. </test>
  1702. <test name="family" qual="any" >
  1703. <string>Times</string>
  1704. <string>Nimbus Serif L</string>
  1705. <string>Times New Roman</string>
  1706. </test>
  1707. <edit binding="strong" mode="prepend" name="family" >
  1708. <string>DejaVu Serif</string>
  1709. </edit>
  1710. </match>
  1711.  
  1712.  
  1713.  
  1714.  
  1715. <!-- Infinality Appearance - Replace Various Fonts -->
  1716. <match target="font" >
  1717. <test name="replace_with_my_os_fonts" qual="any" >
  1718. <bool>true</bool>
  1719. </test>
  1720. <test name="rendering_style" qual="any" >
  1721. <string>Infinality</string>
  1722. </test>
  1723. <test name="family" qual="any" >
  1724. <string>Helvetica Neue</string>
  1725. </test>
  1726. <edit mode="assign" name="family" >
  1727. <string>Arial</string>
  1728. </edit>
  1729. </match>
  1730. <match target="pattern" name="family">
  1731. <test name="replace_with_my_os_fonts" qual="any" >
  1732. <bool>true</bool>
  1733. </test>
  1734. <test name="rendering_style" qual="any" >
  1735. <string>Infinality</string>
  1736. </test>
  1737. <test name="family" qual="any" >
  1738. <string>Helvetica Neue</string>
  1739. </test>
  1740. <edit binding="strong" mode="prepend" name="family" >
  1741. <string>Arial</string>
  1742. </edit>
  1743. </match>
  1744.  
  1745. <match target="pattern" name="family" >
  1746. <test name="replace_with_my_os_fonts" qual="any" >
  1747. <bool>true</bool>
  1748. </test>
  1749. <test name="rendering_style" qual="any" >
  1750. <string>Infinality</string>
  1751. </test>
  1752. <test name="family" qual="any" >
  1753. <string>Palatino</string>
  1754. </test>
  1755. <edit binding="strong" mode="prepend" name="family" >
  1756. <string>Palatino Linotype</string>
  1757. </edit>
  1758. </match>
  1759. <match target="font" >
  1760. <test name="replace_with_my_os_fonts" qual="any" >
  1761. <bool>true</bool>
  1762. </test>
  1763. <test name="rendering_style" qual="any" >
  1764. <string>Infinality</string>
  1765. </test>
  1766. <test name="family" qual="any" >
  1767. <string>Palatino</string>
  1768. </test>
  1769. <edit mode="assign" name="family" >
  1770. <string>Palatino Linotype</string>
  1771. </edit>
  1772. </match>
  1773.  
  1774. <match target="pattern" name="family" >
  1775. <test name="replace_with_my_os_fonts" qual="any" >
  1776. <bool>true</bool>
  1777. </test>
  1778. <test name="rendering_style" qual="any" >
  1779. <string>Infinality</string>
  1780. </test>
  1781. <test name="family" qual="any" >
  1782. <string>Helvetica</string>
  1783. </test>
  1784. <edit binding="strong" mode="prepend" name="family" >
  1785. <string>Arial</string>
  1786. </edit>
  1787. </match>
  1788. <match target="font" >
  1789. <test name="replace_with_my_os_fonts" qual="any" >
  1790. <bool>true</bool>
  1791. </test>
  1792. <test name="rendering_style" qual="any" >
  1793. <string>Infinality</string>
  1794. </test>
  1795. <test name="family" qual="any" >
  1796. <string>Helvetica</string>
  1797. </test>
  1798. <edit mode="assign" name="family" >
  1799. <string>Arial</string>
  1800. </edit>
  1801. </match>
  1802.  
  1803.  
  1804. <match target="pattern" name="family" >
  1805. <test name="replace_with_my_os_fonts" qual="any" >
  1806. <bool>true</bool>
  1807. </test>
  1808. <test name="rendering_style" qual="any" >
  1809. <string>Infinality</string>
  1810. </test>
  1811. <test name="family" qual="any" >
  1812. <string>Lucida Sans</string>
  1813. </test>
  1814. <edit binding="strong" mode="prepend" name="family" >
  1815. <string>Lucida Grande</string>
  1816. </edit>
  1817. </match>
  1818. <match target="font" >
  1819. <test name="replace_with_my_os_fonts" qual="any" >
  1820. <bool>true</bool>
  1821. </test>
  1822. <test name="rendering_style" qual="any" >
  1823. <string>Infinality</string>
  1824. </test>
  1825. <test name="family" qual="any" >
  1826. <string>Lucida Sans</string>
  1827. </test>
  1828. <edit mode="assign" name="family" >
  1829. <string>Lucida Grande</string>
  1830. </edit>
  1831. </match>
  1832.  
  1833.  
  1834.  
  1835.  
  1836. <!-- Custom Appearance - Replace With Your Choices -->
  1837. <!--<match target="font" >
  1838. <test name="replace_with_my_os_fonts" qual="any" >
  1839. <bool>true</bool>
  1840. </test>
  1841. <test name="rendering_style" qual="any" >
  1842. <string>Custom</string>
  1843. </test>
  1844. <test name="family" qual="any" >
  1845. <string>Nimbus Sans</string>
  1846. <string>Nimbus Sans L</string>
  1847. <string>Helvetica Neue</string>
  1848. <string>Helvetica</string>
  1849. <string>Liberation Sans</string>
  1850. <string>Freesans</string>
  1851. </test>
  1852. <edit mode="assign" name="family" >
  1853. <string>Arial</string>
  1854. </edit>
  1855. </match>
  1856. <match target="pattern" name="family">
  1857. <test name="replace_with_my_os_fonts" qual="any" >
  1858. <bool>true</bool>
  1859. </test>
  1860. <test name="rendering_style" qual="any" >
  1861. <string>Custom</string>
  1862. </test>
  1863. <test name="family" qual="any" >
  1864. <string>Nimbus Sans</string>
  1865. <string>Nimbus Sans L</string>
  1866. <string>Helvetica Neue</string>
  1867. <string>Helvetica</string>
  1868. <string>Liberation Sans</string>
  1869. <string>Freesans</string>
  1870. </test>
  1871. <edit binding="strong" mode="prepend" name="family" >
  1872. <string>Arial</string>
  1873. </edit>
  1874. </match>
  1875.  
  1876. <match target="font" >
  1877. <test name="replace_with_my_os_fonts" qual="any" >
  1878. <bool>true</bool>
  1879. </test>
  1880. <test name="rendering_style" qual="any" >
  1881. <string>Custom</string>
  1882. </test>
  1883. <test name="family" qual="any" >
  1884. <string>Bitstream Vera Sans</string>
  1885. <string>DejaVu Sans</string>
  1886. </test>
  1887. <edit mode="assign" name="family" >
  1888. <string>Verdana</string>
  1889. </edit>
  1890. </match>
  1891. <match target="pattern" name="family">
  1892. <test name="replace_with_my_os_fonts" qual="any" >
  1893. <bool>true</bool>
  1894. </test>
  1895. <test name="rendering_style" qual="any" >
  1896. <string>Custom</string>
  1897. </test>
  1898. <test name="family" qual="any" >
  1899. <string>Bitstream Vera Sans</string>
  1900. <string>DejaVu Sans</string>
  1901. </test>
  1902. <edit binding="strong" mode="prepend" name="family" >
  1903. <string>Verdana</string>
  1904. </edit>
  1905. </match>
  1906.  
  1907. <match target="font" >
  1908. <test name="replace_with_my_os_fonts" qual="any" >
  1909. <bool>true</bool>
  1910. </test>
  1911. <test name="rendering_style" qual="any" >
  1912. <string>Custom</string>
  1913. </test>
  1914. <test name="family" qual="any" >
  1915. <string>Courier</string>
  1916. <string>FreeMono</string>
  1917. <string>Nimbus Mono L</string>
  1918. </test>
  1919. <edit mode="assign" name="family" >
  1920. <string>Courier New</string>
  1921. </edit>
  1922. </match>
  1923. <match target="pattern" name="family">
  1924. <test name="replace_with_my_os_fonts" qual="any" >
  1925. <bool>true</bool>
  1926. </test>
  1927. <test name="rendering_style" qual="any" >
  1928. <string>Custom</string>
  1929. </test>
  1930. <test name="family" qual="any" >
  1931. <string>Courier</string>
  1932. <string>FreeMono</string>
  1933. <string>Nimbus Mono L</string>
  1934. </test>
  1935. <edit binding="strong" mode="prepend" name="family" >
  1936. <string>Courier New</string>
  1937. </edit>
  1938. </match>
  1939.  
  1940. <match target="font" >
  1941. <test name="replace_with_my_os_fonts" qual="any" >
  1942. <bool>true</bool>
  1943. </test>
  1944. <test name="rendering_style" qual="any" >
  1945. <string>Custom</string>
  1946. </test>
  1947. <test name="family" qual="any" >
  1948. <string>Times</string>
  1949. <string>DejaVu Serif</string>
  1950. <string>Nimbus Serif L</string>
  1951. <string>Liberation Serif</string>
  1952. </test>
  1953. <edit mode="assign" name="family" >
  1954. <string>Times New Roman</string>
  1955. </edit>
  1956. </match>
  1957. <match target="pattern" name="family">
  1958. <test name="replace_with_my_os_fonts" qual="any" >
  1959. <bool>true</bool>
  1960. </test>
  1961. <test name="rendering_style" qual="any" >
  1962. <string>Custom</string>
  1963. </test>
  1964. <test name="family" qual="any" >
  1965. <string>Times</string>
  1966. <string>DejaVu Serif</string>
  1967. <string>Nimbus Serif L</string>
  1968. <string>Liberation Serif</string>
  1969. </test>
  1970. <edit binding="strong" mode="prepend" name="family" >
  1971. <string>Times New Roman</string>
  1972. </edit>
  1973. </match>
  1974.  
  1975. <match target="pattern" name="family" >
  1976. <test name="replace_with_my_os_fonts" qual="any" >
  1977. <bool>true</bool>
  1978. </test>
  1979. <test name="rendering_style" qual="any" >
  1980. <string>Custom</string>
  1981. </test>
  1982. <test name="family" qual="any" >
  1983. <string>Palatino</string>
  1984. </test>
  1985. <edit binding="strong" mode="prepend" name="family" >
  1986. <string>Palatino Linotype</string>
  1987. </edit>
  1988. </match>
  1989. <match target="font" >
  1990. <test name="replace_with_my_os_fonts" qual="any" >
  1991. <bool>true</bool>
  1992. </test>
  1993. <test name="rendering_style" qual="any" >
  1994. <string>Custom</string>
  1995. </test>
  1996. <test name="family" qual="any" >
  1997. <string>Palatino</string>
  1998. </test>
  1999. <edit mode="assign" name="family" >
  2000. <string>Palatino Linotype</string>
  2001. </edit>
  2002. </match>
  2003.  
  2004. <match target="pattern" name="family" >
  2005. <test name="replace_with_my_os_fonts" qual="any" >
  2006. <bool>true</bool>
  2007. </test>
  2008. <test name="rendering_style" qual="any" >
  2009. <string>Custom</string>
  2010. </test>
  2011. <test name="family" qual="any" >
  2012. <string>Lucida Sans</string>
  2013. <string>Lucida Grande</string>
  2014. </test>
  2015. <edit binding="strong" mode="prepend" name="family" >
  2016. <string>Lucida Sans Unicode</string>
  2017. </edit>
  2018. </match>
  2019. <match target="font" >
  2020. <test name="replace_with_my_os_fonts" qual="any" >
  2021. <bool>true</bool>
  2022. </test>
  2023. <test name="rendering_style" qual="any" >
  2024. <string>Custom</string>
  2025. </test>
  2026. <test name="family" qual="any" >
  2027. <string>Lucida Sans</string>
  2028. <string>Lucida Grande</string>
  2029. </test>
  2030. <edit mode="assign" name="family" >
  2031. <string>Lucida Sans Unicode</string>
  2032. </edit>
  2033. </match>-->
  2034.  
  2035.  
  2036.  
  2037.  
  2038. <!-- Global Replacements - Active if set to true above -->
  2039. <!-- Add your own replacements here -->
  2040. <!-- Clone "match" blocks below for each replacement -->
  2041. <match target="font" >
  2042. <test name="enable_global_replacements" qual="any" >
  2043. <bool>true</bool>
  2044. </test>
  2045. <test name="family" qual="any" >
  2046. <string>FONT TO REPLACE 1</string>
  2047. </test>
  2048. <edit mode="assign" name="family" >
  2049. <string>REPLACEMENT FONT 1</string>
  2050. </edit>
  2051. </match>
  2052. <match target="pattern" name="family">
  2053. <test name="enable_global_replacements" qual="any" >
  2054. <bool>true</bool>
  2055. </test>
  2056. <test name="family" qual="any" >
  2057. <string>FONT TO REPLACE 1</string>
  2058. </test>
  2059. <edit binding="strong" mode="prepend" name="family" >
  2060. <string>REPLACEMENT FONT 1</string>
  2061. </edit>
  2062. </match>
  2063.  
  2064. <match target="font" >
  2065. <test name="enable_global_replacements" qual="any" >
  2066. <bool>true</bool>
  2067. </test>
  2068. <test name="family" qual="any" >
  2069. <string>FONT TO REPLACE 2</string>
  2070. </test>
  2071. <edit mode="assign" name="family" >
  2072. <string>REPLACEMENT FONT 2</string>
  2073. </edit>
  2074. </match>
  2075. <match target="pattern" name="family">
  2076. <test name="enable_global_replacements" qual="any" >
  2077. <bool>true</bool>
  2078. </test>
  2079. <test name="family" qual="any" >
  2080. <string>FONT TO REPLACE 2</string>
  2081. </test>
  2082. <edit binding="strong" mode="prepend" name="family" >
  2083. <string>REPLACEMENT FONT 2</string>
  2084. </edit>
  2085. </match>
  2086.  
  2087.  
  2088.  
  2089.  
  2090.  
  2091. <!-- This replacement handles the fonts here, which I recommend
  2092. in place of the default Terminus bitmap files:
  2093. http://files.ax86.net/terminus-ttf/4.30/
  2094.  
  2095. Note that Terminus will only look good at the pixel sizes that
  2096. it was designed for!
  2097. -->
  2098. <match target="font" >
  2099. <test name="family" qual="any" >
  2100. <string>Terminus</string>
  2101. </test>
  2102. <edit mode="assign" name="family" >
  2103. <string>Terminus (ttf)</string>
  2104. </edit>
  2105. </match>
  2106. <match target="pattern" name="family">
  2107. <test name="family" qual="any" >
  2108. <string>Terminus</string>
  2109. </test>
  2110. <edit binding="strong" mode="prepend" name="family" >
  2111. <string>Terminus (ttf)</string>
  2112. </edit>
  2113. </match>
  2114.  
  2115.  
  2116.  
  2117. <!-- ****************************************************************** -->
  2118. <!-- ******************** CORRECTIVE REPLACEMENTS ******************** -->
  2119. <!-- ****************************************************************** -->
  2120.  
  2121. <!-- Replace "Arial" with black weight, with font "Arial Black" -->
  2122. <match target="pattern">
  2123. <test name="family" compare="eq" target="default">
  2124. <string>Arial</string>
  2125. </test>
  2126. <test compare="more" name="weight" >
  2127. <const>bold</const>
  2128. </test>
  2129. <edit name="family" mode="prepend" binding="same">
  2130. <string>Arial Black</string>
  2131. </edit>
  2132. <edit name="weight" mode="assign">
  2133. <const>black</const>
  2134. </edit>
  2135. </match>
  2136.  
  2137. <!-- Fix poorly specified font family names -->
  2138. <match target="pattern" name="family">
  2139. <test name="family" qual="any" >
  2140. <string>Trebuchet</string>
  2141. </test>
  2142. <edit binding="strong" mode="prepend" name="family" >
  2143. <string>Trebuchet MS</string>
  2144. </edit>
  2145. </match>
  2146. <match target="font" >
  2147. <test name="family" qual="any" >
  2148. <string>Trebuchet</string>
  2149. </test>
  2150. <edit mode="assign" name="family" >
  2151. <string>Trebuchet MS</string>
  2152. </edit>
  2153. </match>
  2154.  
  2155.  
  2156.  
  2157.  
  2158.  
  2159. <!-- ****************************************************************** -->
  2160. <!-- ******************* BASE RENDERING SETTINGSS ******************** -->
  2161. <!-- ****************************************************************** -->
  2162.  
  2163. <!-- These are the base settings for all rendered fonts.
  2164. We modify them for specific fonts later. -->
  2165.  
  2166. <match target="font" >
  2167. <test name="rendering_style" qual="any" >
  2168. <string>Infinality</string>
  2169. </test>
  2170. <edit mode="assign" name="rgba" >
  2171. <const>rgb</const>
  2172. </edit>
  2173. <edit mode="assign" name="hinting" >
  2174. <bool>true</bool>
  2175. </edit>
  2176. <edit mode="assign" name="autohint" >
  2177. <bool>true</bool>
  2178. </edit>
  2179. <edit mode="assign" name="antialias" >
  2180. <bool>true</bool>
  2181. </edit>
  2182. <edit mode="assign" name="hintstyle" >
  2183. <const>hintslight</const>
  2184. </edit>
  2185. <edit name="lcdfilter" mode="assign">
  2186. <const>lcddefault</const>
  2187. </edit>
  2188. </match>
  2189.  
  2190. <match target="font" >
  2191. <test name="rendering_style" qual="any">
  2192. <string>Windows 7</string>
  2193. </test>
  2194. <edit mode="assign" name="rgba" >
  2195. <const>rgb</const>
  2196. </edit>
  2197. <edit mode="assign" name="hinting" >
  2198. <bool>true</bool>
  2199. </edit>
  2200. <edit mode="assign" name="autohint" >
  2201. <bool>false</bool>
  2202. </edit>
  2203. <edit mode="assign" name="antialias" >
  2204. <bool>true</bool>
  2205. </edit>
  2206. <edit mode="assign" name="hintstyle" >
  2207. <const>hintfull</const>
  2208. </edit>
  2209. <edit name="lcdfilter" mode="assign">
  2210. <const>lcddefault</const>
  2211. </edit>
  2212. </match>
  2213.  
  2214. <match target="font" >
  2215. <test name="rendering_style" qual="any">
  2216. <string>Windows XP</string>
  2217. </test>
  2218. <edit mode="assign" name="rgba" >
  2219. <const>rgb</const>
  2220. </edit>
  2221. <edit mode="assign" name="hinting" >
  2222. <bool>true</bool>
  2223. </edit>
  2224. <edit mode="assign" name="autohint" >
  2225. <bool>false</bool>
  2226. </edit>
  2227. <edit mode="assign" name="antialias" >
  2228. <bool>true</bool>
  2229. </edit>
  2230. <edit mode="assign" name="hintstyle" >
  2231. <const>hintfull</const>
  2232. </edit>
  2233. <edit name="lcdfilter" mode="assign">
  2234. <const>lcddefault</const>
  2235. </edit>
  2236. </match>
  2237.  
  2238. <match target="font" >
  2239. <test name="rendering_style" qual="any">
  2240. <string>Windows 98</string>
  2241. </test>
  2242. <edit mode="assign" name="rgba" >
  2243. <const>rgb</const>
  2244. </edit>
  2245. <edit mode="assign" name="hinting" >
  2246. <bool>true</bool>
  2247. </edit>
  2248. <edit mode="assign" name="autohint" >
  2249. <bool>false</bool>
  2250. </edit>
  2251. <edit mode="assign" name="antialias" >
  2252. <bool>false</bool>
  2253. </edit>
  2254. <edit mode="assign" name="hintstyle" >
  2255. <const>hintfull</const>
  2256. </edit>
  2257. <edit name="lcdfilter" mode="assign">
  2258. <const>lcddefault</const>
  2259. </edit>
  2260. </match>
  2261.  
  2262. <match target="font" >
  2263. <test name="rendering_style" qual="any">
  2264. <string>OSX</string>
  2265. </test>
  2266. <edit mode="assign" name="rgba" >
  2267. <const>rgb</const>
  2268. </edit>
  2269. <edit mode="assign" name="hinting" >
  2270. <bool>true</bool>
  2271. </edit>
  2272. <edit mode="assign" name="autohint" >
  2273. <bool>true</bool>
  2274. </edit>
  2275. <edit mode="assign" name="antialias" >
  2276. <bool>true</bool>
  2277. </edit>
  2278. <edit mode="assign" name="hintstyle" >
  2279. <const>hintslight</const>
  2280. </edit>
  2281. <edit name="lcdfilter" mode="assign">
  2282. <const>lcddefault</const>
  2283. </edit>
  2284. </match>
  2285.  
  2286. <match target="font" >
  2287. <test name="rendering_style" qual="any">
  2288. <string>OSX2</string>
  2289. </test>
  2290. <edit mode="assign" name="rgba" >
  2291. <const>rgb</const>
  2292. </edit>
  2293. <edit mode="assign" name="hinting" >
  2294. <bool>false</bool>
  2295. </edit>
  2296. <edit mode="assign" name="autohint" >
  2297. <bool>false</bool>
  2298. </edit>
  2299. <edit mode="assign" name="antialias" >
  2300. <bool>true</bool>
  2301. </edit>
  2302. <edit mode="assign" name="hintstyle" >
  2303. <const>hintnone</const>
  2304. </edit>
  2305. <edit name="lcdfilter" mode="assign">
  2306. <const>lcddefault</const>
  2307. </edit>
  2308. </match>
  2309.  
  2310. <match target="font" >
  2311. <test name="rendering_style" qual="any">
  2312. <string>Linux</string>
  2313. </test>
  2314. <edit mode="assign" name="rgba" >
  2315. <const>rgb</const>
  2316. </edit>
  2317. <edit mode="assign" name="hinting" >
  2318. <bool>true</bool>
  2319. </edit>
  2320. <edit mode="assign" name="autohint" >
  2321. <bool>true</bool>
  2322. </edit>
  2323. <edit mode="assign" name="antialias" >
  2324. <bool>true</bool>
  2325. </edit>
  2326. <edit mode="assign" name="hintstyle" >
  2327. <const>hintslight</const>
  2328. </edit>
  2329. <edit name="lcdfilter" mode="assign">
  2330. <const>lcddefault</const>
  2331. </edit>
  2332. </match>
  2333.  
  2334. <!-- CUSTOM -->
  2335. <!--
  2336. <match target="font" >
  2337. <test name="rendering_style" qual="any">
  2338. <string>Custom</string>
  2339. </test>
  2340. <edit mode="assign" name="rgba" >
  2341. <const>rgb</const>
  2342. </edit>
  2343. <edit mode="assign" name="hinting" >
  2344. <bool>true</bool>
  2345. </edit>
  2346. <edit mode="assign" name="autohint" >
  2347. <bool>true</bool>
  2348. </edit>
  2349. <edit mode="assign" name="antialias" >
  2350. <bool>true</bool>
  2351. </edit>
  2352. <edit mode="assign" name="hintstyle" >
  2353. <const>hintslight</const>
  2354. </edit>
  2355. <edit name="lcdfilter" mode="assign">
  2356. <const>lcddefault</const>
  2357. </edit>
  2358. </match> -->
  2359.  
  2360.  
  2361. <!-- ****************************************************************** -->
  2362. <!-- ************************* FONT GROUPS **************************** -->
  2363. <!-- ****************************************************************** -->
  2364.  
  2365. <!-- Full Subpixel BCI for these fonts. (Cleartype-like, circa Windows XP/Vista/7) -->
  2366. <!-- These will take advantage of subpixel hinting if infinality patch installed. -->
  2367. <!-- This should only be used by fonts that contain good TrueType instructions -->
  2368.  
  2369. <match target="font" >
  2370. <test name="force_autohint" qual="any" >
  2371. <bool>false</bool>
  2372. </test>
  2373. <test name="family" qual="any" >
  2374. <string>Arimo</string>
  2375. <string>Cousine</string>
  2376. <string>Tinos</string>
  2377. <string>Ubuntu</string>
  2378. <string>Andale Mono</string>
  2379. <string>Andalus</string>
  2380. <string>Angsana New</string>
  2381. <string>AngsanaUPC</string>
  2382. <string>Aquabase</string>
  2383. <string>Arial Black</string>
  2384. <string>Arial MT</string>
  2385. <string>Arial Narrow</string>
  2386. <string>Arial SF MT</string>
  2387. <string>Arial Unicode MS</string>
  2388. <string>Arial</string>
  2389. <string>ArialMT</string>
  2390. <string>Bitstream Vera Sans Mono</string>
  2391. <string>Bitstream Vera Sans</string>
  2392. <string>Bitstream Vera Serif</string>
  2393. <string>Book Antiqua</string>
  2394. <string>Bookman Old Style</string>
  2395. <string>Browallia New</string>
  2396. <string>BrowalliaUPC</string>
  2397. <string>Calibri</string>
  2398. <string>Cambria</string>
  2399. <string>Candara</string>
  2400. <string>Century Gothic</string>
  2401. <string>Chalkduster</string>
  2402. <string>Charcoal CY</string>
  2403. <string>Charcoal</string>
  2404. <string>Charis SIL</string>
  2405. <string>Chicago</string>
  2406. <string>Comic Sans MS</string>
  2407. <string>Consolas</string>
  2408. <string>Constantia</string>
  2409. <string>Copperplate</string>
  2410. <string>Corbel</string>
  2411. <string>Cordia New</string>
  2412. <string>CordiaUPC</string>
  2413. <string>Courier 10 Pitch</string>
  2414. <string>Courier New</string>
  2415. <string>Courier</string>
  2416. <string>Dark Courier</string>
  2417. <string>DejaVu LGC Sans Mono</string>
  2418. <string>DejaVu Sans Mono</string>
  2419. <string>DejaVu Sans</string>
  2420. <string>DejaVu Serif</string>
  2421. <string>Estrangelo Edessa</string>
  2422. <string>Euphemia</string>
  2423. <string>FrankRuehl</string>
  2424. <string>Franklin Gothic Medium</string>
  2425. <string>Futura</string>
  2426. <string>Georgia</string>
  2427. <string>Gotham Book</string>
  2428. <string>Gotham Light</string>
  2429. <string>Gotham Medium</string>
  2430. <string>Guatami</string>
  2431. <string>Impact</string>
  2432. <string>Latha</string>
  2433. <string>Levinim MT</string>
  2434. <string>Liberation Mono</string>
  2435. <string>Liberation Sans</string>
  2436. <string>Liberation Serif</string>
  2437. <string>Lucida Console</string>
  2438. <string>Lucida Grande</string>
  2439. <string>Lucida Sans Unicode</string>
  2440. <string>Luxi Mono</string>
  2441. <string>Malgun Gothic</string>
  2442. <string>Microsoft Himalaya</string>
  2443. <string>Microsoft JhengHei</string>
  2444. <string>Microsoft Sans Serif</string>
  2445. <string>Microsoft Uighur</string>
  2446. <string>Microsoft YaHei</string>
  2447. <string>Microsoft Yi Baiti</string>
  2448. <string>Miriam Fixed</string>
  2449. <string>Molengo</string>
  2450. <string>Monaco</string>
  2451. <string>Mongolian Baiti</string>
  2452. <string>MoolBoran</string>
  2453. <string>Narkisim</string>
  2454. <string>Nina</string>
  2455. <string>Nyala</string>
  2456. <string>Padauk</string>
  2457. <string>Palatino Linotype</string>
  2458. <string>Plantagenet Cherokee</string>
  2459. <string>Raavi</string>
  2460. <string>Segoe UI</string>
  2461. <string>Segoe UI Semibold</string>
  2462. <string>TITUS Cyberbit Basic</string>
  2463. <string>Tahoma</string>
  2464. <string>Times New Roman</string>
  2465. <string>Traditional Arabic</string>
  2466. <string>Trebuchet MS</string>
  2467. <string>Tunga</string>
  2468. <string>Verdana</string>
  2469. <string>Vrinda</string>
  2470. <string>Yanone Kaffeesatz</string>
  2471.  
  2472. </test>
  2473. <edit mode="assign" name="font_type" target="font">
  2474. <string>TT Instructed Font</string>
  2475. </edit>
  2476. </match>
  2477.  
  2478. <match target="font" >
  2479. <test name="font_type" qual="any" >
  2480. <string>TT Instructed Font</string>
  2481. </test>
  2482. <test name="rendering_style" qual="any" >
  2483. <string>Infinality</string>
  2484. <string>Windows 7</string>
  2485. <string>Windows XP</string>
  2486. </test>
  2487. <edit mode="assign" name="antialias" >
  2488. <bool>true</bool>
  2489. </edit>
  2490. <edit mode="assign" name="hintstyle" >
  2491. <const>hintfull</const>
  2492. </edit>
  2493. <edit mode="assign" name="autohint" >
  2494. <bool>false</bool>
  2495. </edit>
  2496. </match>
  2497.  
  2498. <match target="font" >
  2499. <test name="font_type" qual="any" >
  2500. <string>TT Instructed Font</string>
  2501. </test>
  2502. <test name="rendering_style" qual="any" >
  2503. <string>Windows 98</string>
  2504. </test>
  2505. <edit mode="assign" name="antialias" >
  2506. <bool>false</bool>
  2507. </edit>
  2508. <edit mode="assign" name="hintstyle" >
  2509. <const>hintfull</const>
  2510. </edit>
  2511. <edit mode="assign" name="autohint" >
  2512. <bool>false</bool>
  2513. </edit>
  2514. </match>
  2515.  
  2516. <match target="font" >
  2517. <test name="font_type" qual="any" >
  2518. <string>TT Instructed Font</string>
  2519. </test>
  2520. <test name="rendering_style" qual="any" >
  2521. <string>OSX</string>
  2522. </test>
  2523. <edit mode="assign" name="antialias" >
  2524. <bool>true</bool>
  2525. </edit>
  2526. <edit mode="assign" name="hintstyle" >
  2527. <const>hintslight</const>
  2528. </edit>
  2529. <edit mode="assign" name="autohint" >
  2530. <bool>true</bool>
  2531. </edit>
  2532. </match>
  2533.  
  2534. <match target="font" >
  2535. <test name="font_type" qual="any" >
  2536. <string>TT Instructed Font</string>
  2537. </test>
  2538. <test name="rendering_style" qual="any" >
  2539. <string>OSX2</string>
  2540. </test>
  2541. <edit mode="assign" name="antialias" >
  2542. <bool>true</bool>
  2543. </edit>
  2544. <edit mode="assign" name="hintstyle" >
  2545. <const>hintnone</const>
  2546. </edit>
  2547. <edit mode="assign" name="autohint" >
  2548. <bool>true</bool>
  2549. </edit>
  2550. </match>
  2551.  
  2552. <match target="font" >
  2553. <test name="font_type" qual="any" >
  2554. <string>TT Instructed Font</string>
  2555. </test>
  2556. <test name="rendering_style" qual="any" >
  2557. <string>Linux</string>
  2558. </test>
  2559. <edit mode="assign" name="antialias" >
  2560. <bool>true</bool>
  2561. </edit>
  2562. <edit mode="assign" name="hintstyle" >
  2563. <const>hintslight</const>
  2564. </edit>
  2565. <edit mode="assign" name="autohint" >
  2566. <bool>true</bool>
  2567. </edit>
  2568. </match>
  2569.  
  2570. <!-- Custom -->
  2571. <!--<match target="font" >
  2572. <test name="font_type" qual="any" >
  2573. <string>TT Instructed Font</string>
  2574. </test>
  2575. <test name="rendering_style" qual="any" >
  2576. <string>Custom</string>
  2577. </test>
  2578. <edit mode="assign" name="antialias" >
  2579. <bool>true</bool>
  2580. </edit>
  2581. <edit mode="assign" name="hintstyle" >
  2582. <const>hintnone</const>
  2583. </edit>
  2584. <edit mode="assign" name="autohint" >
  2585. <bool>true</bool>
  2586. </edit>
  2587. </match>-->
  2588.  
  2589. <!-- Make these fonts use autohint slight hinting -->
  2590. <!-- Makes only horizontal stems align to pixels. Truer to glyph -->
  2591. <match target="font" >
  2592. <test name="family" qual="any" >
  2593. <string>AR PL ShanHeiSun Uni</string>
  2594. <string>American Typewriter</string>
  2595. <string>Apple Chancery</string>
  2596. <string>Apple Garamond Light</string>
  2597. <string>Apple Garamond</string>
  2598. <string>AppleGothic</string>
  2599. <string>Apple Symbols</string>
  2600. <string>Arabic Typesetting</string>
  2601. <string>Baekmuk Gulim</string>
  2602. <string>Baskerville</string>
  2603. <string>Big Caslon</string>
  2604. <string>Bitstream Charter</string>
  2605. <string>BrushScript</string>
  2606. <string>Cantarell</string>
  2607. <string>CantarellRegular</string>
  2608. <string>Cantarell Regular</string>
  2609. <string>Cardo</string>
  2610. <string>Century Schoolbook L</string>
  2611. <string>Century</string>
  2612. <string>Charis SIL</string>
  2613. <string>Chalkboard</string>
  2614. <string>CMU Bright</string>
  2615. <string>Cochin</string>
  2616. <string>Comfortaa</string>
  2617. <string>Comfortaa Regular</string>
  2618. <string>ComfortaaRegular</string>
  2619. <string>Courier Std</string>
  2620. <string>Courier10 BT</string>
  2621. <string>Crimson Text</string>
  2622. <string>David</string>
  2623. <string>Delicious</string>
  2624. <string>Didot</string>
  2625. <string>DilenniaUPC</string>
  2626. <string>District</string>
  2627. <string>DokChampa</string>
  2628. <string>Droid Sans Mono</string>
  2629. <string>Droid Sans</string>
  2630. <string>Droid Serif</string>
  2631. <string>Dutch801 Rm BT</string>
  2632. <string>EucrosiaUPC</string>
  2633. <string>FreeMono</string>
  2634. <string>FreeSans</string>
  2635. <string>FreeSerif</string>
  2636. <string>FreesiaUPC</string>
  2637. <string>Frutiger LT Std</string>
  2638. <string>Frutiger Linotype</string>
  2639. <string>Frutiger-Normal</string>
  2640. <string>Garamond</string>
  2641. <string>Gautami</string>
  2642. <string>Geneva CY</string>
  2643. <string>Geneva Regular</string>
  2644. <string>Geneva</string>
  2645. <string>Gentium</string>
  2646. <string>Gill Sans</string>
  2647. <string>Hard Gothic</string>
  2648. <string>Helvetica</string>
  2649. <string>Helvetica CY</string>
  2650. <string>Helvetica Neue</string>
  2651. <string>Herculanum</string>
  2652. <string>Hoefler Text</string>
  2653. <string>IM Fell</string>
  2654. <string>Inconsolata</string>
  2655. <string>IrisUPC</string>
  2656. <string>JasmineUPC</string>
  2657. <string>Jomolhari</string>
  2658. <string>Josefin Sans Std Light</string>
  2659. <string>Kai</string>
  2660. <string>Kalinga</string>
  2661. <string>KodchiangUPC</string>
  2662. <string>Laconic</string>
  2663. <string>Lacuna</string>
  2664. <string>Levenim MT</string>
  2665. <string>LilyUPC</string>
  2666. <string>LilyUPC</string>
  2667. <string>Linux Biolinum</string>
  2668. <string>Linux Libertine</string>
  2669. <string>Lobster</string>
  2670. <string>Lohit Bengali</string>
  2671. <string>Lohit Gujarati</string>
  2672. <string>Lohit Hindi</string>
  2673. <string>Lohit Hindi</string>
  2674. <string>Lohit Kannada</string>
  2675. <string>Lohit Malayalam</string>
  2676. <string>Lohit Oriya</string>
  2677. <string>Lohit Punjabi</string>
  2678. <string>Lohit Tamil</string>
  2679. <string>Lohit Telugu</string>
  2680. <string>Lucida Sans Std</string>
  2681. <string>Luxi Sans</string>
  2682. <string>Luxi Serif</string>
  2683. <string>M+ 2p</string>
  2684. <string>Marker Felt</string>
  2685. <string>Megalopolis</string>
  2686. <string>MetaMedium-Roman</string>
  2687. <string>Metabook-Roman</string>
  2688. <string>MgOpen Canonica</string>
  2689. <string>MgOpen Cosmetica</string>
  2690. <string>MgOpen Modata</string>
  2691. <string>MgOpen Moderna</string>
  2692. <string>Myriad Pro</string>
  2693. <string>Miriam</string>
  2694. <string>MS Mincho</string>
  2695. <string>MyriadRegular</string>
  2696. <string>Neuton</string>
  2697. <string>Nimbus Roman No9 L</string>
  2698. <string>Nimbus Mono L</string>
  2699. <string>Nimbus Sans</string>
  2700. <string>Nimbus Sans L</string>
  2701. <string>Nobile</string>
  2702. <string>Nobile002</string>
  2703. <string>Nobile-bold</string>
  2704. <string>Nobile-italic002</string>
  2705. <string>Nobile-bold-italic002</string>
  2706. <string>OFL Sorts Mill Goudy TT</string>
  2707. <string>Ocean Sans Std</string>
  2708. <string>Old Standard TT</string>
  2709. <string>Optima</string>
  2710. <string>OTS derived font</string>
  2711. <string>OTS derivied font</string> <!-- bug in chrome code? -->
  2712. <string>Palladio</string>
  2713. <string>Papyrus</string>
  2714. <string>PrimaSans BT</string>
  2715. <string>proxima-nova-1</string>
  2716. <string>proxima-nova-2</string>
  2717. <string>proxima nova</string>
  2718. <string>proxima nova bold</string>
  2719. <string>proxima nova regular</string>
  2720. <string>Reenie Beanie</string>
  2721. <string>SimHei</string>
  2722. <string>Skia</string>
  2723. <string>Swansea</string>
  2724. <string>Swiss721</string>
  2725. <string>Sylfaen</string>
  2726. <string>Tangerine</string>
  2727. <string>Times LT Std</string>
  2728. <string>Times New Roman MT Std</string>
  2729. <string>Times Roman</string>
  2730. <string>Times Ten LT Std</string>
  2731. <string>Univers LT Std</string>
  2732. <string>URWClassico</string>
  2733. <string>Utopia</string>
  2734. <string>Verdimka</string>
  2735. <string>Vollkorn</string>
  2736. <string>Yanone Kaffeesatz</string>
  2737. <string>Zapfino</string>
  2738. <string>cmbx10</string>
  2739. <string>cmex10</string>
  2740. <string>cmmi10</string>
  2741. <string>cmr10</string>
  2742. <string>cmsy10</string>
  2743. <string>cmtt10</string>
  2744. <string>eufm10</string>
  2745. <string>msam10</string>
  2746. <string>msbm10</string>
  2747. <string>wasy10</string>
  2748. <string>Eurostile LT Std</string>
  2749. </test>
  2750. <edit mode="assign" name="font_type" target="font">
  2751. <string>NON TT Instructed Font</string>
  2752. </edit>
  2753. </match>
  2754.  
  2755. <match target="font" >
  2756. <test name="rendering_style" qual="any" >
  2757. <string>Infinality</string>
  2758. <string>Windows 7</string>
  2759. <string>Windows XP</string>
  2760. <string>Linux</string>
  2761. </test>
  2762. <test name="font_type" target="font">
  2763. <string>NON TT Instructed Font</string>
  2764. </test>
  2765. <edit mode="assign" name="autohint" >
  2766. <bool>true</bool>
  2767. </edit>
  2768. <edit mode="assign" name="hintstyle" >
  2769. <const>hintslight</const>
  2770. </edit>
  2771. <edit mode="assign" name="hinting" >
  2772. <bool>true</bool>
  2773. </edit>
  2774. <edit mode="assign" name="antialias" >
  2775. <bool>true</bool>
  2776. </edit>
  2777. </match>
  2778.  
  2779. <!-- For Windows 98 do "smooth edges" for these non-BCI fonts -->
  2780. <match target="font" >
  2781. <test name="rendering_style" qual="any" >
  2782. <string>Windows 98</string>
  2783. </test>
  2784. <test name="font_type" target="font">
  2785. <string>NON TT Instructed Font</string>
  2786. </test>
  2787. <edit mode="assign" name="rgba" >
  2788. <const>none</const>
  2789. </edit>
  2790. <edit mode="assign" name="hinting" >
  2791. <bool>true</bool>
  2792. </edit>
  2793. <edit mode="assign" name="autohint" >
  2794. <bool>true</bool>
  2795. </edit>
  2796. <edit mode="assign" name="antialias" >
  2797. <bool>true</bool>
  2798. </edit>
  2799. </match>
  2800.  
  2801. <!-- Custom -->
  2802. <!--<match target="font" >
  2803. <test name="rendering_style" qual="any" >
  2804. <string>Infinality</string>
  2805. <string>Windows 7</string>
  2806. <string>Windows XP</string>
  2807. <string>Linux</string>
  2808. </test>
  2809. <test name="font_type" target="font">
  2810. <string>NON TT Instructed Font</string>
  2811. </test>
  2812. <edit mode="assign" name="autohint" >
  2813. <bool>true</bool>
  2814. </edit>
  2815. <edit mode="assign" name="hintstyle" >
  2816. <const>hintslight</const>
  2817. </edit>
  2818. <edit mode="assign" name="hinting" >
  2819. <bool>true</bool>
  2820. </edit>
  2821. <edit mode="assign" name="antialias" >
  2822. <bool>true</bool>
  2823. </edit>
  2824. </match> -->
  2825.  
  2826. <!-- For Windows 98 do "smooth edges" for Bold Fonts over 14 px -->
  2827. <match target="font" >
  2828. <test name="rendering_style" qual="any" >
  2829. <string>Windows 98</string>
  2830. </test>
  2831. <test name="weight" compare="more">
  2832. <const>medium</const>
  2833. </test>
  2834. <test compare="more_eq" name="pixelsize" qual="any" >
  2835. <double>14</double>
  2836. </test>
  2837. <edit mode="assign" name="rgba" >
  2838. <const>none</const>
  2839. </edit>
  2840. <edit mode="assign" name="hinting" >
  2841. <bool>true</bool>
  2842. </edit>
  2843. <edit mode="assign" name="autohint" >
  2844. <bool>false</bool>
  2845. </edit>
  2846. <edit mode="assign" name="antialias" >
  2847. <bool>true</bool>
  2848. </edit>
  2849. </match>
  2850.  
  2851. <!-- For Windows 98 do "smooth edges" for fonts above 17 px -->
  2852. <match target="font" >
  2853. <test name="rendering_style" qual="any" >
  2854. <string>Windows 98</string>
  2855. </test>
  2856. <test compare="more_eq" name="pixelsize" qual="any" >
  2857. <double>18</double>
  2858. </test>
  2859. <edit mode="assign" name="rgba" >
  2860. <const>none</const>
  2861. </edit>
  2862. <edit mode="assign" name="hinting" >
  2863. <bool>true</bool>
  2864. </edit>
  2865. <edit mode="assign" name="autohint" >
  2866. <bool>false</bool>
  2867. </edit>
  2868. <edit mode="assign" name="antialias" >
  2869. <bool>true</bool>
  2870. </edit>
  2871. </match>
  2872.  
  2873. <!-- Replace "Lucida Grande 9px bold with Lucida Sans Unicode -->
  2874. <match target="pattern">
  2875. <test name="rendering_style" qual="any" >
  2876. <string>Infinality</string>
  2877. </test>
  2878. <test name="family" compare="eq" target="default">
  2879. <string>Lucida Grande</string>
  2880. </test>
  2881. <test compare="more_eq" name="pixelsize" qual="any" >
  2882. <double>9.5</double>
  2883. </test>
  2884. <test compare="less" name="pixelsize" qual="any" >
  2885. <double>10.5</double>
  2886. </test>
  2887. <edit name="family" mode="prepend" binding="same">
  2888. <string>Lucida Sans Unicode</string>
  2889. </edit>
  2890. </match>
  2891.  
  2892. <!-- OVERRIDE ABOVE SETTINGS -->
  2893. <!-- Monochrome BCI for these fonts (circa Windows 98) -->
  2894. <!-- This will make them look like bitmap fonts. Good for monospace -->
  2895. <!-- This should only be used by fonts that contain TrueType instructions -->
  2896. <match target="font" >
  2897. <test name="family" qual="any" >
  2898. <string>FONT NAME HERE</string>
  2899. <!--<string>Courier New</string>
  2900. <string>Andale Mono</string>
  2901. <string>Monaco</string>
  2902. <string>Lucida Console</string>
  2903. <string>Liberation Mono</string>
  2904. <string>DejaVu Sans Mono</string>-->
  2905. </test>
  2906. <edit mode="assign" name="hinting" >
  2907. <bool>true</bool>
  2908. </edit>
  2909. <edit mode="assign" name="autohint" >
  2910. <bool>false</bool>
  2911. </edit>
  2912. <edit mode="assign" name="antialias" >
  2913. <bool>false</bool>
  2914. </edit>
  2915. <edit mode="assign" name="hintstyle" >
  2916. <const>hintfull</const>
  2917. </edit>
  2918. </match>
  2919.  
  2920. <!-- OVERRIDE ABOVE SETTINGS -->
  2921. <!-- Make these fonts use no antialiasing or hinting (circa DOS / X11) -->
  2922. <!--<match target="font" >
  2923. <test name="family" qual="any" >
  2924. <string>ProFontWindows</string>
  2925. <string>Terminus</string>
  2926. <string>Terminus (ttf)</string>
  2927. </test>
  2928. <edit mode="assign" name="hintstyle" >
  2929. <const>hintnone</const>
  2930. </edit>
  2931. <edit mode="assign" name="antialias" >
  2932. <bool>false</bool>
  2933. </edit>
  2934. <edit mode="assign" name="hinting" >
  2935. <bool>false</bool>
  2936. </edit>
  2937. <edit name="prefer_bitmap">
  2938. <bool>true</bool>
  2939. </edit>
  2940. </match> -->
  2941.  
  2942.  
  2943. <!-- OVERRIDE ABOVE SETTINGS -->
  2944. <!-- Full autohint -->
  2945. <!-- Makes vertical/horizontal stems align to pixels, but is not true to the glyphs -->
  2946. <!-- Some glyphs may look forced into place, however they are very sharp -->
  2947. <!--<match target="font" >
  2948. <test name="family" qual="any" >
  2949. <string>FONT NAME HERE</string>
  2950. </test>
  2951. <edit mode="assign" name="hinting" >
  2952. <bool>true</bool>
  2953. </edit>
  2954. <edit mode="assign" name="autohint" >
  2955. <bool>true</bool>
  2956. </edit>
  2957. <edit mode="assign" name="antialias" >
  2958. <bool>true</bool>
  2959. </edit>
  2960. <edit mode="assign" name="hintstyle" >
  2961. <const>hintfull</const>
  2962. </edit>
  2963. </match>-->
  2964.  
  2965. <!-- OVERRIDE ABOVE SETTINGS -->
  2966. <!-- Light autohint on italics -->
  2967. <!-- Use for anything that is full auto or TT hinted above -->
  2968. <!--<match target="font" >
  2969. <test name="family" qual="any" >
  2970. <string>FONT NAME HERE</string>
  2971. </test>
  2972. <test target="pattern" compare="not_eq" name="slant" >
  2973. <const>roman</const>
  2974. </test>
  2975. <edit mode="assign" name="hinting" >
  2976. <bool>true</bool>
  2977. </edit>
  2978. <edit mode="assign" name="autohint" >
  2979. <bool>true</bool>
  2980. </edit>
  2981. <edit mode="assign" name="antialias" >
  2982. <bool>true</bool>
  2983. </edit>
  2984. <edit mode="assign" name="hintstyle" >
  2985. <const>hintslight</const>
  2986. </edit>
  2987. </match>-->
  2988.  
  2989.  
  2990. <!-- ****************************************************************** -->
  2991. <!-- ***************** FORCED ARTIFICIAL ITALIC / BOLD **************** -->
  2992. <!-- ****************************************************************** -->
  2993.  
  2994. <!-- "Unforced" artificial/italic already included in /etc/fonts/conf.d/ rules -->
  2995.  
  2996. <!-- Force artificial italic instead of the font's default italic -->
  2997. <!-- In rare cases this is more visually appealing -->
  2998. <!-- Set the flag -->
  2999. <!-- !!!! Somehow this breaks Qt unfortunately !!!! -->
  3000. <match target="pattern">
  3001. <test target="font" compare="eq" name="family" qual="any" >
  3002. <string>FONT NAME HERE</string>
  3003. </test>
  3004.  
  3005. <!-- match requests for non-roman face -->
  3006. <test name="slant" compare="not_eq" >
  3007. <const>roman</const>
  3008. </test>
  3009.  
  3010. <!-- remember that this should be slanted -->
  3011. <edit name="fake_slant">
  3012. <bool>true</bool>
  3013. </edit>
  3014.  
  3015. <!--- change to match a roman face instead -->
  3016. <edit name="slant">
  3017. <const>roman</const>
  3018. </edit>
  3019. </match>
  3020.  
  3021. <!-- Force flagged fonts to have artificial oblique -->
  3022. <match target="font" >
  3023. <!-- check to see if the font is roman -->
  3024. <test name="slant" >
  3025. <const>roman</const>
  3026. </test>
  3027. <!-- look for fonts which were marked for fake obliquing -->
  3028. <test name="fake_slant">
  3029. <bool>true</bool>
  3030. </test>
  3031. <!-- multiply the matrix to slant the font -->
  3032. <edit mode="assign" name="matrix" >
  3033. <times>
  3034. <name>matrix</name>
  3035. <matrix>
  3036. <double>1.0</double>
  3037. <double>0.2</double>
  3038. <double>0</double>
  3039. <double>1</double>
  3040. </matrix>
  3041. </times>
  3042. </edit>
  3043. <!-- pretend the font is oblique now -->
  3044. <edit mode="assign" name="slant" >
  3045. <const>oblique</const>
  3046. </edit>
  3047. </match>
  3048.  
  3049.  
  3050. <!-- Force fake bold instead of the font's default bold -->
  3051. <!-- In rare cases this is more visually appealing -->
  3052. <!-- !!!! Somehow this breaks Qt unfortunately !!!! -->
  3053. <!-- Set the flag -->
  3054. <match target="pattern">
  3055. <test target="font" compare="eq" name="family" qual="any" >
  3056. <string>FONT NAME HERE</string>
  3057. </test>
  3058.  
  3059. <!-- match requests for bold face -->
  3060. <test name="weight" compare="more">
  3061. <const>medium</const>
  3062. </test>
  3063.  
  3064. <!-- remember that this should be bolded -->
  3065. <edit name="fake_bold">
  3066. <bool>true</bool>
  3067. </edit>
  3068.  
  3069. <!--- change to match a medium weight instead -->
  3070. <edit name="weight">
  3071. <const>medium</const>
  3072. </edit>
  3073. </match>
  3074.  
  3075. <!-- Force flagged fonts to have artificial bold -->
  3076. <match target="font" >
  3077. <!-- look for fonts which were marked for fake bolding -->
  3078. <test name="fake_bold">
  3079. <bool>true</bool>
  3080. </test>
  3081. <!-- Set the embolden flag -->
  3082. <edit name="embolden" mode="assign">
  3083. <bool>true</bool>
  3084. </edit>
  3085. <!-- pretend the font is bold now -->
  3086. <edit mode="assign" name="weight" >
  3087. <const>bold</const>
  3088. </edit>
  3089. </match>
  3090.  
  3091.  
  3092.  
  3093. <!-- Prevent BCI fonts in Win98 mode from getting artificial italic -->
  3094. <match target="font">
  3095. <test name="rendering_style" qual="any" >
  3096. <string>Windows 98</string>
  3097. </test>
  3098. <test name="font_type" target="font">
  3099. <string>TT Instructed Font</string>
  3100. </test>
  3101. <!-- check to see if the font is roman -->
  3102. <test name="slant" >
  3103. <const>roman</const>
  3104. </test>
  3105. <!-- match requests for non-roman face -->
  3106. <test target="pattern" name="slant" compare="not_eq">
  3107. <const>roman</const>
  3108. </test>
  3109. <!-- pretend the font is oblique now -->
  3110. <edit mode="assign" name="slant" >
  3111. <const>oblique</const>
  3112. </edit>
  3113. </match>
  3114.  
  3115. <!-- Prevent BCI fonts in Win98 mode from getting artificial emboldened -->
  3116. <match target="font">
  3117. <test name="rendering_style" qual="any" >
  3118. <string>Windows 98</string>
  3119. </test>
  3120. <test name="font_type" target="font">
  3121. <string>TT Instructed Font</string>
  3122. </test>
  3123. <!-- check to see if the font is just regular -->
  3124. <test name="weight" compare="less_eq">
  3125. <const>medium</const>
  3126. </test>
  3127. <!-- check to see if the pattern requests bold -->
  3128. <test target="pattern" name="weight" compare="more">
  3129. <const>medium</const>
  3130. </test>
  3131. <!-- pretend it's bold now -->
  3132. <edit name="weight" mode="assign">
  3133. <const>bold</const>
  3134. </edit>
  3135. </match>
  3136.  
  3137. <!-- Prevent bold-ish fonts from being emboldened -->
  3138. <match target="font">
  3139. <!-- check to see if the font is just regular -->
  3140. <test name="weight" compare="more_eq">
  3141. <const>semibold</const>
  3142. </test>
  3143. <!-- check to see if the pattern requests bold -->
  3144. <test target="pattern" name="weight" compare="eq">
  3145. <const>bold</const>
  3146. </test>
  3147. <!-- pretend it's bold now -->
  3148. <edit name="weight" mode="assign">
  3149. <const>bold</const>
  3150. </edit>
  3151. </match>
  3152.  
  3153. <!-- Prevent thin-ish fonts from being emboldened -->
  3154. <match target="font">
  3155. <!-- check to see if the font is just regular -->
  3156. <test name="weight" compare="less">
  3157. <const>book</const>
  3158. </test>
  3159. <!-- check to see if the pattern requests bold -->
  3160. <test target="pattern" name="weight" compare="eq">
  3161. <const>bold</const>
  3162. </test>
  3163. <!-- pretend it's bold now -->
  3164. <edit name="weight" mode="assign">
  3165. <const>bold</const>
  3166. </edit>
  3167. </match>
  3168.  
  3169.  
  3170. <!-- ****************************************************************** -->
  3171. <!-- ************************ FINAL SETTINGS ************************** -->
  3172. <!-- ****************************************************************** -->
  3173.  
  3174. <!-- Use matrix settings to transform a font -->
  3175.  
  3176. <!-- Slightly stretch a font -->
  3177. <!-- Does not work with Google Chrome, but does in Firefox
  3178. <match target="font">
  3179. <test name="rendering_style" qual="any" >
  3180. <string>Infinality</string>
  3181. <string>Windows 7</string>
  3182. <string>Windows XP</string>
  3183. </test>
  3184. <test name="family" qual="any" >
  3185. <string>Some font</string>
  3186. </test>
  3187. <test compare="less" name="weight" >
  3188. <const>bold</const>
  3189. </test>
  3190. <test compare="more_eq" name="pixelsize" qual="any" >
  3191. <double>9.5</double>
  3192. </test>
  3193. <test compare="less" name="pixelsize" qual="any" >
  3194. <double>10.5</double>
  3195. </test>
  3196. <edit mode="assign" name="matrix" >
  3197. <times>
  3198. <name>matrix</name>
  3199. <matrix>
  3200. <double>1.1</double>
  3201. <double>0.0</double>
  3202. <double>0.0</double>
  3203. <double>1.0</double>
  3204. </matrix>
  3205. </times>
  3206. </edit>
  3207. </match> -->
  3208.  
  3209.  
  3210. <!-- All fonts should use slight hinting below 8.5 px -->
  3211. <match target="font" >
  3212. <test name="rendering_style" qual="any" >
  3213. <string>Infinality</string>
  3214. <string>Windows 7</string>
  3215. <string>Windows XP</string>
  3216. </test>
  3217. <test compare="less" name="pixelsize" qual="any" >
  3218. <double>8.5</double>
  3219. </test>
  3220. <edit mode="assign" name="hintstyle" >
  3221. <const>hintslight</const>
  3222. </edit>
  3223. <edit mode="assign" name="autohint" >
  3224. <bool>true</bool>
  3225. </edit>
  3226. </match>
  3227.  
  3228. <!-- These full hinted fonts should use slight hinting below 12 px -->
  3229. <match target="font" >
  3230. <test name="family" qual="any" >
  3231. <string>Arial Black</string>
  3232. </test>
  3233. <test name="rendering_style" qual="any" >
  3234. <string>Infinality</string>
  3235. <string>Windows 7</string>
  3236. <string>Windows XP</string>
  3237. <string>Windows 98</string>
  3238. <string>Linux</string>
  3239. </test>
  3240. <test compare="less" name="pixelsize" qual="any" >
  3241. <double>11.5</double>
  3242. </test>
  3243. <edit mode="assign" name="hintstyle" >
  3244. <const>hintslight</const>
  3245. </edit>
  3246. <edit mode="assign" name="autohint" >
  3247. <bool>true</bool>
  3248. </edit>
  3249. </match>
  3250.  
  3251. <!-- These full hinted fonts should use slight hinting below 14 px -->
  3252. <match target="font" >
  3253. <test name="family" qual="any" >
  3254. <string>Aquabase</string>
  3255. <string>Browallia New</string>
  3256. <string>BrowalliaUPC</string>
  3257. </test>
  3258. <test name="rendering_style" qual="any" >
  3259. <string>Infinality</string>
  3260. <string>Windows 7</string>
  3261. <string>Windows XP</string>
  3262. <string>Windows 98</string>
  3263. <string>Linux</string>
  3264. </test>
  3265. <test compare="less" name="pixelsize" qual="any" >
  3266. <double>13.5</double>
  3267. </test>
  3268. <edit mode="assign" name="hintstyle" >
  3269. <const>hintslight</const>
  3270. </edit>
  3271. <edit mode="assign" name="autohint" >
  3272. <bool>true</bool>
  3273. </edit>
  3274. </match>
  3275.  
  3276. <!-- Italic Courier looks bad with BCI hinting -->
  3277. <match target="font" >
  3278. <test name="family" qual="any" >
  3279. <string>Courier</string>
  3280. </test>
  3281. <test name="rendering_style" qual="any" >
  3282. <string>Infinality</string>
  3283. <string>Windows 7</string>
  3284. <string>Windows XP</string>
  3285. <string>Windows 98</string>
  3286. <string>Linux</string>
  3287. </test>
  3288. <!-- match requests for non-roman face -->
  3289. <test name="slant" compare="not_eq" >
  3290. <const>roman</const>
  3291. </test>
  3292. <edit mode="assign" name="hintstyle" >
  3293. <const>hintslight</const>
  3294. </edit>
  3295. <edit mode="assign" name="autohint" >
  3296. <bool>true</bool>
  3297. </edit>
  3298. </match>
  3299.  
  3300.  
  3301. <!-- Rescan configuration every 10 seconds when FcFontSetList is called -->
  3302. <rescan>
  3303. <int>10</int>
  3304. </rescan>
  3305.  
  3306.  
  3307. <!-- ****************************************************************** -->
  3308. <!-- ************************** DEBUGGING ***************************** -->
  3309. <!-- ****************************************************************** -->
  3310.  
  3311.  
  3312. <!-- Global Override for Debugging -->
  3313. <!--
  3314. <match target="font" >
  3315. <edit mode="assign" name="rgba" >
  3316. <const>rgb</const>
  3317. </edit>
  3318. <edit mode="assign" name="hinting" >
  3319. <bool>true</bool>
  3320. </edit>
  3321. <edit mode="assign" name="autohint" >
  3322. <bool>false</bool>
  3323. </edit>
  3324. <edit mode="assign" name="antialias" >
  3325. <bool>true</bool>
  3326. </edit>
  3327. <edit mode="assign" name="hintstyle" >
  3328. <const>hintfull</const>
  3329. </edit>
  3330. <edit name="lcdfilter" mode="assign">
  3331. <const>lcddefault</const>
  3332. </edit>
  3333. </match>
  3334. -->
  3335.  
  3336. </fontconfig>
  3337.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement