NovaSVG 0.10.0
A header-only SVG library
Loading...
Searching...
No Matches
font.h File Reference
#include "private.h"
#include "utils.h"
#include <stdio.h>
#include <assert.h>
#include <math.h>
#include <stdlib.h>
#include <string.h>
#include <ctype.h>
#include <fcntl.h>
#include <unistd.h>
#include <dirent.h>
#include <limits.h>
#include <sys/mman.h>
#include <sys/stat.h>
Include dependency graph for font.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  stbtt__buf
 
struct  stbtt_bakedchar
 
struct  stbtt_aligned_quad
 
struct  stbtt_packedchar
 
struct  stbtt_pack_range
 
struct  stbtt_pack_context
 
struct  stbtt_fontinfo
 
struct  stbtt_kerningentry
 
struct  stbtt_vertex
 
struct  stbtt__bitmap
 
struct  stbtt__csctx
 
struct  stbtt__hheap_chunk
 
struct  stbtt__hheap
 
struct  stbtt__edge
 
struct  stbtt__active_edge
 
struct  stbtt__point
 
struct  stbrp_context
 
struct  stbrp_node
 
struct  stbrp_rect
 
struct  novasvg::render::glyph
 
struct  novasvg::render::glyph_cache_t
 
struct  novasvg::render::font_face
 
struct  novasvg::render::font_face_entry
 
struct  novasvg::render::font_face_cache
 

Namespaces

namespace  novasvg
 Main namespace for the NovaSVG library.
 
namespace  novasvg::render
 

Macros

#define STBTT_STATIC
 
#define STB_TRUETYPE_IMPLEMENTATION
 
#define STBTT_ifloor(x)   ((int) floor(x))
 
#define STBTT_iceil(x)   ((int) ceil(x))
 
#define STBTT_sqrt(x)   sqrt(x)
 
#define STBTT_pow(x, y)   pow(x,y)
 
#define STBTT_fmod(x, y)   fmod(x,y)
 
#define STBTT_cos(x)   cos(x)
 
#define STBTT_acos(x)   acos(x)
 
#define STBTT_fabs(x)   fabs(x)
 
#define STBTT_malloc(x, u)   ((void)(u),malloc(x))
 
#define STBTT_free(x, u)   ((void)(u),free(x))
 
#define STBTT_assert(x)   assert(x)
 
#define STBTT_strlen(x)   strlen(x)
 
#define STBTT_memcpy   memcpy
 
#define STBTT_memset   memset
 
#define PLUTOVG_STB_TRUETYPE_H
 
#define STBTT_DEF   static
 
#define STBTT_POINT_SIZE(x)   (-(x))
 
#define stbtt_vertex_type   short
 
#define STBTT_MACSTYLE_DONTCARE   0
 
#define STBTT_MACSTYLE_BOLD   1
 
#define STBTT_MACSTYLE_ITALIC   2
 
#define STBTT_MACSTYLE_UNDERSCORE   4
 
#define STBTT_MACSTYLE_NONE   8
 
#define STBTT_MAX_OVERSAMPLE   8
 
#define STBTT_RASTERIZER_VERSION   2
 
#define STBTT__NOTUSED(v)   (void)sizeof(v)
 
#define stbtt__buf_get16(b)   stbtt__buf_get((b), 2)
 
#define stbtt__buf_get32(b)   stbtt__buf_get((b), 4)
 
#define ttBYTE(p)   (* (stbtt_uint8 *) (p))
 
#define ttCHAR(p)   (* (stbtt_int8 *) (p))
 
#define ttFixed(p)   ttLONG(p)
 
#define stbtt_tag4(p, c0, c1, c2, c3)   ((p)[0] == (c0) && (p)[1] == (c1) && (p)[2] == (c2) && (p)[3] == (c3))
 
#define stbtt_tag(p, str)   stbtt_tag4(p,str[0],str[1],str[2],str[3])
 
#define STBTT__CSCTX_INIT(bounds)   {bounds,0, 0,0, 0,0, 0,0,0,0, NULL, 0}
 
#define STBTT__CSERR(s)   (0)
 
#define STBTT_GPOS_TODO_assert(x)
 
#define STBTT__COMPARE(a, b)   ((a)->y0 < (b)->y0)
 
#define STBTT__OVER_MASK   (STBTT_MAX_OVERSAMPLE-1)
 
#define STBTT_min(a, b)   ((a) < (b) ? (a) : (b))
 
#define STBTT_max(a, b)   ((a) < (b) ? (b) : (a))
 
#define novasvg_mutex_init(mutex)   ((void)(mutex))
 
#define novasvg_mutex_lock(mutex)   ((void)(mutex))
 
#define novasvg_mutex_unlock(mutex)   ((void)(mutex))
 
#define novasvg_mutex_destroy(mutex)   ((void)(mutex))
 
#define GLYPH_CACHE_INIT_CAPACITY   128
 

Typedefs

typedef unsigned char stbtt_uint8
 
typedef signed char stbtt_int8
 
typedef unsigned short stbtt_uint16
 
typedef signed short stbtt_int16
 
typedef unsigned int stbtt_uint32
 
typedef signed int stbtt_int32
 
typedef char stbtt__check_size32[sizeof(stbtt_int32)==4 ? 1 :-1]
 
typedef char stbtt__check_size16[sizeof(stbtt_int16)==2 ? 1 :-1]
 
typedef struct stbtt_pack_context stbtt_pack_context
 
typedef struct stbtt_fontinfo stbtt_fontinfo
 
typedef struct stbrp_rect stbrp_rect
 
typedef struct stbtt_kerningentry stbtt_kerningentry
 
typedef int stbtt__test_oversample_pow2[(8 &(8 -1))==0 ? 1 :-1]
 
typedef struct stbtt__hheap_chunk stbtt__hheap_chunk
 
typedef struct stbtt__hheap stbtt__hheap
 
typedef struct stbtt__edge stbtt__edge
 
typedef struct stbtt__active_edge stbtt__active_edge
 
typedef int stbrp_coord
 
typedef int novasvg::render::mutex_t
 
typedef struct novasvg::render::glyph novasvg::render::glyph_t
 
typedef struct novasvg::render::font_face_entry novasvg::render::font_face_entry_t
 

Enumerations

enum  { STBTT_vmove =1 , STBTT_vline , STBTT_vcurve , STBTT_vcubic }
 
enum  { STBTT_PLATFORM_ID_UNICODE =0 , STBTT_PLATFORM_ID_MAC =1 , STBTT_PLATFORM_ID_ISO =2 , STBTT_PLATFORM_ID_MICROSOFT =3 }
 
enum  {
  STBTT_UNICODE_EID_UNICODE_1_0 =0 , STBTT_UNICODE_EID_UNICODE_1_1 =1 , STBTT_UNICODE_EID_ISO_10646 =2 , STBTT_UNICODE_EID_UNICODE_2_0_BMP =3 ,
  STBTT_UNICODE_EID_UNICODE_2_0_FULL =4
}
 
enum  { STBTT_MS_EID_SYMBOL =0 , STBTT_MS_EID_UNICODE_BMP =1 , STBTT_MS_EID_SHIFTJIS =2 , STBTT_MS_EID_UNICODE_FULL =10 }
 
enum  {
  STBTT_MAC_EID_ROMAN =0 , STBTT_MAC_EID_ARABIC =4 , STBTT_MAC_EID_JAPANESE =1 , STBTT_MAC_EID_HEBREW =5 ,
  STBTT_MAC_EID_CHINESE_TRAD =2 , STBTT_MAC_EID_GREEK =6 , STBTT_MAC_EID_KOREAN =3 , STBTT_MAC_EID_RUSSIAN =7
}
 
enum  {
  STBTT_MS_LANG_ENGLISH =0x0409 , STBTT_MS_LANG_ITALIAN =0x0410 , STBTT_MS_LANG_CHINESE =0x0804 , STBTT_MS_LANG_JAPANESE =0x0411 ,
  STBTT_MS_LANG_DUTCH =0x0413 , STBTT_MS_LANG_KOREAN =0x0412 , STBTT_MS_LANG_FRENCH =0x040c , STBTT_MS_LANG_RUSSIAN =0x0419 ,
  STBTT_MS_LANG_GERMAN =0x0407 , STBTT_MS_LANG_SPANISH =0x0409 , STBTT_MS_LANG_HEBREW =0x040d , STBTT_MS_LANG_SWEDISH =0x041D
}
 
enum  {
  STBTT_MAC_LANG_ENGLISH =0 , STBTT_MAC_LANG_JAPANESE =11 , STBTT_MAC_LANG_ARABIC =12 , STBTT_MAC_LANG_KOREAN =23 ,
  STBTT_MAC_LANG_DUTCH =4 , STBTT_MAC_LANG_RUSSIAN =32 , STBTT_MAC_LANG_FRENCH =1 , STBTT_MAC_LANG_SPANISH =6 ,
  STBTT_MAC_LANG_GERMAN =2 , STBTT_MAC_LANG_SWEDISH =5 , STBTT_MAC_LANG_HEBREW =10 , STBTT_MAC_LANG_CHINESE_SIMPLIFIED =33 ,
  STBTT_MAC_LANG_ITALIAN =3 , STBTT_MAC_LANG_CHINESE_TRAD =19
}
 

Functions

NOVASVG_INLINE void novasvg::render::text_iterator_init (text_iterator_t *it, const void *text, int length, text_encoding_t encoding)
 Initializes a text iterator.
 
NOVASVG_INLINE bool novasvg::render::text_iterator_has_next (const text_iterator_t *it)
 Checks if there are more code points to iterate.
 
NOVASVG_INLINE codepoint_t novasvg::render::text_iterator_next (text_iterator_t *it)
 Retrieves the next code point and advances the iterator.
 
NOVASVG_INLINE font_face_t * novasvg::render::font_face_load_from_file (const char *filename, int ttcindex)
 Loads a font face from a file.
 
NOVASVG_INLINE font_face_t * novasvg::render::font_face_load_from_data (const void *data, unsigned int length, int ttcindex, destroy_func_t destroy_func, void *closure)
 Loads a font face from memory.
 
NOVASVG_INLINE font_face_t * novasvg::render::font_face_reference (font_face_t *face)
 Increments the reference count of a font face.
 
NOVASVG_INLINE void novasvg::render::font_face_destroy (font_face_t *face)
 Decrements the reference count and potentially destroys the font face.
 
NOVASVG_INLINE int novasvg::render::font_face_get_reference_count (const font_face_t *face)
 Retrieves the current reference count of a font face.
 
NOVASVG_INLINE float novasvg::render::font_face_get_units_per_em (const font_face_t *face)
 
NOVASVG_INLINE void novasvg::render::font_face_enumerate_codepoints (const font_face_t *face, void(*callback)(uint32_t codepoint, void *closure), void *closure)
 
NOVASVG_INLINE void novasvg::render::font_face_get_metrics (const font_face_t *face, float size, float *ascent, float *descent, float *line_gap, rect_t *extents)
 Retrieves metrics for a font face at a specified size.
 
NOVASVG_INLINE void novasvg::render::font_face_get_glyph_metrics (font_face_t *face, float size, codepoint_t codepoint, float *advance_width, float *left_side_bearing, rect_t *extents)
 Retrieves metrics for a specified glyph at a given size.
 
NOVASVG_INLINE float novasvg::render::font_face_get_kern_advance (font_face_t *face, float size, codepoint_t ch1, codepoint_t ch2)
 
NOVASVG_INLINE float novasvg::render::font_face_get_glyph_path (font_face_t *face, float size, float x, float y, codepoint_t codepoint, path_t *path)
 Retrieves the path of a glyph and its advance width.
 
NOVASVG_INLINE float novasvg::render::font_face_traverse_glyph_path (font_face_t *face, float size, float x, float y, codepoint_t codepoint, path_traverse_func_t traverse_func, void *closure)
 Traverses the path of a glyph and calls a callback for each path element.
 
NOVASVG_INLINE void novasvg::render::font_face_init_ligatures (font_face_t *face)
 
NOVASVG_INLINE codepoint_t novasvg::render::font_face_apply_ligature (font_face_t *face, text_iterator_t *it, codepoint_t codepoint)
 
NOVASVG_INLINE float novasvg::render::font_face_text_extents (font_face_t *face, float size, const void *text, int length, text_encoding_t encoding, rect_t *extents)
 Computes the bounding box of a text string and its advance width.
 
NOVASVG_INLINE font_face_cache_t * novasvg::render::font_face_cache_create (void)
 Create a new, empty font‐face cache.
 
NOVASVG_INLINE font_face_cache_t * novasvg::render::font_face_cache_reference (font_face_cache_t *cache)
 Increments the reference count of a font‐face cache.
 
NOVASVG_INLINE void novasvg::render::font_face_cache_destroy (font_face_cache_t *cache)
 Decrement the reference count of a font‐face cache and destroy it when it reaches zero.
 
NOVASVG_INLINE int novasvg::render::font_face_cache_reference_count (const font_face_cache_t *cache)
 Retrieve the current reference count of a font‐face cache.
 
NOVASVG_INLINE void novasvg::render::font_face_cache_reset (font_face_cache_t *cache)
 Remove all entries from a font‐face cache.
 
NOVASVG_INLINE void novasvg::render::font_face_cache_add (font_face_cache_t *cache, const char *family, bool bold, bool italic, font_face_t *face)
 Add a font face to the cache with the specified family and style.
 
NOVASVG_INLINE bool novasvg::render::font_face_cache_add_file (font_face_cache_t *cache, const char *family, bool bold, bool italic, const char *filename, int ttcindex)
 Load a font face from a file and add it to the cache with the specified family and style.
 
NOVASVG_INLINE font_face_t * novasvg::render::font_face_cache_get (font_face_cache_t *cache, const char *family, bool bold, bool italic)
 Retrieve a font face from the cache by family and style.
 
NOVASVG_INLINE int novasvg::render::font_face_cache_load_file (font_face_cache_t *cache, const char *filename)
 Load all font faces from a file and add them to the cache.
 
NOVASVG_INLINE int novasvg::render::font_face_cache_load_dir (font_face_cache_t *cache, const char *dirname)
 Load all font faces from files in a directory recursively and add them to the cache.
 
NOVASVG_INLINE int novasvg::render::font_face_cache_load_sys (font_face_cache_t *cache)
 Load all available system font faces and add them to the cache.
 

Macro Definition Documentation

◆ GLYPH_CACHE_INIT_CAPACITY

#define GLYPH_CACHE_INIT_CAPACITY   128

Definition at line 5221 of file font.h.

◆ novasvg_mutex_destroy

#define novasvg_mutex_destroy (   mutex)    ((void)(mutex))

Definition at line 5141 of file font.h.

◆ novasvg_mutex_init

#define novasvg_mutex_init (   mutex)    ((void)(mutex))

Definition at line 5138 of file font.h.

◆ novasvg_mutex_lock

#define novasvg_mutex_lock (   mutex)    ((void)(mutex))

Definition at line 5139 of file font.h.

◆ novasvg_mutex_unlock

#define novasvg_mutex_unlock (   mutex)    ((void)(mutex))

Definition at line 5140 of file font.h.

◆ PLUTOVG_STB_TRUETYPE_H

#define PLUTOVG_STB_TRUETYPE_H

Definition at line 368 of file font.h.

◆ STB_TRUETYPE_IMPLEMENTATION

#define STB_TRUETYPE_IMPLEMENTATION

Definition at line 10 of file font.h.

◆ stbtt__buf_get16

#define stbtt__buf_get16 (   b)    stbtt__buf_get((b), 2)

Definition at line 1046 of file font.h.

◆ stbtt__buf_get32

#define stbtt__buf_get32 (   b)    stbtt__buf_get((b), 4)

Definition at line 1047 of file font.h.

◆ STBTT__COMPARE

#define STBTT__COMPARE (   a,
  b 
)    ((a)->y0 < (b)->y0)

Definition at line 3318 of file font.h.

◆ STBTT__CSCTX_INIT

#define STBTT__CSCTX_INIT (   bounds)    {bounds,0, 0,0, 0,0, 0,0,0,0, NULL, 0}

Definition at line 1778 of file font.h.

◆ STBTT__CSERR

#define STBTT__CSERR (   s)    (0)

◆ STBTT__NOTUSED

#define STBTT__NOTUSED (   v)    (void)sizeof(v)

Definition at line 993 of file font.h.

◆ STBTT__OVER_MASK

#define STBTT__OVER_MASK   (STBTT_MAX_OVERSAMPLE-1)

Definition at line 3931 of file font.h.

◆ STBTT_acos

#define STBTT_acos (   x)    acos(x)

Definition at line 328 of file font.h.

◆ STBTT_assert

#define STBTT_assert (   x)    assert(x)

Definition at line 345 of file font.h.

◆ STBTT_cos

#define STBTT_cos (   x)    cos(x)

Definition at line 327 of file font.h.

◆ STBTT_DEF

#define STBTT_DEF   static

Definition at line 371 of file font.h.

◆ STBTT_fabs

#define STBTT_fabs (   x)    fabs(x)

Definition at line 333 of file font.h.

◆ STBTT_fmod

#define STBTT_fmod (   x,
  y 
)    fmod(x,y)

Definition at line 322 of file font.h.

◆ STBTT_free

#define STBTT_free (   x,
  u 
)    ((void)(u),free(x))

Definition at line 340 of file font.h.

◆ STBTT_GPOS_TODO_assert

#define STBTT_GPOS_TODO_assert (   x)

Definition at line 2415 of file font.h.

◆ STBTT_iceil

#define STBTT_iceil (   x)    ((int) ceil(x))

Definition at line 311 of file font.h.

◆ STBTT_ifloor

#define STBTT_ifloor (   x)    ((int) floor(x))

Definition at line 310 of file font.h.

◆ STBTT_MACSTYLE_BOLD

#define STBTT_MACSTYLE_BOLD   1

Definition at line 895 of file font.h.

◆ STBTT_MACSTYLE_DONTCARE

#define STBTT_MACSTYLE_DONTCARE   0

Definition at line 894 of file font.h.

◆ STBTT_MACSTYLE_ITALIC

#define STBTT_MACSTYLE_ITALIC   2

Definition at line 896 of file font.h.

◆ STBTT_MACSTYLE_NONE

#define STBTT_MACSTYLE_NONE   8

Definition at line 898 of file font.h.

◆ STBTT_MACSTYLE_UNDERSCORE

#define STBTT_MACSTYLE_UNDERSCORE   4

Definition at line 897 of file font.h.

◆ STBTT_malloc

#define STBTT_malloc (   x,
  u 
)    ((void)(u),malloc(x))

Definition at line 339 of file font.h.

◆ STBTT_max

#define STBTT_max (   a,
  b 
)    ((a) < (b) ? (b) : (a))

Definition at line 4317 of file font.h.

◆ STBTT_MAX_OVERSAMPLE

#define STBTT_MAX_OVERSAMPLE   8

Definition at line 977 of file font.h.

◆ STBTT_memcpy

#define STBTT_memcpy   memcpy

Definition at line 355 of file font.h.

◆ STBTT_memset

#define STBTT_memset   memset

Definition at line 356 of file font.h.

◆ STBTT_min

#define STBTT_min (   a,
  b 
)    ((a) < (b) ? (a) : (b))

Definition at line 4316 of file font.h.

◆ STBTT_POINT_SIZE

#define STBTT_POINT_SIZE (   x)    (-(x))

Definition at line 470 of file font.h.

◆ STBTT_pow

#define STBTT_pow (   x,
  y 
)    pow(x,y)

Definition at line 317 of file font.h.

◆ STBTT_RASTERIZER_VERSION

#define STBTT_RASTERIZER_VERSION   2

Definition at line 987 of file font.h.

◆ STBTT_sqrt

#define STBTT_sqrt (   x)    sqrt(x)

Definition at line 316 of file font.h.

◆ STBTT_STATIC

#define STBTT_STATIC

Definition at line 9 of file font.h.

◆ STBTT_strlen

#define STBTT_strlen (   x)    strlen(x)

Definition at line 350 of file font.h.

◆ stbtt_tag

#define stbtt_tag (   p,
  str 
)    stbtt_tag4(p,str[0],str[1],str[2],str[3])

Definition at line 1160 of file font.h.

◆ stbtt_tag4

#define stbtt_tag4 (   p,
  c0,
  c1,
  c2,
  c3 
)    ((p)[0] == (c0) && (p)[1] == (c1) && (p)[2] == (c2) && (p)[3] == (c3))

Definition at line 1159 of file font.h.

◆ stbtt_vertex_type

#define stbtt_vertex_type   short

Definition at line 702 of file font.h.

◆ ttBYTE

#define ttBYTE (   p)    (* (stbtt_uint8 *) (p))

Definition at line 1150 of file font.h.

◆ ttCHAR

#define ttCHAR (   p)    (* (stbtt_int8 *) (p))

Definition at line 1151 of file font.h.

◆ ttFixed

#define ttFixed (   p)    ttLONG(p)

Definition at line 1152 of file font.h.

Typedef Documentation

◆ stbrp_coord

typedef int stbrp_coord

Definition at line 3808 of file font.h.

◆ stbrp_rect

typedef struct stbrp_rect stbrp_rect

Definition at line 453 of file font.h.

◆ stbtt__active_edge

◆ stbtt__check_size16

typedef char stbtt__check_size16[sizeof(stbtt_int16)==2 ? 1 :-1]

Definition at line 305 of file font.h.

◆ stbtt__check_size32

typedef char stbtt__check_size32[sizeof(stbtt_int32)==4 ? 1 :-1]

Definition at line 304 of file font.h.

◆ stbtt__edge

typedef struct stbtt__edge stbtt__edge

◆ stbtt__hheap

typedef struct stbtt__hheap stbtt__hheap

◆ stbtt__hheap_chunk

◆ stbtt__test_oversample_pow2

typedef int stbtt__test_oversample_pow2[(8 &(8 -1))==0 ? 1 :-1]

Definition at line 984 of file font.h.

◆ stbtt_fontinfo

Definition at line 451 of file font.h.

◆ stbtt_int16

typedef signed short stbtt_int16

Definition at line 299 of file font.h.

◆ stbtt_int32

typedef signed int stbtt_int32

Definition at line 301 of file font.h.

◆ stbtt_int8

typedef signed char stbtt_int8

Definition at line 297 of file font.h.

◆ stbtt_kerningentry

◆ stbtt_pack_context

Definition at line 450 of file font.h.

◆ stbtt_uint16

typedef unsigned short stbtt_uint16

Definition at line 298 of file font.h.

◆ stbtt_uint32

typedef unsigned int stbtt_uint32

Definition at line 300 of file font.h.

◆ stbtt_uint8

typedef unsigned char stbtt_uint8

Definition at line 296 of file font.h.

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
STBTT_vmove 
STBTT_vline 
STBTT_vcurve 
STBTT_vcubic 

Definition at line 692 of file font.h.

◆ anonymous enum

anonymous enum
Enumerator
STBTT_PLATFORM_ID_UNICODE 
STBTT_PLATFORM_ID_MAC 
STBTT_PLATFORM_ID_ISO 
STBTT_PLATFORM_ID_MICROSOFT 

Definition at line 912 of file font.h.

◆ anonymous enum

anonymous enum
Enumerator
STBTT_UNICODE_EID_UNICODE_1_0 
STBTT_UNICODE_EID_UNICODE_1_1 
STBTT_UNICODE_EID_ISO_10646 
STBTT_UNICODE_EID_UNICODE_2_0_BMP 
STBTT_UNICODE_EID_UNICODE_2_0_FULL 

Definition at line 919 of file font.h.

◆ anonymous enum

anonymous enum
Enumerator
STBTT_MS_EID_SYMBOL 
STBTT_MS_EID_UNICODE_BMP 
STBTT_MS_EID_SHIFTJIS 
STBTT_MS_EID_UNICODE_FULL 

Definition at line 927 of file font.h.

◆ anonymous enum

anonymous enum
Enumerator
STBTT_MAC_EID_ROMAN 
STBTT_MAC_EID_ARABIC 
STBTT_MAC_EID_JAPANESE 
STBTT_MAC_EID_HEBREW 
STBTT_MAC_EID_CHINESE_TRAD 
STBTT_MAC_EID_GREEK 
STBTT_MAC_EID_KOREAN 
STBTT_MAC_EID_RUSSIAN 

Definition at line 934 of file font.h.

◆ anonymous enum

anonymous enum
Enumerator
STBTT_MS_LANG_ENGLISH 
STBTT_MS_LANG_ITALIAN 
STBTT_MS_LANG_CHINESE 
STBTT_MS_LANG_JAPANESE 
STBTT_MS_LANG_DUTCH 
STBTT_MS_LANG_KOREAN 
STBTT_MS_LANG_FRENCH 
STBTT_MS_LANG_RUSSIAN 
STBTT_MS_LANG_GERMAN 
STBTT_MS_LANG_SPANISH 
STBTT_MS_LANG_HEBREW 
STBTT_MS_LANG_SWEDISH 

Definition at line 941 of file font.h.

◆ anonymous enum

anonymous enum
Enumerator
STBTT_MAC_LANG_ENGLISH 
STBTT_MAC_LANG_JAPANESE 
STBTT_MAC_LANG_ARABIC 
STBTT_MAC_LANG_KOREAN 
STBTT_MAC_LANG_DUTCH 
STBTT_MAC_LANG_RUSSIAN 
STBTT_MAC_LANG_FRENCH 
STBTT_MAC_LANG_SPANISH 
STBTT_MAC_LANG_GERMAN 
STBTT_MAC_LANG_SWEDISH 
STBTT_MAC_LANG_HEBREW 
STBTT_MAC_LANG_CHINESE_SIMPLIFIED 
STBTT_MAC_LANG_ITALIAN 
STBTT_MAC_LANG_CHINESE_TRAD 

Definition at line 951 of file font.h.