Skip to content

Commit

Permalink
Fix JuliaMono CSS to support all weights/variants (#1784)
Browse files Browse the repository at this point in the history
Previous CSS file only supported JuliaMono Regular, which could create some spacings issues (see #1780). Now light/bold/italic font variations should use the proper font files, instead of faux-bolding/italicizing.
  • Loading branch information
mostol authored Apr 5, 2022
1 parent d2ed9b8 commit a85f244
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

## Unreleased

* ![Enhancement][badge-enhancement] Update CSS source file for JuliaMono, so that all font variations are included (not just `JuliaMono Regular`) and that the latest version (0.039 -> 0.044) of the font would be used. ([#1780][github-1780], [#1784][github-1784])
* ![Bugfix][badge-bugfix] Fix `strict` mode to properly print errors, not just a warnings. ([#1756][github-1756], [#1776][github-1776])

## Version `v0.27.15`
Expand Down Expand Up @@ -992,6 +993,8 @@
[github-1773]: https://github.com/JuliaDocs/Documenter.jl/pull/1773
[github-1774]: https://github.com/JuliaDocs/Documenter.jl/pull/1774
[github-1776]: https://github.com/JuliaDocs/Documenter.jl/pull/1776
[github-1780]: https://github.com/JuliaDocs/Documenter.jl/issues/1780
[github-1784]: https://github.com/JuliaDocs/Documenter.jl/pull/1784

[julia-38079]: https://github.com/JuliaLang/julia/issues/38079
[julia-39841]: https://github.com/JuliaLang/julia/pull/39841
Expand Down
2 changes: 1 addition & 1 deletion src/Writers/HTMLWriter.jl
Original file line number Diff line number Diff line change
Expand Up @@ -522,7 +522,7 @@ module RD

const requirejs_cdn = "https://cdnjs.cloudflare.com/ajax/libs/require.js/2.3.6/require.min.js"
const lato = "https://cdnjs.cloudflare.com/ajax/libs/lato-font/3.0.0/css/lato-font.min.css"
const juliamono = "https://cdnjs.cloudflare.com/ajax/libs/juliamono/0.039/juliamono-regular.css"
const juliamono = "https://cdnjs.cloudflare.com/ajax/libs/juliamono/0.044/juliamono.css"
const fontawesome_version = "5.15.3"
const fontawesome_css = [
"https://cdnjs.cloudflare.com/ajax/libs/font-awesome/$(fontawesome_version)/css/fontawesome.min.css",
Expand Down

0 comments on commit a85f244

Please sign in to comment.