HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
FONT_Enums.h File Reference
#include "FONT_API.h"
+ Include dependency graph for FONT_Enums.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  UT::DefaultClearer< T >
 
struct  UT::DefaultClearer< FONT_Style >
 
struct  UT::DefaultClearer< FONT_Weight >
 

Namespaces

 UT
 

Enumerations

enum  FONT_Variant { FONT_VARIANT_NORMAL, FONT_VARIANT_OBLIQUE, FONT_VARIANT_BOLD, FONT_VARIANT_BOLD_OBLIQUE }
 
enum  FONT_Style : unsigned int {
  FONT_STYLE_NORMAL = 0, FONT_STYLE_ITALIC = 1 << 0, FONT_STYLE_OBLIQUE = 1 << 1, FONT_STYLE_MONOSPACED = 1 << 2,
  FONT_STYLE_DUALSPACED = 1 << 3, FONT_STYLE_SYMBOL = 1 << 4
}
 The font's style describes its visual appearance. More...
 
enum  FONT_Weight {
  FONT_WEIGHT_THIN = 100, FONT_WEIGHT_EXTRALIGHT = 200, FONT_WEIGHT_LIGHT = 300, FONT_WEIGHT_BOOK = 380,
  FONT_WEIGHT_REGULAR = 400, FONT_WEIGHT_MEDIUM = 500, FONT_WEIGHT_DEMIBOLD = 600, FONT_WEIGHT_BOLD = 700,
  FONT_WEIGHT_EXTRABOLD = 800, FONT_WEIGHT_BLACK = 900
}
 

Enumeration Type Documentation

enum FONT_Style : unsigned int

The font's style describes its visual appearance.

Enumerator
FONT_STYLE_NORMAL 

No extra visual styles apply.

FONT_STYLE_ITALIC 

Font is italic (calligraphic)

FONT_STYLE_OBLIQUE 

Font is slanted.

FONT_STYLE_MONOSPACED 

Font is mono-spaced.

FONT_STYLE_DUALSPACED 

Font is dual-spaced (e.g. CJK)

FONT_STYLE_SYMBOL 

Font is a symbol font (e.g. wingdings).

Definition at line 29 of file FONT_Enums.h.

An enum used with FONT_Registry::getVariant to pick a specific font variation given a base font. For oblique variations, this can either mean oblique or italic fonts, although oblique is preferred if it exists.

Enumerator
FONT_VARIANT_NORMAL 

Returns a normal weight, non-oblique variation.

FONT_VARIANT_OBLIQUE 

Returns a normal weight, oblique variation.

FONT_VARIANT_BOLD 

Returns a bold weight, non-oblique variation.

FONT_VARIANT_BOLD_OBLIQUE 

Returns a bold weight, oblique variation.

Definition at line 19 of file FONT_Enums.h.

Enumerator
FONT_WEIGHT_THIN 
FONT_WEIGHT_EXTRALIGHT 
FONT_WEIGHT_LIGHT 
FONT_WEIGHT_BOOK 
FONT_WEIGHT_REGULAR 
FONT_WEIGHT_MEDIUM 
FONT_WEIGHT_DEMIBOLD 
FONT_WEIGHT_BOLD 
FONT_WEIGHT_EXTRABOLD 
FONT_WEIGHT_BLACK 

Definition at line 49 of file FONT_Enums.h.