Conversation
This is necessary for MacOS.
Contributor
Author
|
@willcrichton would you mind checking that this fixes the problem on your version of MacOSX? |
Collaborator
|
This works, but produces warnings: |
Closed
Contributor
Author
|
I've decided (somewhat arbitrarily) to default to Times New Roman, with fallbacks to Arial and Helvetica in the event that the first doesn't exist on the system. Though I generally use Inter as my preferred sans-serif font, it's not commonly installed on systems and so isn't reasonable to assume. |
breezykermo
added a commit
that referenced
this pull request
Jan 25, 2026
* Adds mechanism to conditionally check EPUB (#68) * Updates git submodules to latest * Updates git submodules to latest * Returns "epub" in target() during EPUB compilation * Updates git submodules to latest * Extracts XHTML content from EPUB archives for testing * Saves EPUB XHTML content to reference files during test updates * Verifies EPUB XHTML content against reference files during tests * Tests target() function behavior in imported modules * Adds XHTML reference files for all EPUB tests * Updates EPUB module reference output to desired behavior * Injects target() override into all Typst files during EPUB compilation * Tests target() override in Typst Universe packages * Uses sys.inputs for EPUB target detection instead of target() override * Documents sys.inputs.rheo-target pattern for EPUB detection * Injects target() polyfill using sys.inputs for EPUB compilation * Documents sys.inputs.rheo-target for library developers * Updates git submodules to latest * Fixes lints * Updates git submodules to latest * Renders <br/> tags as self-closing in EPUB (#70) * Renders <br/> tags in EPUB * Fixes lints * Corrects doc links in README (#76) * Defaults to reasonable font (#77) * Defaults to reasonable font This is necessary for MacOS. * Use Times New Roman as a default font * Release 0.1.1
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This is necessary for MacOS. Closes #74.