Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Readers > Kobo Reader > Kobo Developer's Corner

Notices

Reply
 
Thread Tools Search this Thread
Old 01-17-2018, 06:09 AM   #1
Vetchy
Connoisseur
Vetchy began at the beginning.
 
Posts: 50
Karma: 10
Join Date: Dec 2017
Device: Kobo Aura One
Fonts fot footnotes in KEPUB

Does any way to set custom font for footnotes in KEPUB?
I was delete fonts by this patch:
Code:
#!/bin/sh
rm /usr/local/Qt-5.2.1-arm/lib/fonts/KBJ*
But now I don't have problem with Cyrillic text, but Latin font is different.
Look screenshot? Is possible to fix this?
Attached Thumbnails
Click image for larger version

Name:	footnotes.jpg
Views:	344
Size:	100.9 KB
ID:	161631  
Vetchy is offline   Reply With Quote
Old 01-17-2018, 11:39 AM   #2
jcn363
absolute beginner
jcn363 ought to be getting tired of karma fortunes by now.jcn363 ought to be getting tired of karma fortunes by now.jcn363 ought to be getting tired of karma fortunes by now.jcn363 ought to be getting tired of karma fortunes by now.jcn363 ought to be getting tired of karma fortunes by now.jcn363 ought to be getting tired of karma fortunes by now.jcn363 ought to be getting tired of karma fortunes by now.jcn363 ought to be getting tired of karma fortunes by now.jcn363 ought to be getting tired of karma fortunes by now.jcn363 ought to be getting tired of karma fortunes by now.jcn363 ought to be getting tired of karma fortunes by now.
 
jcn363's Avatar
 
Posts: 323
Karma: 1750999
Join Date: May 2017
Location: Go with the wind (43°19'17.7"N 2°00'19.4"W)
Device: ka1
Quote:
Originally Posted by Vetchy View Post
Is possible to fix this?
Maybe you should exchange the KBJ font with the font you want (giving the file name KBJ and also changing the denomination inside).
Good luck.
jcn363 is offline   Reply With Quote
Advert
Old 01-17-2018, 01:00 PM   #3
Semwize
Guru
Semwize ought to be getting tired of karma fortunes by now.Semwize ought to be getting tired of karma fortunes by now.Semwize ought to be getting tired of karma fortunes by now.Semwize ought to be getting tired of karma fortunes by now.Semwize ought to be getting tired of karma fortunes by now.Semwize ought to be getting tired of karma fortunes by now.Semwize ought to be getting tired of karma fortunes by now.Semwize ought to be getting tired of karma fortunes by now.Semwize ought to be getting tired of karma fortunes by now.Semwize ought to be getting tired of karma fortunes by now.Semwize ought to be getting tired of karma fortunes by now.
 
Posts: 873
Karma: 252902
Join Date: Jun 2016
Device: Kobo
Vetchy,
all fonts removed (except Georgia)

Then it will show everywhere correctly, without distortion.

For reading I use Bookerly and Mediator Sherif.
Semwize is offline   Reply With Quote
Old 01-18-2018, 06:00 AM   #4
Vetchy
Connoisseur
Vetchy began at the beginning.
 
Posts: 50
Karma: 10
Join Date: Dec 2017
Device: Kobo Aura One
Quote:
Originally Posted by Semwize View Post
Vetchy,
all fonts removed (except Georgia)

Then it will show everywhere correctly, without distortion.

For reading I use Bookerly and Mediator Sherif.
Thanks, works fine.
Vetchy is offline   Reply With Quote
Old 02-11-2018, 10:03 AM   #5
dregore
Junior Member
dregore began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Feb 2018
Device: Kobo H2O
Hello, Vetchy!
How did you apply this patch?
dregore is offline   Reply With Quote
Advert
Old 02-16-2018, 12:43 AM   #6
Vetchy
Connoisseur
Vetchy began at the beginning.
 
Posts: 50
Karma: 10
Join Date: Dec 2017
Device: Kobo Aura One
Quote:
Originally Posted by dregore View Post
Hello, Vetchy!
How did you apply this patch?
Hi.
I'm create a new patch, you find it in attach. I was merge footnotes for non Latin languages patch with hyphens. Unpack ZIP and place KoboRoot.tgz in your reader. Plug it and find .kobo directory, put this patch here and unplug device. They will reboot automatically.

Path code
Code:
#!/bin/sh

rm /usr/local/Qt-5.2.1-arm/lib/fonts/KBJ*
rm /usr/local/Qt-5.2.1-arm/lib/fonts/A*
rm /usr/local/Qt-5.2.1-arm/lib/fonts/Caecilia*
rm /usr/local/Qt-5.2.1-arm/lib/fonts/GillSans*
rm /usr/local/Qt-5.2.1-arm/lib/fonts/Gothic*
rm /usr/local/Qt-5.2.1-arm/lib/fonts/Kobo*
rm /usr/local/Qt-5.2.1-arm/lib/fonts/Mala*
rm /usr/local/Qt-5.2.1-arm/lib/fonts/Open*
rm /usr/local/Qt-5.2.1-arm/lib/fonts/Ryu*

rm /etc/udev/rules.d/delete_fonts.rules
rm /root/delete_fonts.sh
By this link you find screenshot, how it looks now: http://4pda.ru/forum/index.php?showt...ost&p=69330350
Attached Files
File Type: zip KoboRoot.tgz.zip (24.3 KB, 94 views)
Vetchy is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Creating epub/kepub books (docx→epub/kepub via MS Word→Calibre) SJC-Caron ePub 18 04-21-2016 11:10 AM
Embedded fonts in kepub goes hiding... patrik Kobo Reader 7 03-19-2016 07:12 PM
How to enable KEPUB kerning for sideloaded fonts GeoffR Kobo Reader 11 04-23-2015 02:50 AM
Is there a way to import kepub to calibre/convert a kepub to other formats? Major General Library Management 9 04-08-2014 10:00 PM
The Patent fot the iLiad display henkvdg iRex 0 11-23-2006 11:15 AM


All times are GMT -4. The time now is 07:53 PM.


MobileRead.com is a privately owned, operated and funded community.