![]() |
#1 |
Junior Member
![]() Posts: 4
Karma: 10
Join Date: Mar 2023
Location: Elizabeth, CO, USA
Device: Calibre reader, Kindle
|
Getting rid of "Bold" font attribute PDF-EPUB
Hi All
My first post here. Your "introduce yourself" thread is closed for some reason? I'm trying to convert some books in PDF to EPUB or MOBI. My conversions are working OK, except for a "Bold" font attribute that appears to originate in the PDF document, which my Adobe reader reports as "LiberationSerif-Bold. Obviously the reader won't let me change this, and I don't work with PDF enough to justify purchasing the full application. Might not let me change it anyway. Whatever, the Bold attribute looks bad in the Calibre reader, and is tiring to read. I've gone thru the "conversion" and "edit" settings, and tried things that looked like they might work, but the Bold remains. I've reached the end of my very limited knowledge on the subject, I've looked thru the Manual, the FAQ, and searched the forum w/o finding anything very useful, so I thought to try asking the Gurus Any thoughts greatly appreciated. TIA! Steve (and George, the Mule) |
![]() |
![]() |
![]() |
#2 |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 30,897
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
![]() The calibre VIEWER has its own settings. Tap Esc. to see those. The font section seems to only apply to unstyled fonts, so than might not fix your issue. You could try editing the books EPUB Stylesheet Using the editor (T) 2 general places might help: change the font-family: used for the Bolded style Code:
font-family: Alegreya, serif; or change the font-weight for the style (assumes a span, b or p controls) |
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Junior Member
![]() Posts: 4
Karma: 10
Join Date: Mar 2023
Location: Elizabeth, CO, USA
Device: Calibre reader, Kindle
|
Hi TheDucks
Alas, there isn't an option in the viewer to select std. vs bold. The conversion will filter out embedded text from the input doc, and will allow me to select an alternate font, but it still comes out "bold". I think something like this is what I need to find, but I'm not sure where to find it: "or change the font-weight for the style (assumes a span, b or p controls)" I did come up with a work-around by selecting a really skinny font (Letter Gothic), and converting into epub. At least this yields a readable book. I'll experiment some more as time and enthusiasm allow. |
![]() |
![]() |
![]() |
#4 |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 30,897
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
George.
I gave up trying to fix book looks using Conversion. I use the Editor and do surgery on the CSS ![]() ![]() |
![]() |
![]() |
![]() |
#5 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,605
Karma: 9500498
Join Date: Sep 2021
Location: Australia
Device: Kobo Libra 2
|
Quote:
font-weight: bold; It might be in the <body> tag, or in the paragraph tags <p>. Change it to... font-weight: normal; |
|
![]() |
![]() |
Advert | |
|
![]() |
#6 |
Junior Member
![]() Posts: 4
Karma: 10
Join Date: Mar 2023
Location: Elizabeth, CO, USA
Device: Calibre reader, Kindle
|
Hi Karellen
Yup, that did it. Good Job! It was there twice, once under ".calibre2 {", and again under ".calibre4 {". It looks like the first entry, the one in .calibre2, was the one that made it happen, just FWIW. Calibre is an awesome tool, but like any tool, ya gotta learn how to use it :-) (Calibre5 on MacbookPro, Mojave) Thanks! Steve (and George, the Mule) |
![]() |
![]() |
![]() |
#7 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,605
Karma: 9500498
Join Date: Sep 2021
Location: Australia
Device: Kobo Libra 2
|
Great!! Glad it worked
![]() Those converted stylesheets can be difficult to read as most classes are converted to "calibre..." with numbers appended. Makes it more difficult to pick apart. If they were labelled with intuitive names like class="para" or class="noindent" it is easier to quickly diagnose. |
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Add "font-size" and "font-colour" functions to next version of Page Edit? | hhtmp88 | Sigil | 6 | 08-20-2020 03:09 PM |
epub Error while parsing file: value of attribute "src" is invalid; must be a URI | Bowcat | ePub | 2 | 10-08-2019 10:46 AM |
IngramSpark EPUB validator error:value of attribute "http-equiv" | Bjorn G | ePub | 2 | 05-03-2019 04:22 PM |
iPad "Upgraded" to iBooks 3.2 – Bold fonts are extra-bold, italics are now bold-italic | MHC | Apple Devices | 4 | 03-03-2014 01:50 PM |
Bug in epub metadata writer? Invalid attribute role="aut" | Man Eating Duck | Calibre | 3 | 09-26-2012 09:55 AM |