spacepaste

  1.  
  2. diff -Naur a/fontconfig/56-emojione-color.conf b/fontconfig/56-emojione-color.conf
  3. --- a/fontconfig/56-emojione-color.conf 2017-09-01 00:43:09.731562311 -0300
  4. +++ b/fontconfig/56-emojione-color.conf 2017-09-01 00:46:17.341566002 -0300
  5. @@ -26,104 +26,28 @@
  6. fc-match -s monospace
  7. -->
  8. <fontconfig>
  9. - <match target="font">
  10. - <!-- If the requested font is Bitstream Vera Serif -->
  11. - <test name="family" compare="eq">
  12. - <string>Bitstream Vera Serif</string>
  13. - </test>
  14. - <!-- Replace the entire match list with Bitstream Vera Serif alone -->
  15. - <edit name="family" mode="assign_replace">
  16. - <string>Bitstream Vera Serif</string>
  17. - </edit>
  18. - <!-- Assign the serif family -->
  19. - <edit name="family" mode="append_last">
  20. - <string>serif</string>
  21. - </edit>
  22. - </match>
  23. -
  24. - <match>
  25. - <!-- If the requested font is serif -->
  26. - <test qual="any" name="family">
  27. - <string>serif</string>
  28. - </test>
  29. - <!-- Make Bitstream Vera Serif the first result -->
  30. - <edit name="family" mode="prepend_first">
  31. - <string>Bitstream Vera Serif</string>
  32. - </edit>
  33. - <!-- Followed by EmojiOne Color -->
  34. - <edit name="family" mode="prepend_first">
  35. - <string>EmojiOne Color</string>
  36. - </edit>
  37. - </match>
  38. -
  39. - <match target="font">
  40. - <!-- If the requested font is Bitstream Vera Sans -->
  41. - <test name="family" compare="eq">
  42. - <string>Bitstream Vera Sans</string>
  43. - </test>
  44. - <!-- Replace the entire match list with Bitstream Vera Sans alone -->
  45. - <edit name="family" mode="assign_replace">
  46. - <string>Bitstream Vera Sans</string>
  47. - </edit>
  48. - <!-- Assign the sans-serif family -->
  49. - <edit name="family" mode="append_last">
  50. - <string>sans-serif</string>
  51. - </edit>
  52. - </match>
  53. -
  54. - <match target="pattern">
  55. - <!-- If the requested font is sans-serif -->
  56. - <test qual="any" name="family">
  57. - <string>sans-serif</string>
  58. - </test>
  59. - <!-- Make Bitstream Vera Sans the first result -->
  60. - <edit name="family" mode="prepend_first">
  61. - <string>Bitstream Vera Sans</string>
  62. - </edit>
  63. - <!-- Followed by EmojiOne Color -->
  64. - <edit name="family" mode="prepend_first">
  65. - <string>EmojiOne Color</string>
  66. - </edit>
  67. - </match>
  68. -
  69. - <match target="font">
  70. - <!-- If the requested font is Bitstream Vera Sans Mono -->
  71. - <test name="family" compare="eq">
  72. - <string>Bitstream Vera Sans Mono</string>
  73. - </test>
  74. - <!-- Replace the entire match list with Bitstream Vera Sans Mono alone -->
  75. - <edit name="family" mode="assign_replace">
  76. - <string>Bitstream Vera Sans Mono</string>
  77. - </edit>
  78. - <!-- Assign the monospace family last -->
  79. - <edit name="family" mode="append_last">
  80. - <string>monospace</string>
  81. - </edit>
  82. - </match>
  83. -
  84. - <match target="pattern">
  85. - <!-- If the requested font is monospace -->
  86. - <test qual="any" name="family">
  87. - <string>monospace</string>
  88. - </test>
  89. - <!--
  90. - Make Bitstream Vera Sans Mono the first result
  91. - Note: If you want a different monospace font, this is where you change it.
  92. - -->
  93. - <edit name="family" mode="prepend_first">
  94. - <string>Bitstream Vera Sans Mono</string>
  95. - </edit>
  96. - <!-- Followed by EmojiOne Color -->
  97. - <edit name="family" mode="prepend_first">
  98. - <string>EmojiOne Color</string>
  99. - </edit>
  100. - </match>
  101. -
  102. - <!-- Add emoji generic family -->
  103. - <alias binding="strong">
  104. - <family>emoji</family>
  105. - <default><family>EmojiOne Color</family></default>
  106. - </alias>
  107. + <alias>
  108. + <family>sans-serif</family>
  109. + <prefer>
  110. + <family>EmojiOne Color</family>
  111. + <family>Bitstream Vera Sans</family>
  112. + </prefer>
  113. + </alias>
  114. + <alias>
  115. + <family>serif</family>
  116. + <prefer>
  117. + <family>EmojiOne Color</family>
  118. + <family>Bitstream Vera Serif</family>
  119. + </prefer>
  120. + </alias>
  121. +
  122. + <alias>
  123. + <family>monospace</family>
  124. + <prefer>
  125. + <family>EmojiOne Color</family>
  126. + <family>Bitstream Vera Sans Mono</family>
  127. + </prefer>
  128. + </alias>
  129. <!-- Alias requests for the other emoji fonts -->
  130. <alias binding="strong">
  131.