The shape of a character as rendered (e.g in a font)
Questions tagged [glyph]
330 questions
91
votes
1 answer
Languages supported by "latin" vs "latin-extended" glyphs in fonts on Google Web Fonts?
Some fonts on Google Web Fonts support multiple "character sets". The thing is, if the web font I use only serves the "latin" glyphs, users who translate the page to a language whose glyphs aren't supported will clearly notice the messed up…

its_me
- 10,998
- 25
- 82
- 130
58
votes
2 answers
Core Text calculate letter frame in iOS
I need to calculate exact bounding box for every each character (glyph) in NSAttributedString (Core Text).
After putting together some code used to solve similar problems (Core Text selection, etc..), the result is quite good, but only few frames…

Lukasz
- 19,816
- 17
- 83
- 139
58
votes
7 answers
Is there a Unicode glyph that looks like a "key" icon?
Unicode has a million icon-like glyphs, but they're not always easy to search by, since I don't always know what they look like.
Is there a Unicode glyph that looks like a "key"? Or is there a symbol that's used in database circles to mean "primary…

Alec
- 759
- 1
- 5
- 8
55
votes
5 answers
Is there a list of characters that look similar to English letters?
I’m having a crack at profanity filtering for a web forum written in Python.
As part of that, I’m attempting to write a function that takes a word, and returns all possible mock spellings of that word that use visually similar characters in place of…

Paul D. Waite
- 96,640
- 56
- 199
- 270
37
votes
8 answers
Downsizing an .OTF font by removing glyphs
I can't quite believe this question hasn't been asked specifically for OpenType fonts, but does anyone know of a way to remove glyphs from these fonts?
I have an .OTF with a very large file-size (almost 10MB) and I need to make it smaller. The…

shennan
- 10,798
- 5
- 44
- 79
35
votes
1 answer
wpf DocumentViewer - get ITextPointer by GlyphRun and vice versa
Just wondering whether anybody has tried to hack into WPF DocumentViewer in order to make it more useful. I've spent almost a week already trying to create more powerful API for this control based on it's methods which I extract using reflection. …

Snowbear
- 16,924
- 3
- 43
- 67
34
votes
8 answers
Is there a "glyph not found" character?
Let's assume we have a text that contains a Unicode character that cannot be displayed because our font has no corresponding glyph. Usually, a placeholder is displayed instead, e.g. a rectangular block thingy (see screenshot).
Is there a "glyph not…

Sebastian Negraszus
- 11,915
- 7
- 43
- 70
28
votes
1 answer
TrueType Font's glyph are made of quadratic Bezier. Why do more than one consecutive off-curve points appear in glyph outline?
I'm writing a TTF parser. For a better understanding of the TTF format, I used TTX to extract the ".notdef" glyph data of C:\Windows\calibri.ttf as follow.
…

lzl124631x
- 4,485
- 2
- 30
- 49
21
votes
1 answer
Is it possible to remove hideous outline around a TSpeedButton glyph?
I've run into a bit of a snag, is it just me or can you not assign an image from a resource to TSpeedButton's glyph without a hideous black outline as shown below?
I've assigned it exactly the same way for the TImage component and I'm getting the…

Felix de Souza
- 213
- 2
- 5
18
votes
3 answers
Find characters that are similar glyphically in Unicode?
Lets say I have the characters Ú, Ù, Ü. All of them are similar glyphically to the English U.
Is there some list or algorithm to do this:
Given a Ú or Ù or Ü return the English U
Given a English U, return the list of all U-similar characters
I'm…

Zabba
- 64,285
- 47
- 179
- 207
17
votes
7 answers
Windows font that clearly disambiguates the number ZERO from letter O
Our intranet web pages need to clearly disambiguate between the letter O and the number ZERO. Is there a screen+printer font that is installed on WindowsXP and Vista that does this either putting a dot inside zero or a slash through it?
If there…

Tim
- 8,669
- 31
- 105
- 183
17
votes
2 answers
Using NSLayoutManager to calculate frames for each glyph
On this thread, Core Text calculate letter frame in iOS, they were able to calculate the frame of each glyph very precisely using Core Text. The final rects hug the actual drawn glyphs perfectly.
Using NSLayoutManager's…

jlmendezbonini
- 2,239
- 21
- 25
14
votes
1 answer
Combining arbitrary Unicode symbols, or Unicode characters with negative width
Back in the older ZX Spectrum days, there was a way to print one glyph on top of another, creating a composite glyph with the help of OVER 1 instruction.
I wonder if there is a Unicode way to do the same on modern computers? Can I overlay two…

toriningen
- 7,196
- 3
- 46
- 68
14
votes
2 answers
What's the unicode glyph used to indicate combining characters?
My application needs to display "orphaned" combining characters. I would like to use the same format as the "official" unicode charts, using the dotted circle placeholder. See, for example:
Combining Diacritical Marks (PDF)
A quick scan through…

Dave Mateer
- 17,608
- 15
- 96
- 149
14
votes
6 answers
Glyphicon works locally but not on Heroku
If you look at my app here: http://quiet-brushlands-5712.herokuapp.com/, close to the button is an icon, a glyphicon. But it's not appearing on heroku. locally it show as nicely like this:
I tried the "solution" from here Using boostrap.css file…

emi
- 2,830
- 5
- 31
- 53