Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lvfntman: factorize LVFreeTypeFace::loadFromBuffer|loadFromFile #598

Merged
merged 1 commit into from
Aug 2, 2024

Conversation

benoit-pierre
Copy link
Contributor

@benoit-pierre benoit-pierre commented Aug 2, 2024

Additionally:

  • don't look at _fileName (possibly set from a previous call) when loading from buffer
  • better error handling: Clear on error (and before loading a new font)

This change is Reviewable

Additionally:
- don't look at `_fileName` (possibly set from a previous call) when loading from buffer
- better error handling: `Clear` on error (and before loading a new font)
@poire-z poire-z merged commit 2f8f74f into koreader:master Aug 2, 2024
1 check passed
@benoit-pierre benoit-pierre deleted the pr/factorize_lvfntman branch August 2, 2024 19:38
benoit-pierre added a commit to benoit-pierre/koreader-base that referenced this pull request Aug 12, 2024
Frenzie pushed a commit to koreader/koreader-base that referenced this pull request Aug 12, 2024
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.

2 participants