08-24-2013, 05:14 PM | #826 |
Addict
Posts: 250
Karma: 136662
Join Date: Apr 2011
Device: N/A
|
OK. I localised the problem.
1. Working with original DejaVu fonts: it behaves as described, the condensed fonts are not seen. 2. Removed the DejaVu normal fonts, and the condensed fonts are seen correctly. 3. Increase weights on all four sets of fonts (using FontCreator) 4. Place all four modified sets on Kindle: it behaves as described, the condensed fonts are not seen. 5. Use TypeLight and rename the condensed fonts to the same. It has the strange effect of clearing some metadata fields. As such, all four fonts are seen separately. At this point, I got a new problem. This happens only with DejaVu Sans Condensed with increase weight. 1. If I put on Kindle only the regular font, the text appears as regular. 2. But if I put both the regular and any other (italic, bold, or bolditalic), then the main font is no longer the regular, but one of the others, in this order: italic, bold, bolditalic. I am pretty sure that the metadata is correct for these fonts. So something else is happening. I tried the same with the original DejaVu Sans Condensed alone (i.e. without the original DejaVu Sans). The font is shown as DejaVu Sans, but it behaves correctly, i.e. the regular font is not ignored. For all DejaVu weight increases I used glyph transformation bold(30,24). Any suggestions for what I may try next? Last edited by hfpop; 08-24-2013 at 05:22 PM. |
08-24-2013, 05:26 PM | #827 |
Grand Sorcerer
Posts: 6,111
Karma: 34000001
Join Date: Mar 2008
Device: KPW1, KA1
|
It probably is caused by the metadata.
As far as I know, the font names (file names) do not tell the reader anything. |
Advert | |
|
08-24-2013, 05:47 PM | #828 |
Addict
Posts: 250
Karma: 136662
Join Date: Apr 2011
Device: N/A
|
Follow up from #826
I did four experiments: 1. DejaVu Sans Condensed original is displayed correctly (wrong name); 2. DejaVu Sans Condensed renamed as above is displayed correctly (correct name); 3. DejaVu Sans Condensed weight increased as above is displayed in italics (ignores the regular); 4. DejaVu Sans Condensed weight increased and renamed as above is displayed in italics (ignores the regular). My conclusion is that by increasing the weight the regular font is no longer recognized as regular and as such is ignored by Kindle. This is strange, as it happens only with DejaVu Sans Condensed, and not any other font from this family, and only if it is not alone (i.e. other styles are present). This implies that other metadata may need to adjust in order for the regular font be accepted. Which one? As well, is there any other conclusion to infer? Consequently, another course of action? Later edit: modifying the description field width to appear as Medium, and not Semi-condensed is not a solution. The regular font is still ignored. Last edited by hfpop; 08-24-2013 at 06:07 PM. |
08-24-2013, 06:36 PM | #829 |
Addict
Posts: 250
Karma: 136662
Join Date: Apr 2011
Device: N/A
|
I have the solution to the problem from #826 and #828.
I prepared a DejaVu Sans Condensed set of fonts with bold(25,20) and renamed. It works correctly. But the DejaVu Sans Condensed set of fonts with bold(30,24) and renamed do not work. So this may be an indication of how much weight we can add: too much weight increase appears to break the font. |
08-24-2013, 09:04 PM | #830 |
Grand Sorcerer
Posts: 6,111
Karma: 34000001
Join Date: Mar 2008
Device: KPW1, KA1
|
I think it'd be more accurate to say that, if you add too much weight to some fonts, they become unusable on the KPW. While you can make a font look very bad, I doubt that you can actually break it. (Assuming you're not setting parameters out of the bounds defined by OpenFont or TTF or something.)
|
Advert | |
|
08-25-2013, 03:52 AM | #831 |
Addict
Posts: 250
Karma: 136662
Join Date: Apr 2011
Device: N/A
|
@Katsunami: yes, you are right: The font becomes unusable on Kindle.
|
08-25-2013, 11:42 AM | #832 |
BLAM!
Posts: 13,477
Karma: 26012494
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
@hfpop: The Aa menu groups fonts by *families*, and, on FW 5.x, will synthesize (ie. fake) missing styles, which obviously works best if the provided style is the Regular style for said family.
Now, for DejaVu, the Condensed sets actually have *two* families set, with the pirmary being the exact same as the parent family (ie. DejaVu Sans Condensed => DejaVu Sans). My guess is the Kindle only cares about the primary family names, so for all intents and purpose, the default DejaVu Sans Condensed is DejaVu Sans with style Condensed, which the Kindle probably doesn't care about (Caecilia Condensed is handled in a very funny & weird way, nearly totally inside FreeType itself, so they don't really care about honoring the Condensed style). Cf. the output from fc-list (default format is ${file}: ${familes}:${styles}) Code:
/usr/share/fonts/dejavu/DejaVuSans-BoldOblique.ttf: DejaVu Sans:style=Bold Oblique /usr/share/fonts/dejavu/DejaVuSans-Bold.ttf: DejaVu Sans:style=Bold /usr/share/fonts/dejavu/DejaVuSansCondensed-BoldOblique.ttf: DejaVu Sans,DejaVu Sans Condensed:style=Condensed Bold Oblique,Bold Oblique /usr/share/fonts/dejavu/DejaVuSansCondensed-Bold.ttf: DejaVu Sans,DejaVu Sans Condensed:style=Condensed Bold,Bold /usr/share/fonts/dejavu/DejaVuSansCondensed-Oblique.ttf: DejaVu Sans,DejaVu Sans Condensed:style=Condensed Oblique,Oblique /usr/share/fonts/dejavu/DejaVuSansCondensed.ttf: DejaVu Sans,DejaVu Sans Condensed:style=Condensed,Book /usr/share/fonts/dejavu/DejaVuSans-ExtraLight.ttf: DejaVu Sans,DejaVu Sans Light:style=ExtraLight /usr/share/fonts/dejavu/DejaVuSansMono-BoldOblique.ttf: DejaVu Sans Mono:style=Bold Oblique /usr/share/fonts/dejavu/DejaVuSansMono-Bold.ttf: DejaVu Sans Mono:style=Bold /usr/share/fonts/dejavu/DejaVuSansMono-Oblique.ttf: DejaVu Sans Mono:style=Oblique /usr/share/fonts/dejavu/DejaVuSansMono.ttf: DejaVu Sans Mono:style=Book /usr/share/fonts/dejavu/DejaVuSans-Oblique.ttf: DejaVu Sans:style=Oblique /usr/share/fonts/dejavu/DejaVuSans.ttf: DejaVu Sans:style=Book /usr/share/fonts/dejavu/DejaVuSerif-BoldItalic.ttf: DejaVu Serif:style=Bold Italic /usr/share/fonts/dejavu/DejaVuSerif-Bold.ttf: DejaVu Serif:style=Bold /usr/share/fonts/dejavu/DejaVuSerifCondensed-BoldItalic.ttf: DejaVu Serif,DejaVu Serif Condensed:style=Condensed Bold Italic,Bold Italic /usr/share/fonts/dejavu/DejaVuSerifCondensed-Bold.ttf: DejaVu Serif,DejaVu Serif Condensed:style=Condensed Bold,Bold /usr/share/fonts/dejavu/DejaVuSerifCondensed-Italic.ttf: DejaVu Serif,DejaVu Serif Condensed:style=Condensed Italic,Italic /usr/share/fonts/dejavu/DejaVuSerifCondensed.ttf: DejaVu Serif,DejaVu Serif Condensed:style=Condensed,Book /usr/share/fonts/dejavu/DejaVuSerif-Italic.ttf: DejaVu Serif:style=Italic /usr/share/fonts/dejavu/DejaVuSerif.ttf: DejaVu Serif:style=Book Last edited by NiLuJe; 08-25-2013 at 11:47 AM. |
09-10-2013, 08:49 AM | #833 |
Addict
Posts: 250
Karma: 136662
Join Date: Apr 2011
Device: N/A
|
Question. Almost stupid. I have a font file *.ttf size 1.5 MB. I rename the font using TypeLight and immediately save the file. The new version has 1.1 MB. Is this normal? I mean, other than changing the name, no other actions were performed. What is happening? Compression? It removes certain data from the file?
On a second note, the Cecilia Condensed mechanism can be replicated? I.E. having FontName and FontName Condensed, from a single, non-condensed series of files. Thanks for any input. Last edited by hfpop; 09-10-2013 at 01:53 PM. |
06-17-2014, 03:03 PM | #834 |
Resident Curmudgeon
Posts: 73,957
Karma: 128903250
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
I've found a program that does automatic hinting of truetype fonts and I've applied it to my modified Charis SIL. I think it does look better on my 650. Would anyone like to give it a try on an eInk reader?
https://www.mobileread.com/forums/sho...d.php?t=184056 Last edited by JSWolf; 07-18-2016 at 03:51 PM. |
06-17-2014, 06:02 PM | #835 | |
Grand Sorcerer
Posts: 6,533
Karma: 14008730
Join Date: May 2008
Location: PA (USA)
Device: Kobo Clara, 2E, Libre, PW4, PW5, 2022 Kindle
|
Quote:
|
|
06-17-2014, 07:40 PM | #836 | |
Resident Curmudgeon
Posts: 73,957
Karma: 128903250
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
http://www.mediafire.com/download/ga...r_-_Hinted.rar |
|
06-17-2014, 08:38 PM | #837 |
Bah, humbug!
Posts: 39,073
Karma: 157049943
Join Date: Jun 2009
Location: Chesapeake, VA, USA
Device: Kindle Oasis, iPad Pro, & a Samsung Galaxy S9.
|
I don't believe these fonts work with the latest PW update; not without a jailbreak at least. I've gone back to using the generic, as I've never been a fan of jailbreaking, but if I discover I'm wrong about the latest update I'll try installing the fonts again.
|
06-17-2014, 09:03 PM | #838 |
Resident Curmudgeon
Posts: 73,957
Karma: 128903250
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
But you could embed the fonts in a KF8 eBook to try them out.
|
06-18-2014, 06:36 AM | #839 |
Addict
Posts: 372
Karma: 3710372
Join Date: Feb 2010
Device: Kindles, Sony 650
|
I feel the same, although it was a very nice font that I used until they closed that loophole. I can live with the standard fonts if I have to.
|
06-18-2014, 10:49 AM | #840 |
Resident Curmudgeon
Posts: 73,957
Karma: 128903250
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
That's one thing I prefer not to live with. I rather think the default Kindle font is ugly as sin. We'd be better off with Comic Sans.
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
How to change font size and font style? | butterbescotch | Sigil | 20 | 09-06-2013 08:22 PM |
Determine font and font size on incoming epub? | peaceridge | Calibre | 4 | 01-30-2012 03:35 PM |
Do I need a font license if all I'm doing is referring to the font (not embedding)? | Stodder | Workshop | 21 | 04-21-2011 04:19 AM |
ttc font file can't be put into font folder | droople | Sigil | 2 | 08-21-2010 10:05 AM |
feed to lrf, how do I change font (or have default font) | lovemov | Calibre | 3 | 03-16-2009 10:57 PM |