View Single Post
Old 05-17-2015, 05:14 PM   #144
tshering
Wizard
tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.
 
Posts: 3,489
Karma: 2914715
Join Date: Jun 2012
Device: kobo touch
Quote:
Originally Posted by mamado View Post
Hi,

I am using GeoffR excellent patches he created here to add support for Arabic keyboard and fix some issues with displaying Arabic fonts.

The problem is that the latest firmware update broke part of the patches that changes the book titles from italic to normal as it seems the arabic fonts are missing italic glyphs.

GeoffR suggested that I ask here for help.

Can you please help me to change the book titles in the display and search results to normal instead of italic?


fyi, The original patch is here:
Spoiler:

https://www.mobileread.com/forums/sho...1&postcount=17
<Patch>
patch_name = `Book titles font style normal`
patch_enable = `yes`
#
# This patch changes the font style used for book titles displayed in the
# library, search results, etc. from italic to normal. This works around the
# problem of the system fonts missing italic glyphs for Arabic.
#
# Book title in details view
replace_string = D12511, `font-style: italic;`, `font-style: normal;`
#
# Search term in search results view
replace_string = D7D573, `font-style: italic;`, `font-style: normal;`
#
# Book title in library view
replace_string = D842F0, `font-style: italic;`, `font-style: normal;`
</Patch>
I can do only a rather rough approach. This will change italic to normal of some other labels to. Create first a KoboRoot.tgz with the package uploaded here, and feed then this KoboRoot.tgz to GeoffR's patching tool. Correction: It should be the other way round: Create first a KoboRoot.tgz with GeoffR's patching tool, a feed then this newly created KoboRoot.tgz to the patching tool uploaded here.
Attached Files
File Type: zip KBPatcher12_3.15.0_titles_not_italic.zip (477.5 KB, 230 views)

Last edited by tshering; 05-18-2015 at 05:15 AM.
tshering is offline   Reply With Quote