03-07-2016, 10:49 PM | #16 | |
Bookmaker & Cat Slave
Posts: 11,462
Karma: 158448243
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
|
Quote:
Hitch |
|
03-08-2016, 01:43 AM | #17 | |
Wizard
Posts: 2,297
Karma: 12126329
Join Date: Jul 2012
Device: Kobo Forma, Nook
|
Quote:
You know me and my latest LaTeX binge... so I couldn't help but looking up a TeX-based solution. Here is a way to generate a glyph map of a given font by just go through all the Unicode points: https://tex.stackexchange.com/questi...phs-with-xetex It was easy as pie. I was able to generate a glyph map PDF within seconds. All I had to do was feed it the name of the font. I attached a few sample PDFs I made using the code from the above link:
They aren't the prettiest, but I guess it gets the job done in my book. Hopefully I understood all this rambling correctly? Last edited by Tex2002ans; 03-08-2016 at 02:37 AM. |
|
Advert | |
|
03-08-2016, 01:22 PM | #18 | ||
Bookmaker & Cat Slave
Posts: 11,462
Karma: 158448243
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
|
Quote:
Quote:
(OMG, I've just lost my mind. I can't even believe I'm discussing this. Whatever happened to my life with Caecilia, TNR...?) Thanks, Tex. It's excellent to know this. And of course, I mooched your Glyph maps. Best, Hitch |
||
03-08-2016, 03:06 PM | #19 |
Grand Sorcerer
Posts: 11,470
Karma: 13095790
Join Date: Aug 2007
Location: Grass Valley, CA
Device: EB 1150, EZ Reader, Literati, iPad 2 & Air 2, iPhone 7
|
While not glyph/font set specific there are similar maps in our wiki. Check https://wiki.mobileread.com/wiki/Name...ter_references Named character references for the HTML5 supported names. Check the category and links inside the page for several others.
Dale |
03-08-2016, 03:51 PM | #20 | |||
Wizard
Posts: 2,297
Karma: 12126329
Join Date: Jul 2012
Device: Kobo Forma, Nook
|
Quote:
Quote:
To change the font, all that has to change in the .tex file is this little line: Code:
\setmainfont{Times New Roman} If you want to generate the glyph map for Bold/Italic/BoldItalic, you would then have to change this line: Code:
\symbol{\i}\endgraf Code:
\textbf{\symbol{\i}\endgraf} Code:
\textit{\symbol{\i}\endgraf} Code:
\textbf{\textit{\symbol{\i}\endgraf}} Quote:
Hiccup #1: A few of the fonts weren't working (Wingdings/Wingdings 2/Webdings/a few others). I believe the fonts have to be Unicode aware (?) so the previous method would just generate a blank PDF. That lead me to this: https://tex.stackexchange.com/questi...ont-in-xelatex So I generated a few of glyph maps for those fonts (they are ugly, but they show all the glyphs). I stuck them in a zip file:
With your ten thousand different fonts, there are probably bound to be some that just won't show up using the previous Unicode method. As you stumble across them, we could probably go hunting around for different solutions (or maybe the above one works). :P Hiccup #2: I was messing around last night on file-format.info, and I saw that "Segoe UI Symbol" font had quite a few more symbols higher up in Unicode. Turns out U+FFFF isn't high enough. This line in the .tex file had to change: Code:
\multido{\i=0+1}{"10000}{% from U+0000 to U+FFFF Code:
\multido{\i=0+1}{"50000}{
Hiccup #3: I have no idea about showing alternative glyphs and all of that fancier OpenType stuff. Last edited by Tex2002ans; 03-08-2016 at 04:33 PM. |
|||
Advert | |
|
03-11-2016, 02:28 AM | #21 | |
Bookmaker & Cat Slave
Posts: 11,462
Karma: 158448243
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
|
Quote:
Until I saw the price. So much for THAT idea. Bloody HELL! Hitch |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
PRS-T1 Non English glyphs (AKA characters) | Ghitulescu | Sony Reader | 11 | 09-12-2014 06:41 AM |
Glyphs? | fiona86 | ePub | 4 | 01-18-2012 11:29 PM |
Nook goodness overload | boswd | Barnes & Noble NOOK | 7 | 11-24-2010 03:58 AM |
Oh for goodness sake. | jamiepullman | Calibre | 11 | 10-09-2008 02:26 PM |
My goodness it's gorgeous. | Riocaz | iRex | 7 | 07-20-2006 06:57 PM |