-
Notifications
You must be signed in to change notification settings - Fork 102
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Load user style sheet when loading HTML from MuPDF
HTML here means all the HTML based formats that MuPDF handles. Since MuPDF supports @font-face, we can now change the font family of a rendered `.txt` file with, for example, the following code in `css/html-user.css`: ```css @font-face { font-family: "Source Code"; src: url("fonts/SourceCodeVariable-Roman.otf"); } pre { font-family: "Source Code"; } ``` Fixes #358.
- Loading branch information
1 parent
fad6eb2
commit 6771ea0
Showing
2 changed files
with
13 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters