Register Guidelines E-Books Today's Posts Search

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

Notices

Reply
 
Thread Tools Search this Thread
Old 01-17-2016, 04:01 PM   #91
boriar
Evangelist
boriar ought to be getting tired of karma fortunes by now.boriar ought to be getting tired of karma fortunes by now.boriar ought to be getting tired of karma fortunes by now.boriar ought to be getting tired of karma fortunes by now.boriar ought to be getting tired of karma fortunes by now.boriar ought to be getting tired of karma fortunes by now.boriar ought to be getting tired of karma fortunes by now.boriar ought to be getting tired of karma fortunes by now.boriar ought to be getting tired of karma fortunes by now.boriar ought to be getting tired of karma fortunes by now.boriar ought to be getting tired of karma fortunes by now.
 
boriar's Avatar
 
Posts: 407
Karma: 314204
Join Date: Jan 2015
Device: bq Avant XL, Kobo Aura H2O, Onyx Boox M96C Plus
@oren64
Thank you for a great patch. I like so much!
boriar is offline   Reply With Quote
Old 01-19-2016, 09:59 AM   #92
adamslast
Member
adamslast knows the complete value of PI to the endadamslast knows the complete value of PI to the endadamslast knows the complete value of PI to the endadamslast knows the complete value of PI to the endadamslast knows the complete value of PI to the endadamslast knows the complete value of PI to the endadamslast knows the complete value of PI to the endadamslast knows the complete value of PI to the endadamslast knows the complete value of PI to the endadamslast knows the complete value of PI to the endadamslast knows the complete value of PI to the end
 
Posts: 16
Karma: 31064
Join Date: Oct 2014
Device: Kobo Aura 6", Kobo Aura One
@GeoffR and @oren64
Thanks for your great works.
adamslast is offline   Reply With Quote
Advert
Old 01-21-2016, 04:38 AM   #93
Enzo66
Junior Member
Enzo66 began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Jan 2016
Device: Kobo Glo HD
Hi,

Is there a way to change the font size of the dictionary in Kobo glo hd?
Enzo66 is offline   Reply With Quote
Old 01-21-2016, 12:14 PM   #94
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 Enzo66 View Post
Hi,

Is there a way to change the font size of the dictionary in Kobo glo hd?
You might have a look at the Modification for bad eyes threat. If you do not want to use that patch package, you can at least find the necessary information in the configuration files and translate it to the format used be GeoffR.
tshering is offline   Reply With Quote
Old 01-21-2016, 12:56 PM   #95
surquizu
Evangelist
surquizu ought to be getting tired of karma fortunes by now.surquizu ought to be getting tired of karma fortunes by now.surquizu ought to be getting tired of karma fortunes by now.surquizu ought to be getting tired of karma fortunes by now.surquizu ought to be getting tired of karma fortunes by now.surquizu ought to be getting tired of karma fortunes by now.surquizu ought to be getting tired of karma fortunes by now.surquizu ought to be getting tired of karma fortunes by now.surquizu ought to be getting tired of karma fortunes by now.surquizu ought to be getting tired of karma fortunes by now.surquizu ought to be getting tired of karma fortunes by now.
 
surquizu's Avatar
 
Posts: 411
Karma: 902071
Join Date: Jun 2008
Location: Zaragoza (Spain)
Device: prs-505, kobo auraHD, kobo auraH2O, kobo Glo HD, kobo aura ONE
Quote:
Originally Posted by Enzo66 View Post
Hi,

Is there a way to change the font size of the dictionary in Kobo glo hd?
Quote:
Originally Posted by tshering View Post
You might have a look at the Modification for bad eyes threat. If you do not want to use that patch package, you can at least find the necessary information in the configuration files and translate it to the format used be GeoffR.
Only dictionary:

libnickel.so.1.0.0.txt:

Spoiler:
Code:
sourcefile=libnickel.so.1.0.0
targetfile=..\3.19.5761_target\usr\local\Kobo\libnickel.so.1.0.0

// -------------------------------------------------- Dictionary

<patch>
name=Dictionary (Georgia)
note=if you use this definition, disable the other Dictionary definition(s)
note=BD3664(3.19.5761)
enabled=true
action=replace_string
position=autodetect
oldpart=* { font: %1px %2; line-height: %5em; }\n
oldpart=div.descriptionFont { font-family: %3; }\n
oldpart=ol { font-size: %1px; font-weight: bold; margin-left: %4em }\n
oldpart=ol p { font-size: %1px; font-weight:normal; }\n
oldpart=b { font-weight: bold; }\n
oldpart=i { font-style: italic; }\n
oldpart=b * { font-weight: bold; }\n
oldpart=i * { font-style: italic; }\n
oldpart=img {display: inline-block; width: 1em; height: 1em; vertical-align: -10% !important; }\n
oldpart=::selection { background: #FFFFFF !important; }
if $aurahd or $h2o
    newpart=* { font-family: Georgia; font-size: 40px; line-height: 54px; } \n
/	newpart=* { font-family: Georgia; font-size: 50px; line-height: 54px; } \n
    newpart=ol { margin-left: 28px; } \n
    newpart=ol p { font-size: 50px; font-weight:normal; }
else if $glo or $aura
    newpart=* { font-family: Georgia; font-size: 40px; line-height: 44px; } \n
    newpart=ol { margin-left: 24px; } \n
    newpart=ol p { font-size: 40px; font-weight:normal; }
else if $glohd
    newpart=* { font-family: Georgia; font-size: 42px; line-height: 60px; } \n
/	newpart=* { font-family: Georgia; font-size: 56px; line-height: 60px; } \n
    newpart=ol { margin-left: 30px; } \n
    newpart=ol p { font-size: 56px; font-weight:normal; }
else
    newpart=* { font-family: Georgia; font-size: 32px; line-height: 36px; } \n
    newpart=ol { margin-left: 14px; } \n
    newpart=ol p { font-size: 32px; font-weight:normal; }
end
newpart=b { font-weight: bold; }\n
newpart=i { font-style: italic; }\n
newpart=b * { font-weight: bold; }\n
newpart=i * { font-style: italic;  }\n
newpart=img {display: inline-block; width: 1em; height: 1em; vertical-align: -10% !important; }\n
newpart=::selection { background: #FFFFFF !important; }
combineparts
</patch>

<patch>
name=Dictionary (font chosen by software)
note=if you use this definition, disable the other Dictionary definition(s)
note=BD3664(3.19.5761)
enabled=false
action=replace_string
position=autodetect
oldpart=* { font: %1px %2; line-height: %5em; }\n
oldpart=div.descriptionFont { font-family: %3; }\n
oldpart=ol { font-size: %1px; font-weight: bold; margin-left: %4em }\n
oldpart=ol p { font-size: %1px; font-weight:normal; }\n
oldpart=b { font-weight: bold; }\n
oldpart=i { font-style: italic; }\n
oldpart=b * { font-weight: bold; }\n
oldpart=i * { font-style: italic; }\n
oldpart=img {display: inline-block; width: 1em; height: 1em; vertical-align: -10% !important; }\n
oldpart=::selection { background: #FFFFFF !important; }
if $aurahd or $h2o
    newpart=* { font-family: %2; font-size: 50px; line-height: 54px; } \n
    newpart=ol { margin-left: 28px; } \n
    newpart=ol p { font-size: 50px; font-weight:normal; }
else if $glo or $aura
    newpart=* { font-family: %2; font-size: 40px; line-height: 44px; } \n
    newpart=ol { margin-left: 24px; } \n
    newpart=ol p { font-size: 40px; font-weight:normal; }
else if $glohd
    newpart=* { font-family: %2; font-size: 56px; line-height: 60px; } \n
    newpart=ol { margin-left: 30px; } \n
    newpart=ol p { font-size: 56px; font-weight:normal; }
else
    newpart=* { font-family: %2; font-size: 32px; line-height: 36px; } \n
    newpart=ol { margin-left: 14px; } \n
    newpart=ol p { font-size: 32px; font-weight:normal; }
end
newpart=b { font-weight: bold; }\n
newpart=i { font-style: italic; }\n
newpart=b * { font-weight: bold; }\n
newpart=i * { font-style: italic;  }\n
newpart=img {display: inline-block; width: 1em; height: 1em; vertical-align: -10% !important; }\n
newpart=::selection { background: #FFFFFF !important; }
combineparts
</patch>

// -------------------------------------------------- Dictionary View

<patch>
name=RELLENO VENTANA - PATCH DICCIONARI 1
//name=BD2658(3.19.5613)
enabled=true
action=replace_string
position=autodetect
oldpart=#textEdit {\n\tmin-height: 150px;\n\tmax-height: 150px;\n\tmin-width: 515px;\n\tmax-width: 515px;\n}\n\n
oldpart=#textEdit[qApp_deviceIsPhoenix="true"] {\n\tmin-height: 190px;\n\tmax-height: 190px;\n\tmin-width: 550px;\n\tmax-width: 550px;\n}\n\n
oldpart=#textEdit[qApp_deviceIsDragon="true"] {\n\tmin-height: 235px;\n\tmax-height: 235px;\n\tmin-width: 930px;\n\tmax-width: 930px;\n}
newpart=#textEdit {\n\tmin-height: 290px;\n\tmax-height: 290px;\n\tmin-width: 575px;\n\tmax-width: 575px;\n}\n\n
newpart=#textEdit[qApp_deviceIsPhoenix="true"] {\n\tmin-height: 371px;\n\tmax-height: 371px;\n\tmin-width: 680px;\n\tmax-width: 680px;\n}\n\n
newpart=#textEdit[qApp_deviceIsDragon="true"] {\n\tmin-height: 533px;\n\tmax-height:533px;\n\tmin-width: 930px;\n\tmax-width: 930px;\n}
combineparts
</patch>


<patch>
name=PATCH DICCIONARI 2
/name=BD4064(3.19.61)
enabled=true
action=replace_string
position=autodetect
oldpart=* {\n\tfont-family: Georgia;\n\tfont-size: 20px;\n\tbackground-color: #d8d8d8;\n\tpadding-left: 12px;\n\tpadding-right: 12px;\n}\n\n
oldpart=[qApp_deviceIsPhoenix="true"] {\n\tfont-size: 24px;\n\tpadding-left: 15px;\n\tpadding-right: 15px;\n}\n\n
oldpart=[qApp_deviceIsDragon="true"] {\n\tfont-size: 26px;\n\tpadding-left: 20px;\n\tpadding-right: 20px;\n}\n\n
oldpart=[qApp_localeName="ja_JP"] {\n\tfont-family: Sans-SerifJP;\n}
newpart=* {\n\tfont-family: Georgia;\n\tfont-size: 30px;\n\tbackground-color: #d8d8d8;\n\tpadding-left: 12px;\n\tpadding-right: 12px;\n}\n\n
#newpart=* {\n\tfont-family: Georgia;\n\tfont-size: 30px;\n\tbackground-color: #FFFFFF;\n\tpadding-left: 12px;\n\tpadding-right: 12px;\n}\n\n
newpart=[qApp_deviceIsPhoenix="true"] {\n\tfont-size: 34px;\n\tpadding-left: 15px;\n\tpadding-right: 15px;\n}\n\n
newpart=[qApp_deviceIsDragon="true"] {\n\tfont-size: 36px;\n\tpadding-left: 20px;\n\tpadding-right: 20px;\n}\n\n
newpart=[qApp_localeName="ja_JP"] {\n\tfont-family: Sans-SerifJP;\n}
combineparts
</patch>


<patch>
name=PATCH DICCIONARI 3
//name=BD43AC(3.19.5761)
enabled=true
action=replace_string
position=autodetect
oldpart=* {\n\tfont-size: 22px;\n}\n\n
oldpart=#language {\n\tmax-height: 50px;\n}\n\n
oldpart=[qApp_deviceIsPhoenix="true"] {\n\tfont-size: 23px;\n}\n\n
oldpart=#language[qApp_deviceIsPhoenix="true"] {\n\tmax-height: 62px;\n}\n\n
oldpart=[qApp_deviceIsDragon="true"] {\n\tfont-size: 29px;\n}\n\n
oldpart=#language[qApp_deviceIsDragon="true"] {\n\tmax-height: 80px;\n}
newpart=* {\n\tfont-size: 32px;\n}\n\n
newpart=#language {\n\tmax-height: 50px;\n}\n\n
newpart=[qApp_deviceIsPhoenix="true"] {\n\tfont-size: 33px;\n}\n\n
newpart=#language[qApp_deviceIsPhoenix="true"] {\n\tmax-height: 62px;\n}\n\n
newpart=[qApp_deviceIsDragon="true"] {\n\tfont-size: 39px;\n}\n\n
newpart=#language[qApp_deviceIsDragon="true"] {\n\tmax-height: 80px;\n}
combineparts
</patch>


nickel.txt:

Spoiler:
Code:
sourcefile=nickel
targetfile=..\3.19.5761_target\usr\local\Kobo\nickel


// -------------------------------------------------- Dictionary View

<patch>
name=CAIXA DICCIONARI
//name=4A491E
enabled=true
action=replace_string
position=autodetect
oldpart=#InlineDictionaryView {\n\tmin-width: 500px;\n\tmax-width: 500px;\n\tmin-height: 220px;\n\tmax-height: 220px;\n}\n
oldpart=#InlineDictionaryView[qApp_deviceIsPhoenix="true"] {\n\tmin-width: 650px;\n\tmax-width: 650px;\n\tmin-height: 280px;\n\tmax-height: 280px;\n}\n
oldpart=#InlineDictionaryView[qApp_deviceIsDragon="true"] {\n\tmin-width: 980px;\n\tmax-width: 980px;\n\tmin-height: 350px;\n\tmax-height: 350px;\n}\n
newpart=#InlineDictionaryView {\n\tmin-width: 560px;\n\tmax-width: 560px;\n\tmin-height: 330px;\n\tmax-height: 330px;\n}\n
newpart=#InlineDictionaryView[qApp_deviceIsPhoenix="true"] {\n\tmin-width: 720px;\n\tmax-width: 720px;\n\tmin-height: 450px;\n\tmax-height: 450px;\n}\n
newpart=#InlineDictionaryView[qApp_deviceIsDragon="true"] {\n\tmin-width: 980px;\n\tmax-width: 980px;\n\tmin-height: 610px;\n\tmax-height: 610px;\n}\n
combineparts
</patch>
surquizu is offline   Reply With Quote
Advert
Old 01-22-2016, 10:10 AM   #96
Enzo66
Junior Member
Enzo66 began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Jan 2016
Device: Kobo Glo HD
@tsharing and @sarquizu

Thank you very much for the help and for showing me where to dig
Enzo66 is offline   Reply With Quote
Old 02-03-2016, 05:39 PM   #97
fkm
Junior Member
fkm can extract oil from cheesefkm can extract oil from cheesefkm can extract oil from cheesefkm can extract oil from cheesefkm can extract oil from cheesefkm can extract oil from cheesefkm can extract oil from cheesefkm can extract oil from cheese
 
Posts: 7
Karma: 1000
Join Date: Dec 2011
Device: Kobo Touch
Saw the patch for cover sizes in list mode. Looks fantastic!

Just wondering however if anyone knows if there's any way to get larger covers in cover mode?
fkm is offline   Reply With Quote
Old 02-03-2016, 11:13 PM   #98
andrego
Junior Member
andrego can extract oil from cheeseandrego can extract oil from cheeseandrego can extract oil from cheeseandrego can extract oil from cheeseandrego can extract oil from cheeseandrego can extract oil from cheeseandrego can extract oil from cheeseandrego can extract oil from cheese
 
Posts: 5
Karma: 1000
Join Date: Feb 2016
Device: Kobo H20
Edit: these patches are for 3.19.5761.

The following patches can be used to replace system fonts with others of your choosing - meaning that they will have the 'Advanced Font Control' available.

This is a 'safe' way to gain access to advanced font control for a limited number of fonts, since the 'Freedom to advanced font control' patch is untested/may cause issues if used with Japanese content or if the language set to Japanese.

Some fonts are defined in libnickel.so.1.0.0 but are not actually included in recent firmware versions. In this case, you lose nothing by replacing them, and gain advanced font control for free!

To use, copy the patch to the "libnickel.so.1.0.0.patch" file, update it with your font name, apply as usual, and side-load your font the usual way: copy to the "Fonts" directory on your device.

Note 1: For fonts that are shipped, they can still be side-loaded, but you will lose advanced font control. (Note: even when replaced, the original system font will still be hidden if you apply the patch to hide system fonts.)

Note 2: I have not provided patches for Georgia or Avenir, nor have I provided them for Ryumin, Gothic (or their recent replacements). The former are default fonts and I have not tested whether they are safe to replace. The latter are not treated in the same way as other system fonts and I am unsure what the effects of replacing them would be.

Caecilia:
Quote:
<Patch>
patch_name = `Replace system font: Caecilia`
patch_enable = `no`
#
# Insert replacement values to match your font below.
#
replace_string = B8D39C, `C`, ``
replace_string = B8D39E, `a`, ``
replace_string = B8D3A0, `e`, ``
replace_string = B8D3A2, `c`, ``
replace_string = B8D3A4, `i`, ``
replace_string = B8D3A6, `l`, ``
replace_string = B8D3A8, `i`, ``
replace_string = B8D3AA, `a`, ``
</Patch>
Amasis:
Quote:
<Patch>
patch_name = `Replace system font: Amasis`
patch_enable = `no`
#
# Insert replacement values to match your font below.
#
replace_string = B8D344, `A`, ``
replace_string = B8D346, `m`, ``
replace_string = B8D348, `a`, ``
replace_string = B8D34A, `s`, ``
replace_string = B8D34C, `i`, ``
replace_string = B8D34E, `s`, ``
</Patch>
Delima:
Quote:
<Patch>
patch_name = `Replace unused system font: Delima`
patch_enable = `no`
#
# Insert replacement values to match your font below.
#
# This font is not used in this firmware version so
# nothing is lost by replacing it.
#
replace_string = B8D3C0, `D`, ``
replace_string = B8D3C2, `e`, ``
replace_string = B8D3C4, `l`, ``
replace_string = B8D3C6, `i`, ``
replace_string = B8D3C8, `m`, ``
replace_string = B8D3CA, `a`, ``
</Patch>
Felbridge:
Quote:
<Patch>
patch_name = `Replace unused system font: Felbridge`
patch_enable = `no`
#
# Insert replacement values to match your font below.
#
# This font is not used in this firmware version so
# nothing is lost by replacing it.
#
replace_string = B8D3E0, `F`, ``
replace_string = B8D3E2, `e`, ``
replace_string = B8D3E4, `l`, ``
replace_string = B8D3E6, `b`, ``
replace_string = B8D3E8, `r`, ``
replace_string = B8D3EA, `i`, ``
replace_string = B8D3EC, `d`, ``
replace_string = B8D3EE, `g`, ``
replace_string = B8D3F0, `e`, ``
</Patch>
Gill Sans:
Quote:
<Patch>
patch_name = `Replace unused system font: Gill Sans`
patch_enable = `no`
#
# Insert replacement values for your font name below.
# Replacement does not need to contain spaces but
# it must be the same number of characters in length.
#
replace_string = B8D424, `G`, ``
replace_string = B8D426, `i`, ``
replace_string = B8D428, `l`, ``
replace_string = B8D42A, `l`, ``
replace_string = B8D42C, ` `, ``
replace_string = B8D42E, `S`, ``
replace_string = B8D430, `a`, ``
replace_string = B8D432, `n`, ``
replace_string = B8D434, `s`, ``
</Patch>
Kobo Nickel:
Quote:
<Patch>
patch_name = `Replace unused system font: Kobo Nickel`
patch_enable = `no`
#
# Insert replacement values for your font name below.
# Replacement does not need to contain spaces but
# it must be the same number of characters in length.
#
replace_string = B8D448, `K`, ``
replace_string = B8D44A, `o`, ``
replace_string = B8D44C, `b`, ``
replace_string = B8D44E, `o`, ``
replace_string = B8D450, ` `, ``
replace_string = B8D452, `N`, ``
replace_string = B8D454, `i`, ``
replace_string = B8D456, `c`, ``
replace_string = B8D458, `k`, ``
replace_string = B8D45A, `e`, ``
replace_string = B8D45C, `l`, ``
</Patch>
Malabar:
Quote:
<Patch>
patch_name = `Replace unused system font: Malabar`
patch_enable = `no`
#
# Insert replacement values to match your font below.
#
replace_string = B8D470, `M`, ``
replace_string = B8D472, `a`, ``
replace_string = B8D474, `l`, ``
replace_string = B8D476, `a`, ``
replace_string = B8D478, `b`, ``
replace_string = B8D47A, `a`, ``
replace_string = B8D47C, `r`, ``
</Patch>
Rockwell:
Quote:
<Patch>
patch_name = `Replace unused system font: Rockwell`
patch_enable = `no`
#
# Insert replacement values to match your font below.
#
# This font is not used in this firmware version so
# nothing is lost by replacing it.
#
replace_string = B8D490, `R`, ``
replace_string = B8D492, `o`, ``
replace_string = B8D494, `c`, ``
replace_string = B8D496, `k`, ``
replace_string = B8D498, `w`, ``
replace_string = B8D49A, `e`, ``
replace_string = B8D49C, `l`, ``
replace_string = B8D49E, `l`, ``
</Patch>
Times New Roman:
Quote:
<Patch>
patch_name = `Replace unused system font: Times New Roman`
patch_enable = `no`
#
# Insert replacement values for your font name below.
# Replacement does not need to contain spaces but
# it must be the same number of characters in length.
#
replace_string = B8D4B4, `T`, ``
replace_string = B8D4B6, `i`, ``
replace_string = B8D4B8, `m`, ``
replace_string = B8D4BA, `e`, ``
replace_string = B8D4BC, `s`, ``
replace_string = B8D4BE, ` `, ``
replace_string = B8D4C0, `N`, ``
replace_string = B8D4C2, `e`, ``
replace_string = B8D4C4, `w`, ``
replace_string = B8D4C6, ` `, ``
replace_string = B8D4C8, `R`, ``
replace_string = B8D4CA, `o`, ``
replace_string = B8D4CC, `m`, ``
replace_string = B8D4CE, `a`, ``
replace_string = B8D4D0, `n`, ``
</Patch>

Last edited by andrego; 02-03-2016 at 11:18 PM.
andrego is offline   Reply With Quote
Old 02-04-2016, 03:49 PM   #99
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 andrego View Post
The following patches can be used to replace system fonts with others of your choosing - meaning that they will have the 'Advanced Font Control' available.
Has the "Freedom to advanced fonts control" patch stopped working?
tshering is offline   Reply With Quote
Old 02-04-2016, 06:35 PM   #100
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 74,668
Karma: 130140792
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by tshering View Post
Has the "Freedom to advanced fonts control" patch stopped working?
It's something to do with Japanese.
JSWolf is offline   Reply With Quote
Old 02-05-2016, 04:45 AM   #101
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 JSWolf View Post
It's something to do with Japanese.
Thank you! Somehow I missed that part of the explanation.
Since I have usually set my device to Japanese anyway, I tested now the
"Freedom to advanced fonts control" patch, with Japanese and non-Japanese books. I did not notice any bad effects. Japanese characters, however, are not influenced by the weight setting.

As for andrego's patch, I think it could be possible to make it a little more flexible by considering the length byte too. It is directly after FF FF FF FF.

Last edited by tshering; 02-05-2016 at 07:39 AM.
tshering is offline   Reply With Quote
Old 02-11-2016, 04:56 PM   #102
Libron
Member
Libron began at the beginning.
 
Posts: 19
Karma: 10
Join Date: Feb 2016
Device: Kindle 5, Kobo Glo HD
A great patch! As I'm using KSM and KOReader, can I install this patch on top on them? Or should I uninstall them first, install the patch and then reinstall KSM+KOReader?
Libron is offline   Reply With Quote
Old 02-11-2016, 05:20 PM   #103
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 Libron View Post
A great patch! As I'm using KSM and KOReader, can I install this patch on top on them?
Yes, you can! After copying the KoboRoot.tgz to .kobo, select (in KSM) "handle updates" > "install update".

Last edited by tshering; 02-11-2016 at 05:22 PM.
tshering is offline   Reply With Quote
Old 02-12-2016, 04:30 PM   #104
Libron
Member
Libron began at the beginning.
 
Posts: 19
Karma: 10
Join Date: Feb 2016
Device: Kindle 5, Kobo Glo HD
Quote:
Originally Posted by tshering View Post
Yes, you can! After copying the KoboRoot.tgz to .kobo, select (in KSM) "handle updates" > "install update".
Thanks. It works fantastic!
Libron is offline   Reply With Quote
Old 02-15-2016, 12:34 PM   #105
SpeeDy_G
Junior Member
SpeeDy_G began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Feb 2016
Device: Kobo Aura
Hi guys, I'm new here. Just found this place trying to modify stuff on my kobo aura. Anyway I have two problems and If somebody can help would be appreciated.

1st I side loaded Bookerly font, but seems that Italic lines are converted to bolditalic. I fixed that by just deleting bolditalic from font family. Same thing with Literata. Any fix for this?

2nd since applying patch seems justification is ruined and the justification options don't do anything. I'm still trying to isolate the patch that does it as I'm writing, but If anybody knows a fix please do tell. EDIT:Scratch this one, seems justification is set by default on the epub, as using different epubs they have different justifications. Now the question is how can I force full justification? It bothers me a bit if it isn't applied

Thank you in advance

Last edited by SpeeDy_G; 02-15-2016 at 12:46 PM.
SpeeDy_G is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Unofficial Sigil patches varlog Sigil 8 11-12-2014 06:14 PM
Index: Making a linked index in epub virtual_ink ePub 21 10-19-2011 11:23 PM
DR800 Long time to index files after upgrading firmware? Albyr iRex 29 06-18-2011 05:23 PM
How to apply the enhancements/patches ? nubbol Calibre 2 09-04-2010 11:42 PM
iLiad Applying DR GTK+ patches to iLiad ericshliao iRex Developer's Corner 16 03-14-2010 05:39 AM


All times are GMT -4. The time now is 05:11 PM.


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