Skip to content

Instantly share code, notes, and snippets.

@tinbotu
Created October 6, 2022 04:12
Show Gist options
  • Save tinbotu/fbe81a747afcbf3a8106bf698d2d8ee1 to your computer and use it in GitHub Desktop.
Save tinbotu/fbe81a747afcbf3a8106bf698d2d8ee1 to your computer and use it in GitHub Desktop.
adding fonts to lilypond 2.22.2 on Microsoft Windows /usr/etc/fonts/fonts.conf (to write in local.conf does not make it valid!)
--- /usr/etc/fonts/fonts.conf~ 2020-04-07 22:16:26.000000000 +0900
+++ /usr/etc/fonts/fonts.conf 2022-10-06 12:42:06.551214300 +0900
@@ -2,6 +2,11 @@
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<!-- /etc/fonts/fonts.conf file to configure system font access -->
<fontconfig>
<!--
DO NOT EDIT THIS FILE.
@@ -24,7 +29,7 @@
<!-- Font directory list -->
<dir>WINDOWSFONTDIR</dir>
+ <dir>/Users/windowsuserid/AppData/Local/Microsoft/Windows/Fonts</dir>
<dir prefix="xdg">fonts</dir>
<!-- the following element will be removed in the future -->
<dir>~/.fonts</dir>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment