Skip to content

Commit

Permalink
[11_6] Detect font paths properly on Debian
Browse files Browse the repository at this point in the history
Co-authored-by: 沈浪熊猫儿 <shenda@ustc.edu>
Reviewed-on: https://codeberg.org/XmacsLabs/mogan/pulls/45
  • Loading branch information
Darcy Shen and 沈浪熊猫儿 committed May 17, 2023
1 parent e8f011b commit 1ce916a
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions src/Plugins/Freetype/tt_file.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -92,12 +92,8 @@ tt_font_path () {
search_sub_dirs ("/usr/share/fonts/truetype") |
search_sub_dirs ("/usr/local/share/fonts/opentype") |
search_sub_dirs ("/usr/local/share/fonts/truetype") |
search_sub_dirs ("/usr/local/texlive/2020/texmf-dist/fonts/opentype") |
search_sub_dirs ("/usr/local/texlive/2020/texmf-dist/fonts/truetype") |
search_sub_dirs ("/usr/local/texlive/2021/texmf-dist/fonts/opentype") |
search_sub_dirs ("/usr/local/texlive/2021/texmf-dist/fonts/truetype") |
search_sub_dirs ("/usr/local/texlive/2022/texmf-dist/fonts/opentype") |
search_sub_dirs ("/usr/local/texlive/2022/texmf-dist/fonts/truetype");
search_sub_dirs ("/usr/share/texlive/texmf-dist/fonts/opentype") |
search_sub_dirs ("/usr/share/texlive/texmf-dist/fonts/truetype");
#endif
}

Expand Down

0 comments on commit 1ce916a

Please sign in to comment.