Skip to content

Add fontLayoutCache option#938

Merged
blikblum merged 2 commits intofoliojs:masterfrom
blikblum:font-cache
Mar 3, 2019
Merged

Add fontLayoutCache option#938
blikblum merged 2 commits intofoliojs:masterfrom
blikblum:font-cache

Conversation

@blikblum
Copy link
Copy Markdown
Member

@blikblum blikblum commented Mar 3, 2019

What kind of change does this PR introduce?

Add fontCache option

#932

What is the current behavior?

The font layout is always cached

What is the new behavior?

If fontCache option is passed to document as false, the layout is not cached

Checklist:

  • Tests (preference for unit tests)
  • Documentation
  • Update CHANGELOG.md
  • Ready to be merged

Pending: a better name?
Edit: renamed to fontLayoutCache since is a technically more correct and to not confound with the font instance cache

@blikblum blikblum changed the title Add fontCache option Add fontLayoutCache option Mar 3, 2019
@blikblum blikblum merged commit 38d9a2a into foliojs:master Mar 3, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant