FontSubstitution.xml 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104
  1. <?xml version="1.0" encoding="us-ascii"?>
  2. <AssetDeclaration xmlns="uri:ea.com:eala:asset">
  3. <!--
  4. Font substitutions go in here
  5. The Font manager will interpolate sizes between adjacent values, and will
  6. always use the font name specified for the value less than or equal to the
  7. font size requested. Values are clamped to the lowest and highest sizes
  8. specified. Adding the Bold attribute in the FontDesc tag will replace a
  9. font with the bold version.
  10. EXAMPLE:
  11. <FontSubstitution Name="Albertus MT"> ( Substitute requests for Albertus MT font )
  12. <Substitute Size="10">
  13. <Font Name="Arial" Size="10" />
  14. </Substitute>
  15. <Substitute Size="20">
  16. <Font Name="Arial" Size="16" />
  17. </Substitute>
  18. <Substitute Size="24">
  19. <Font Name="Times New Roman" Size="18" />
  20. </Substitute>
  21. <Substitute Size="48">
  22. <Font Name="Times New Roman" Size="36" />
  23. </Substitute>
  24. </FontSubstitution>
  25. i.e. in the above example
  26. Requesting 9pts or below, will return 10pt Arial
  27. Requesting 10pts, will return 10pt Arial
  28. Requesting 15pts, will return 13pt Arial
  29. Requesting 22pts, will return 17pt Arial ( because it uses the font name from the lower size, but still interpolates between the two values )
  30. Requesting 24pts, will return 18pt Times New Roman
  31. Requesting 72pts, will return 36pt Times New Roman
  32. -->
  33. <!--
  34. <FontSubstitution Name="Courier New" id="CourierNew">
  35. <Substitute Size="2">
  36. <Font Name="Lucida Sans Unicode" Size="2" />
  37. </Substitute>
  38. <Substitute Size="1000">
  39. <Font Name="Lucida Sans Unicode" Size="1000" />
  40. </Substitute>
  41. </FontSubstitution>
  42. -->
  43. <FontSubstitution Name="Arial" id="Arial">
  44. <Substitute Size="2">
  45. <Font Name="Lucida Sans Unicode" Size="2" />
  46. </Substitute>
  47. <Substitute Size="1000">
  48. <Font Name="Lucida Sans Unicode" Size="1000" />
  49. </Substitute>
  50. </FontSubstitution>
  51. <FontSubstitution Name="Lucida Sans" id="LucidaSans">
  52. <Substitute Size="2">
  53. <Font Name="Lucida Sans Unicode" Size="2" />
  54. </Substitute>
  55. <Substitute Size="1000">
  56. <Font Name="Lucida Sans Unicode" Size="1000" />
  57. </Substitute>
  58. </FontSubstitution>
  59. <FontSubstitution Name="Times New Roman" id="TimesNewRoman">
  60. <Substitute Size="2">
  61. <Font Name="Lucida Sans" Size="2" />
  62. </Substitute>
  63. <Substitute Size="1000">
  64. <Font Name="Lucida Sans" Size="1000" />
  65. </Substitute>
  66. </FontSubstitution>
  67. <FontSubstitution Name="RussellSquare" id="RussellSquare">
  68. <Substitute Size="2">
  69. <Font Name="Lucida Sans Unicode" Size="2" />
  70. </Substitute>
  71. <Substitute Size="1000">
  72. <Font Name="Lucida Sans Unicode" Size="1000" />
  73. </Substitute>
  74. </FontSubstitution>
  75. <FontSubstitution Name="Red Alert" id="RedAlert">
  76. <Substitute Size="2">
  77. <Font Name="Red Alert Extended" Size="2" />
  78. </Substitute>
  79. <Substitute Size="1000">
  80. <Font Name="Red Alert Extended" Size="1000" />
  81. </Substitute>
  82. </FontSubstitution>
  83. </AssetDeclaration>