![]() |
#1 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,086
Karma: 6719822
Join Date: Jul 2012
Device: Palm Pilot M105
|
I'm assuming it's the font's fault, but just in case ...
In my html I have ½ and in the Preview window it shows 1/4 instead of 1/2. It does this with Google's Literata Book Medium; with Microsoft's Sitka it shows 1/2.
|
![]() |
![]() |
![]() |
#2 |
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 8,562
Karma: 5703586
Join Date: Nov 2009
Device: many
|
Wow, could you check with Chrome browser and see if it has the same issue? QtWebEngine is chrome based.
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,086
Karma: 6719822
Join Date: Jul 2012
Device: Palm Pilot M105
|
Yes, same thing; 1/4 with Literata, 1/2 with another font. Does that mean they mixed up the glyph for #189?
|
![]() |
![]() |
![]() |
#4 |
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 8,562
Karma: 5703586
Join Date: Nov 2009
Device: many
|
Yes that means it is the font that is messed up - either wrong glyph of wrong font table.
|
![]() |
![]() |
![]() |
#5 |
Banned
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 168
Karma: 10010
Join Date: Oct 2018
Device: Tolino/PRS 650/Tablet
|
You can check with a FontExplorer, using Windows the charactermap should be enough to fugure this out.
|
![]() |
![]() |
Advert | |
|
![]() |
#6 | ||
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,306
Karma: 13057279
Join Date: Jul 2012
Device: Kobo Forma, Nook
|
Quote:
Fonts > Font Coverage > All Characters in this text: ½ Quote:
Side Note: And may I ask why you're using the Vulgar Fraction characters? |
||
![]() |
![]() |
![]() |
#7 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,086
Karma: 6719822
Join Date: Jul 2012
Device: Palm Pilot M105
|
|
![]() |
![]() |
![]() |
#8 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,086
Karma: 6719822
Join Date: Jul 2012
Device: Palm Pilot M105
|
It was Literata Book, not Literata. Its version was 2.002 or somesuch, while on fonts.google.com the version is 2.201 and there the name is Literata. I'm guessing that I got Literata Book from fontsquirrel.com.
|
![]() |
![]() |
![]() |
#9 | ||
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,306
Karma: 13057279
Join Date: Jul 2012
Device: Kobo Forma, Nook
|
Quote:
Quote:
Vulgar Fractions have quite a few disadvantages (some are listed in this article): http://www.personal.psu.edu/ejp10/bl...unicode-1.html But the biggest disadvantage in my experience is: What if you need one that isn't included? Here's a list of Vulgar Fractions in Unicode: http://www.fileformat.info/info/unic...preview=entity Unicode has the "most common" basic fractions like 1/2, 1/4, 3/4... but Font support is also very shaky once you get beyond the most basic. On my computer, ~230 fonts include ¼, but only 82 have ⅞. Remember, people are going to be reading this on ereaders with all different types of fonts. Also, when you need a 1/12 or 1/100 or 4/3... all of a sudden vulgar fractions will look one way, while normal fractions look another way. * * * If you still want the "vulgar look", it's better to implement this via OpenType frac and CSS: https://helpx.adobe.com/fonts/using/...ntax.html#frac but even this, support is going to be lacking in many Fonts/Readers/Tools. Side Note: And whatever you do, don't try to hack together fractions as superscripts/subscripts: Code:
<sup>1</sup>/<sub>2</sub> Last edited by Tex2002ans; 08-26-2019 at 05:45 AM. |
||
![]() |
![]() |
![]() |
#10 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,086
Karma: 6719822
Join Date: Jul 2012
Device: Palm Pilot M105
|
|
![]() |
![]() |
![]() |
#11 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,364
Karma: 78877538
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
|
I have to admit I've been quite annoyed at time by Kobo and fractions in Epub formatted material. Many times I've seen a square symbol in the ingredients list when the font in use does not have the required symbol.
At least in kepub they will fall back to displaying the missing symbol using a different font. Sent from my moto g(7) power using Tapatalk |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
kindle origami voyage case or the leather origami case? want a simple case | wakkaday | Amazon Kindle | 14 | 10-19-2016 12:56 PM |
I'm assuming Kindle 3 will work with WPA encryption? | AFK_Matrix | Amazon Kindle | 12 | 06-18-2012 12:42 PM |
Unutterably Silly Whose fault is it? | Logseman | Lounge | 59 | 03-25-2010 12:10 AM |
assuming 2.0 is coming soon... | pippin65 | Amazon Kindle | 21 | 02-08-2009 10:15 PM |
Its Oprahs Fault! | desertgrandma | Amazon Kindle | 5 | 11-01-2008 11:16 PM |