Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Formats > Workshop

Notices

Reply
 
Thread Tools Search this Thread
Old 03-07-2016, 10:49 PM   #16
Hitch
Bookmaker & Cat Slave
Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.
 
Hitch's Avatar
 
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:
Originally Posted by BetterRed View Post
Not sure its enough to blow AU$70. Most discount coupons don't work down here - which says not a lot for the AUS-US so-called Free Trade Agreement. I'd rather give the $70 to the Fijians.

Maybe I could crowdsource the AU$70 :lol:

Vaguely remember Internet Directory - also remember Gopher, WAIS and WISC.

BR
Not to mention Archie, et al. You know, we had the 18th Internet Connection in Phoenix, AZ. We had a client number of 18 (00018), with the very first ISP. Wow, that feels a long time ago. What's boggling is to remember how much of my life and career came BEFORE the Internet. And cellphones. Sheesh.

Hitch
Hitch is offline   Reply With Quote
Old 03-08-2016, 01:43 AM   #17
Tex2002ans
Wizard
Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.
 
Posts: 2,297
Karma: 12126329
Join Date: Jul 2012
Device: Kobo Forma, Nook
Quote:
Originally Posted by Hitch View Post
Now, some fonts that I snag have reliable foundries--or their creators make what I call "glyph maps" or "glyph guides." These are PDF pages that show the glyphs, and their character map. Right? If you get a glyph-heavy font, this is invaluable.

BUT, sadly...other font-makers aren't that cool. You get a font, and the glyphs, and tough s**t if you can't find what you want. I have a font like that now. It contains nearly 1,000 custom glyphs.
So, you want a nice Glyph Map those bajillion fonts you have?

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:
  • Charis SIL
    • Also a special one with larger font size. Tagged it with "[OldPeople]" just for you.
  • DejaVu Sans
  • Gentium Plus
  • Linux Libertine O
  • Segoe UI Symbol
  • Times New Roman

They aren't the prettiest, but I guess it gets the job done in my book.

Hopefully I understood all this rambling correctly?
Attached Files
File Type: pdf Charis SIL.pdf (300.6 KB, 227 views)
File Type: pdf Gentium Plus.pdf (358.1 KB, 222 views)
File Type: pdf Linux Libertine O.pdf (314.6 KB, 263 views)
File Type: pdf Times New Roman.pdf (378.6 KB, 292 views)
File Type: pdf Charis SIL[OldPeople].pdf (302.7 KB, 242 views)
File Type: pdf DejaVu Sans.pdf (319.2 KB, 313 views)
File Type: pdf Segoe UI Symbol.pdf (209.4 KB, 207 views)

Last edited by Tex2002ans; 03-08-2016 at 02:37 AM.
Tex2002ans is offline   Reply With Quote
Advert
Old 03-08-2016, 01:22 PM   #18
Hitch
Bookmaker & Cat Slave
Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.
 
Hitch's Avatar
 
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:
Originally Posted by Tex2002ans View Post
So, you want a nice Glyph Map those bajillion fonts you have?

You know me and my latest LaTeX binge... so I couldn't help but looking up a TeX-based solution.
Having read this, sweetie, I can't quite decide between kissing you and smacking you in the kisser. Old people, my nearly-geriatric butt! Although, ahem, I do have to say, the "old people" one is mo' bettah. (Yup, there I go again. Faux-patois. Would that be Fauxtois? I'm fauxtoising along. Gosh, I hope people can distinguish "Fauxtois" from "Fatwah.")

Quote:
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:
  • Charis SIL
    • Also a special one with larger font size. Tagged it with "[OldPeople]" just for you.
  • DejaVu Sans
  • Gentium Plus
  • Linux Libertine O
  • Segoe UI Symbol
  • Times New Roman

They aren't the prettiest, but I guess it gets the job done in my book.

Hopefully I understood all this rambling correctly?
This is rather brill, although my brain still shies away from the idea of creating a glyph map for...what, 1400 fonts? Yikes. Hmmmm...I wonder if I could run something like that in a batch process?

(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
Hitch is offline   Reply With Quote
Old 03-08-2016, 03:06 PM   #19
DaleDe
Grand Sorcerer
DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.
 
DaleDe's Avatar
 
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
DaleDe is offline   Reply With Quote
Old 03-08-2016, 03:51 PM   #20
Tex2002ans
Wizard
Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.
 
Posts: 2,297
Karma: 12126329
Join Date: Jul 2012
Device: Kobo Forma, Nook
Quote:
Originally Posted by Hitch View Post
Having read this, sweetie, I can't quite decide between kissing you and smacking you in the kisser. Old people, my nearly-geriatric butt! Although, ahem, I do have to say, the "old people" one is mo' bettah.
I knew you would like it. As with anything in TeX, the font size can easily be tweaked (or the margins, or the amount of columns, or the paper size, or portrait/landscape, etc. etc.).

Quote:
Originally Posted by Hitch View Post
This is rather brill, although my brain still shies away from the idea of creating a glyph map for...what, 1400 fonts? Yikes. Hmmmm...I wonder if I could run something like that in a batch process?
I am not too familiar with batch files (really something I should learn after all these years)... I would probably just do it highly inefficiently and brute force it and feed a list of fonts into a little program to generate a new .tex file for every font (and the different font faces?). :P

To change the font, all that has to change in the .tex file is this little line:

Code:
\setmainfont{Times New Roman}
You just change "Times New Roman" into whatever font name (Arial, Charis SIL, Gentium Plus, [...]).

If you want to generate the glyph map for Bold/Italic/BoldItalic, you would then have to change this line:

Code:
\symbol{\i}\endgraf
Bold:

Code:
\textbf{\symbol{\i}\endgraf}
Italic:

Code:
\textit{\symbol{\i}\endgraf}
BoldItalic:

Code:
\textbf{\textit{\symbol{\i}\endgraf}}
Quote:
Originally Posted by Hitch View Post
Thanks, Tex. It's excellent to know this. And of course, I mooched your Glyph maps.
So last night I stumbled across a few hiccups.

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:
  • Webdings/Wingdings/Wingdings 2/Wingdings 3

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
I am not 100% sure what this loop does (I thought I understood it, but in the end I was baffled). From some simple testing though, I changed it to:

Code:
\multido{\i=0+1}{"50000}{
This seems to cause it to go far beyond U+FFFF, and get all of the other Unicode blocks (Emoticons, Mathematical Alphanumeric Symbols, CJK, [...]).
  • BabelStone Han[Expanded]
    • I used this font as a test for the really high Unicode positions.
  • Cambria Math[Expanded]
  • Charis SIL[Expanded]
  • DejaVu Sans[Expanded]
  • Gentium Plus[Expanded]
  • Segoe UI Symbol[Expanded]

Hiccup #3: I have no idea about showing alternative glyphs and all of that fancier OpenType stuff.
Attached Files
File Type: zip WebdingsWingdingsGlyphMap.zip (175.7 KB, 186 views)
File Type: pdf BabelStone Han[Expanded].pdf (10.84 MB, 4416 views)
File Type: pdf Cambria Math[Expanded].pdf (457.8 KB, 220 views)
File Type: pdf Charis SIL[Expanded].pdf (305.1 KB, 205 views)
File Type: pdf DejaVu Sans[Expanded].pdf (345.3 KB, 1051 views)
File Type: pdf Gentium Plus[Expanded].pdf (361.8 KB, 218 views)
File Type: pdf Segoe UI Symbol[Expanded].pdf (400.7 KB, 231 views)

Last edited by Tex2002ans; 03-08-2016 at 04:33 PM.
Tex2002ans is offline   Reply With Quote
Advert
Old 03-11-2016, 02:28 AM   #21
Hitch
Bookmaker & Cat Slave
Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.
 
Hitch's Avatar
 
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:
Originally Posted by BetterRed View Post
Good luck with the search for software, but take courage: I think I've settled on a desktop search tool that isn't just another 'me too' - X1. Not cheap and at times it looks a bit lego-ish, but has the features I want. <snip> been looking ever since.

BR
OMG. I went over there, and while I could REALLY use the Desktop searcher (I've just upgraded my machine to 3TB RAIDS), I was interested in the Web/Social Media tool.

Until I saw the price.

So much for THAT idea. Bloody HELL!

Hitch
Hitch is offline   Reply With Quote
Reply


Forum Jump

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


All times are GMT -4. The time now is 11:30 AM.


MobileRead.com is a privately owned, operated and funded community.