From ccfcca885f5885ed63bbf3c369a0c83f56a8f104 Mon Sep 17 00:00:00 2001 From: cormullion Date: Sat, 13 Jan 2024 09:10:10 +0000 Subject: [PATCH] font lists --- .github/workflows/ci.yml | 2 +- docs/src/explanation/fonts.md | 106 +++++++++++++++++----------------- 2 files changed, 55 insertions(+), 53 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9c342b33..5685b986 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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 diff --git a/docs/src/explanation/fonts.md b/docs/src/explanation/fonts.md index 53ccdec0..a3810cd7 100644 --- a/docs/src/explanation/fonts.md +++ b/docs/src/explanation/fonts.md @@ -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
Code for this figure ``` @@ -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