-
Notifications
You must be signed in to change notification settings - Fork 61
ADD font face selection #145
base: develop
Are you sure you want to change the base?
Conversation
@@ -10,6 +10,7 @@ | |||
<script src="builds/single-bundle/readium-shared-js_all.js" type="text/javascript"></script> | |||
|
|||
<script src="epubReadingSystem.js" type="text/javascript"></script> | |||
<script src="font-faces/fonts.js" type="text/javascript"></script> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is the font-faces/fonts.js
file missing from this PR?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh sorry, it is dynamically resolved (HTTP route): https://github.com/readium/SDKLauncher-Android/pull/145/files#diff-da5def91bcae4c49b677f23482bf2658R522
// reader.html | ||
if (mime.equals("application/xhtml+xml")) { | ||
mime = "text/html"; | ||
} | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah! Tabulations vs. space characters! :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
My apologies, I chose the wrong option on Android Studio
Inspired from readium-js-viewer, this pull request add a spinner to the ViewerSettingsDialog to choose the font face.
4 choices are available :