Skip to Content
Mastering UI Development with Unity
book

Mastering UI Development with Unity

by Dr. Ashley Godbold
April 2018
Beginner content levelBeginner
468 pages
11h 7m
English
Packt Publishing
Content preview from Mastering UI Development with Unity

Ascent Calculation Mode

The ascent of a font is the distance between the font's baseline and the highest glyph point. There is no standard for how this supposed "highest glyph point" is determined, so there are different modes presented in Unity to choose from, each determining a different "highest glyph point". The Ascent Calculation Mode determines how the ascent will be calculated. There are three options for how this calculation will be chosen: Legacy version 2 mode (glyph bounding boxes), Face ascender metric, and Face bounding box metric. The method chosen may have affect the vertical alignment of the font.

Legacy version 2 mode (glyph bounding boxes) measures the ascent using the highest point reached by any one of the font's glyphs ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Game Development with Unity for .NET Developers

Game Development with Unity for .NET Developers

Jiadong Chen
Unity UI Cookbook

Unity UI Cookbook

Francesco Sapio

Publisher Resources

ISBN: 9781787125520Supplemental Content