Questions tagged [glyph]

The shape of a character as rendered (e.g in a font)

330 questions
14
votes
3 answers

how to change glyph height without changing the font-size?

Issue for text elements that are adjacent to icon elements, the glyph height is not aligned with the icon height. the text elements are styled by CSS with font-size: 20px; and have consistent width for all their instances. here's an…
Leron
  • 9,546
  • 35
  • 156
  • 257
13
votes
2 answers

UTF-8: how many bytes are used by languages to represent a visible character?

Does there exist a table or something similar which shows how many bytes different languages need on average to represent a visible character (glyph) when the encoding is utf8?
sid_com
  • 24,137
  • 26
  • 96
  • 187
12
votes
3 answers

Extracting glyph-path information from ttf files

I'm trying to figure out a way to extract the information encoded in ttf files. namely: The char-to-glyph table and the individual glyph path data. Does anyone have a good reference explaining the ttf file structure, or some other solution? Keep in…
11
votes
3 answers

Determining exact glyph height in specified font

I have searched a lot and tried much but I can not find the proper solution. I wonder is there any approach for determining exact glyph height in specified font? I mean here when I want to determine the height of DOT glyph I should receive small…
Michael Z
  • 3,883
  • 10
  • 43
  • 57
10
votes
4 answers

Icon font - icon height bigger than expected

I'm using an icon font generated by fontastic.me in my project. However, all icons are a little bit higher as expected. Snippet here: .icon-camera { font-size: 40px; background: #ff0000; }
Tamás Pap
  • 17,777
  • 15
  • 70
  • 102
9
votes
2 answers

Get single glyph metrics (.net)

How can I get full information about single glyph from choosen font (for example Arial -> symbol "A") This picture describe what variables I need to find:
leavelllusion
  • 329
  • 5
  • 11
9
votes
1 answer

Why is my QML CJK text being rendered with corrupt glyphs?

My application allows the user to switch languages on the fly. I'm seeing that about 10% of the time the user switches to Chinese or Japanese, the glyphs for the UI text are being rendered improperly. This application is running under Linux on an…
Matthew Reynolds
  • 151
  • 1
  • 10
9
votes
2 answers

Calculate the exact size of a font glyph

I need a way to find the exact size and position of a glyph relative to its bounding box. We're using D3.js to create an SVG with a heading, a smaller byline and a short body text. Pretty much this: Lorem ipsum Lorem ipsum dolor Lorem ipsum dolor…
pstenstrm
  • 6,339
  • 5
  • 41
  • 62
9
votes
1 answer

Outline of a text as single line vector path

For an application I need to draw text/glyphs as a vector based path. Using GDI+ GraphicsPath and Graphics.DrawPath or WPF FormattedText and Geometry works fine and I get the output as shown in the first picture. But is it somehow possible to get…
Matthias
  • 5,574
  • 8
  • 61
  • 121
9
votes
1 answer

How to get UIBezierpath using Glyph in iOS SDK

How can we get UIBezierPath from a character using Glyph in iOS SDK. I had gone through this, but It is showing double line and I want only single line.. As I am new in this research..Please help me to solve this problem.. I do not want any code but…
Mehul Mistri
  • 15,037
  • 14
  • 70
  • 94
8
votes
1 answer

Memory leak in Font Glyph / UIWebView

I just found that when UIwebview get dealloc-ed, most of the memory it used doesn't get totally recycled. After doing some profile, i found most of the still alive memory are Font glyph cache(the problem is much worse if you are open a chinese web…
jim.huang
  • 1,052
  • 2
  • 9
  • 14
8
votes
2 answers

What do we use glyph for?

What is a glyph and what do we use it for especially in context of silverlight and xaml?
Sandbox
  • 7,910
  • 11
  • 53
  • 67
8
votes
1 answer

how to add unicode in truetype0font on pdfbox 2.0.0?

I've been using the PDFBOX version 2.0.0 in a Java project to convert pdfs to text. several of my pdfs are missing the ToUnicode method, so they come out in Gibberish while I export them. 2016-09-14 10:44:55 WARN …
omri a
  • 83
  • 1
  • 1
  • 5
7
votes
2 answers

Horizontal alignment of "large" labels is offset when using adj argument in text

In text, the argument adj allows adjustment of the labels with respect to x and y. For example, adj values of (0, 1) means left-top alignment, i.e. the left, top corner of the label is placed at the given x, y coordinate. This works fine with the…
yalei du
  • 697
  • 7
  • 13
7
votes
3 answers

Is it possible to display an alternate character with CSS?

I am using a web font that has several different, "M's" to choose from, in the glyphs panel. The default "M" that keeps being displayed in my website is hideous. I would like to use a better looking "M" from one of the font's alternate character…
Renee
  • 71
  • 1
  • 4
1
2
3
21 22