mirror of
https://github.com/crosspoint-reader/crosspoint-reader.git
synced 2026-04-29 10:26:52 -07:00
Add Cyrillic range to fonts (#27)
* Enhance TOC parsing and chapter selection logic - Update .gitignore to include additional paths - Refactor Epub::parseContentOpf to improve NCX item retrieval - Modify ContentOpfParser to store media type in ManifestItem - Implement rebuildVisibleSpineIndices in EpubReaderChapterSelectionScreen for better chapter navigation - Adjust rendering logic to handle empty chapter lists gracefully * Refactor TOC parsing logic to streamline cover image and NCX item retrieval * add cyrillic ranges * revert * clang format fix
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
.pio
|
||||
.idea
|
||||
.DS_Store
|
||||
.vscode
|
||||
lib/EpdFont/fontsrc
|
||||
|
||||
+3977
-2552
File diff suppressed because it is too large
Load Diff
+4216
-2673
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -54,7 +54,7 @@ intervals = [
|
||||
# (0x0370, 0x03FF),
|
||||
### Cyrillic ###
|
||||
# Russian, Ukrainian, Bulgarian, etc.
|
||||
# (0x0400, 0x04FF),
|
||||
(0x0400, 0x04FF),
|
||||
### Math Symbols (common subset) ###
|
||||
# General math operators
|
||||
(0x2200, 0x22FF),
|
||||
|
||||
+3
-3
@@ -9,7 +9,7 @@
|
||||
* "./lib/EpdFont/builtinFonts/bookerly_italic_2b.h",
|
||||
* ].map{|f| Digest::SHA256.hexdigest(File.read(f)).to_i(16) }.sum % (2 ** 32) - (2 ** 31)'
|
||||
*/
|
||||
#define READER_FONT_ID 1747632454
|
||||
#define READER_FONT_ID 828106571
|
||||
|
||||
/**
|
||||
* Generated with:
|
||||
@@ -18,7 +18,7 @@
|
||||
* "./lib/EpdFont/builtinFonts/ubuntu_bold_10.h",
|
||||
* ].map{|f| Digest::SHA256.hexdigest(File.read(f)).to_i(16) }.sum % (2 ** 32) - (2 ** 31)'
|
||||
*/
|
||||
#define UI_FONT_ID 225955604
|
||||
#define UI_FONT_ID -56235187
|
||||
|
||||
/**
|
||||
* Generated with:
|
||||
@@ -26,4 +26,4 @@
|
||||
* "./lib/EpdFont/builtinFonts/pixelarial14.h",
|
||||
* ].map{|f| Digest::SHA256.hexdigest(File.read(f)).to_i(16) }.sum % (2 ** 32) - (2 ** 31)'
|
||||
*/
|
||||
#define SMALL_FONT_ID 2037928017
|
||||
#define SMALL_FONT_ID -1952330053
|
||||
|
||||
Reference in New Issue
Block a user