12-17-2014, 05:21 AM | #91 |
Wizard
Posts: 3,489
Karma: 2914715
Join Date: Jun 2012
Device: kobo touch
|
|
12-17-2014, 12:31 PM | #92 | |
Evangelist
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:
You see an error in the configuration? |
|
Advert | |
|
12-17-2014, 05:01 PM | #93 |
Wizard
Posts: 3,489
Karma: 2914715
Join Date: Jun 2012
Device: kobo touch
|
surquizu,
things are a little confusing. I just made some test. Take for instance this code. Code:
newpart=* { font-family: Inklings; font-size: 38px; line-height: 42px; } \n newpart=div.descriptionFont { font-family: Avenir; }\n newpart=ol {margin-left: 8px} \n newpart=ol p { font-size: 38px; font-weight:normal; } newpart=b { font-weight: bold; }\n newpart=i { font-style: italic; }\n newpart=b * { font-weight: bold; }\n newpart=i * { font-style: italic; } //newpart=::selection { background: #FFFFFF !important; } First time after restarting the reader, the font-family had no effect on the dictionary view at all. After opening the font menu, there was a small effect (image 1). If after starting nickel one opens the font menu, and only then uses the dictionary the effect s complete (image 2). I did not see any effect of div.descriptionFont. Maybe this works only for some dictionaries, or Kobo plans to add new tags in future. So it might be better to remove this part again and re-activate ::selection. |
12-17-2014, 08:40 PM | #94 |
Connoisseur
Posts: 62
Karma: 13112
Join Date: Feb 2013
Device: Kindle Paperwhite; KOBO AURA HD
|
No, the configuration is the same with mine. So odd... I am definitely sure my font in dictionary has been changed. Maybe you will check your work flow carefully...
|
12-17-2014, 09:02 PM | #95 |
Connoisseur
Posts: 62
Karma: 13112
Join Date: Feb 2013
Device: Kindle Paperwhite; KOBO AURA HD
|
I test a lot and find this css block. it's not easy work... So thanks for you job.
Code:
<patch> name=CollectionName enabled=true action=replace_string position=E04264 oldpart=#hTitle {\n\tqproperty-maxNumLines: 1;\n\tfont-family: Georgia;\n\tfont-size: 36px;\n\tfont-style: italic;\n}\n\n oldpart=#hTitle[qApp_deviceCodeName="phoenix"] {\n\tfont-size: 28px;\n}\n\n oldpart=#hTitle[qApp_localeName="ja_JP"] {\n\tfont-family: A-OTF Gothic MB101 Pr6N;\n\tfont-style: normal;\n\tqproperty-forceLeading: 0;\n}\n newpart=#hTitle {\n\tqproperty-maxNumLines: 1;\n\tfont-family: Georgia;\n\tfont-size: 36px;\n\tfont-style: italic;\n}\n\n newpart=#hTitle[qApp_deviceCodeName="phoenix"] {\n\tfont-size: 28px;\n}\n\n newpart=#hTitle[qApp_localeName="ja_JP"] {\n\tfont-family: A-OTF Gothic MB101 Pr6N;\n\tfont-style: normal;\n\tqproperty-forceLeading: 0;\n}\n combineparts </patch> |
Advert | |
|
12-18-2014, 06:50 AM | #96 |
Wizard
Posts: 3,489
Karma: 2914715
Join Date: Jun 2012
Device: kobo touch
|
scoky, thank you for the contribution!
As for the arial font in the dictionary, do you have to open the fonts menu before looking into the dictionary after a reboot, or does it work all the time? |
12-18-2014, 07:27 AM | #97 |
Connoisseur
Posts: 62
Karma: 13112
Join Date: Feb 2013
Device: Kindle Paperwhite; KOBO AURA HD
|
no, I don't need to open fonts menu first after a reboot. I have test a lot and it work all the time. I think all sideloads fonts including arial font will be loaded when the book opens.
|
01-05-2015, 01:54 PM | #98 | |
Wizard
Posts: 3,489
Karma: 2914715
Join Date: Jun 2012
Device: kobo touch
|
Quote:
Just in case you are interested in experimenting with other css blocks too, I add all materials that I could easily find. |
|
01-09-2015, 11:08 AM | #99 | |
Enthusiast
Posts: 46
Karma: 303048
Join Date: Feb 2013
Location: Brazil
Device: Kindle Paperwhite 3
|
dictionary
Quote:
|
|
02-07-2015, 04:52 AM | #100 | ||
Evangelist
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:
Quote:
[Image violates guidelines for size - MODERATOR] Last edited by Dr. Drib; 02-08-2015 at 11:26 AM. |
||
02-07-2015, 10:08 AM | #101 |
Member
Posts: 23
Karma: 25468
Join Date: Jul 2013
Location: Germany
Device: Kobo mini
|
Thank you
Thank you very much, tshering, for this patch. I only increased the font size in the dictionaries, but that makes an awful difference for me. Actually, I didn't use your patch, but modified libnickel.so.1.0.0 directly (first I DID change the length of the respective section in libnickel.so.1.0.0, so I had to make a factory reset ). Now all is fine. I have a Kobo Mini, used font-size:26px;line-height:30px and did not change font-family. By the way, if someone uses only dictionaries he produced with penelope.py, penelope.py can be modified to define the font-size one likes without modifying libnickel.
|
02-07-2015, 10:58 AM | #102 | |
Wizard
Posts: 3,489
Karma: 2914715
Join Date: Jun 2012
Device: kobo touch
|
Quote:
Thank you for this information. |
|
02-07-2015, 11:01 AM | #103 |
Wizard
Posts: 3,489
Karma: 2914715
Join Date: Jun 2012
Device: kobo touch
|
|
02-07-2015, 11:05 AM | #104 |
Wizard
Posts: 3,489
Karma: 2914715
Join Date: Jun 2012
Device: kobo touch
|
Modification for Bad Eyes FW 3.12.1
Follow the instructions of version 3.12.0 (but read 3.12.1 whenever there is written 3.12.0). I did not test this package on my reader, since I have not yet installed the 3.12.1 FW.
The css blocks for Dictionary View are included, I did however not modify the values. Last edited by tshering; 02-07-2015 at 12:42 PM. |
02-07-2015, 12:18 PM | #105 | ||
Evangelist
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:
Quote:
|
||
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Which Ebook reader is easiest on the eyes? i.e doesn't strain your eyes when reading | Berabouman | Which one should I buy? | 2 | 02-08-2013 09:07 AM |
Glo Is the screen of my Glo bad or is it my eyes? | Polly7 | Kobo Reader | 5 | 01-29-2013 03:56 AM |
help with some modifications | moller | Kindle Developer's Corner | 3 | 10-12-2012 02:31 PM |
Eyes of Silver, Eyes of Gold, historical romance | ellenoc | Self-Promotions by Authors and Publishers | 18 | 08-22-2011 02:34 PM |
iLiad Registry modifications | Martijn | iRex Developer's Corner | 7 | 03-27-2008 05:37 PM |