Skip to content

Commit

Permalink
font lists
Browse files Browse the repository at this point in the history
  • Loading branch information
cormullion committed Jan 13, 2024
1 parent 567ac1c commit ccfcca8
Show file tree
Hide file tree
Showing 2 changed files with 55 additions and 53 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ jobs:
sudo cp ~/.julia/packages/MathTeXEngine/*/assets/fonts/ComputerModern/*.ttf /usr/local/share/fonts/ &&
sudo cp ~/.julia/packages/MathTeXEngine/*/assets/fonts/NewComputerModern/NewCM* /usr/local/share/fonts/ &&
fc-cache -rv &&
fc-list
fc-list -v | grep postscriptname
- run: |
julia --project=docs -e '
using Documenter: doctest
Expand Down
106 changes: 54 additions & 52 deletions docs/src/explanation/fonts.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ DocTestSetup = quote

# Fonts available on Linux CI systems

When this docmnent is built on Github CI, the following fonts are available.

```@raw html
<details closed><summary>Code for this figure</summary>
```
Expand All @@ -15,71 +17,71 @@ This code generates the figure below.
```@example fonts
using Luxor
fonts = ["Lato-Hairline",
"Lato-Hairline",
"Lato-HairlineItalic",
"Lato-Thin",
"Lato-ThinItalic",
"Lato-Light",
"Lato-LightItalic",
"Lato-Semibold",
"Lato-SemiboldItalic",
"Lato-Bold",
"Lato-BoldItalic",
"Lato-Italic",
"Lato-Regular",
"Lato-RegularItalic",
"Lato-Medium",
"Lato-MediumItalic",
"Lato-Heavy",
"Lato-HeavyItalic",
"Lato-Black",
"Lato-BlackItalic",
fonts = ["LatoHairline",
"LatoHairline",
"LatoHairlineItalic",
"LatoThin",
"LatoThinItalic",
"LatoLight",
"LatoLightItalic",
"LatoSemibold",
"LatoSemiboldItalic",
"LatoBold",
"LatoBoldItalic",
"LatoItalic",
"LatoRegular",
"LatoRegularItalic",
"LatoMedium",
"LatoMediumItalic",
"LatoHeavy",
"LatoHeavyItalic",
"LatoBlack",
"LatoBlackItalic",
#
"LiberationMono-Regular",
"LiberationMono-Bold",
"LiberationMono-BoldItalic",
"LiberationMono-Italic",
"LiberationMonoRegular",
"LiberationMonoBold",
"LiberationMonoBoldItalic",
"LiberationMonoItalic",
#
"LiberationSans-Regular",
"LiberationSans-Bold",
"LiberationSans-BoldItalic",
"LiberationSans-Italic",
"LiberationSansRegular",
"LiberationSansBold",
"LiberationSansBoldItalic",
"LiberationSansItalic",
#
"LiberationSansNarrow-Regular",
"LiberationSansNarrow-Bold",
"LiberationSansNarrow-BoldItalic",
"LiberationSansNarrow-Italic",
"LiberationSansNarrowRegular",
"LiberationSansNarrowBold",
"LiberationSansNarrowBoldItalic",
"LiberationSansNarrowItalic",
#
"LiberationSerif-Regular",
"LiberationSerif-Italic",
"LiberationSerif-Bold",
"LiberationSerif-BoldItalic",
"LiberationSerifRegular",
"LiberationSerifItalic",
"LiberationSerifBold",
"LiberationSerifBoldItalic",
# "DejaVuMathTeXGyre",
"DejaVuSans",
"DejaVuSans-ExtraLight",
"DejaVuSans-Bold",
"DejaVuSans-BoldOblique",
"DejaVuSans-Oblique",
"DejaVuSansExtraLight",
"DejaVuSansBold",
"DejaVuSansBoldOblique",
"DejaVuSansOblique",
#
"DejaVuSansCondensed",
"DejaVuSansCondensed-Oblique",
"DejaVuSansCondensed-Bold",
"DejaVuSansCondensed-BoldOblique",
"DejaVuSansCondensedOblique",
"DejaVuSansCondensedBold",
"DejaVuSansCondensedBoldOblique",
#
"DejaVuSansMono",
"DejaVuSansMono-Bold",
"DejaVuSansMono-BoldOblique",
"DejaVuSansMono-Oblique",
"DejaVuSansMonoBold",
"DejaVuSansMonoBoldOblique",
"DejaVuSansMonoOblique",
#
"DejaVuSerif",
"DejaVuSerif-Italic",
"DejaVuSerif-Bold",
"DejaVuSerif-BoldItalic",
"DejaVuSerifItalic",
"DejaVuSerifBold",
"DejaVuSerifBoldItalic",
"DejaVuSerifCondensed",
"DejaVuSerifCondensed-Italic",
"DejaVuSerifCondensed-Bold",
"DejaVuSerifCondensed-BoldItalic",
"DejaVuSerifCondensedItalic",
"DejaVuSerifCondensedBold",
"DejaVuSerifCondensedBoldItalic",
]
function drawfonts()
d = @drawsvg begin
Expand Down

0 comments on commit ccfcca8

Please sign in to comment.