Elaztek Developer Hub
Blamite Game Engine - blam!  00346.12.11.21.0529.blamite
The core library for the Blamite Game Engine.
blam/components/3rdparty/imgui/extra_fonts/README.txt File Reference

Typedefs

using font = io.Fonts->AddFontFromMemoryCompressedBase85TTF(compressed_data_base85, size_pixels, ...)
 

Functions

The code in imgui cpp embeds a copy of ProggyClean ttf that you can use without any external files The files in this folder are only provided as a you can use any of your own TTF files Fonts are rasterized in a single texture at the time of calling either of io Fonts GetTexDataAsAlpha8 ()/GetTexDataAsRGBA32()/Build(). If you want to use icons in ImGui
 
io Fonts AddFontDefault ()
 
io Fonts AddFontFromFileTTF ("font.ttf", size_pixels)
 
io Fonts AddFontFromFileTTF ("font.ttf", size_pixels, &config)
 
io Fonts AddFontFromFileTTF ("DroidSans.ttf", 18.0f, &config, io.Fonts->GetGlyphRangesJapanese())
 
io Fonts AddFontFromFileTTF ("fontawesome-webfont.ttf", 18.0f, &config, icons_ranges)
 
Add a fourth parameter to bake specific font ranges io Fonts GetGlyphRangesDefault ())
 
io Fonts AddFontFromFileTTF ("font.ttf", size_pixels, NULL, io.Fonts->GetGlyphRangesJapanese())
 
FONT FILES INCLUDED IN THIS FOLDER Cousine Regular ttf Digitized data copyright (c) 2010 Google Corporation. Licensed under the SIL Open Font License
 
FONT FILES INCLUDED IN THIS FOLDER Cousine Regular ttf Digitized data Version DroidSans ttf Copyright (c) Steve Matteson Apache License
 

Variables

The code in imgui cpp embeds a copy of ProggyClean ttf that you can use without any external files The files in this folder are only provided as a convenience
 
The code in imgui cpp embeds a copy of ProggyClean ttf that you can use without any external files The files in this folder are only provided as a you can use any of your own TTF files Fonts are rasterized in a single texture at the time of calling either of io Fonts a good idea is to merge an icon font within your main and refer to icons directly in your strings You can use headers files with definitions for popular icon fonts codepoints
 
The code in imgui cpp embeds a copy of ProggyClean ttf that you can use without any external files The files in this folder are only provided as a you can use any of your own TTF files Fonts are rasterized in a single texture at the time of calling either of io Fonts a good idea is to merge an icon font within your main and refer to icons directly in your strings You can use headers files with definitions for popular icon fonts by Juliette Foucaut
 
The code in imgui cpp embeds a copy of ProggyClean ttf that you can use without any external files The files in this folder are only provided as a you can use any of your own TTF files Fonts are rasterized in a single texture at the time of calling either of io Fonts a good idea is to merge an icon font within your main and refer to icons directly in your strings You can use headers files with definitions for popular icon fonts by Juliette at https
 
Load TTF file with
 
Detailed options
 
config OversampleH = 3
 
config OversampleV = 1
 
config GlyphExtraSpacing x = 1.0f
 
If you have very large number of glyphs or multiple fonts
 
If you have very large number of glyphs or multiple e g config consider calculating them based on your source data if this is possible Combine two fonts into one
 
ImFontConfig config
 
config MergeMode = true
 
Add a fourth parameter to bake specific font ranges only
 
Add a fourth parameter to bake specific font ranges size_pixels
 
Add a fourth parameter to bake specific font ranges NULL
 
Offset font vertically by altering the io Font DisplayOffset value
 
font DisplayOffset y = 1
 
FONT FILES INCLUDED IN THIS FOLDER Cousine Regular ttf Digitized data Version DroidSans ttf version http
 
FONT FILES INCLUDED IN THIS FOLDER Cousine Regular ttf Digitized data Version DroidSans ttf version Tristan Grimmer MIT License recommended loading setting in ImGui
 
FONT FILES INCLUDED IN THIS FOLDER Cousine Regular ttf Digitized data Version DroidSans ttf version Tristan Grimmer MIT License recommended loading setting in DisplayOffset Y
 

Typedef Documentation

◆ font

Or ImFont * font = io.Fonts->AddFontFromMemoryCompressedBase85TTF(compressed_data_base85, size_pixels, ...)

Function Documentation

◆ AddFontDefault()

io Fonts AddFontDefault ( )

◆ AddFontFromFileTTF() [1/5]

io Fonts AddFontFromFileTTF ( "DroidSans.ttf"  ,
18.  0f,
config,
io.Fonts->  GetGlyphRangesJapanese() 
)

◆ AddFontFromFileTTF() [2/5]

io Fonts AddFontFromFileTTF ( "font.ttf"  ,
size_pixels   
)

◆ AddFontFromFileTTF() [3/5]

io Fonts AddFontFromFileTTF ( "font.ttf"  ,
size_pixels  ,
config 
)

◆ AddFontFromFileTTF() [4/5]

io Fonts AddFontFromFileTTF ( "font.ttf"  ,
size_pixels  ,
NULL  ,
io.Fonts->  GetGlyphRangesJapanese() 
)

◆ AddFontFromFileTTF() [5/5]

io Fonts AddFontFromFileTTF ( "fontawesome-webfont.ttf ,
18.  0f,
config,
icons_ranges   
)

◆ copyright()

FONT FILES INCLUDED IN THIS FOLDER Cousine Regular ttf Digitized data copyright ( )

◆ Copyright()

FONT FILES INCLUDED IN THIS FOLDER Cousine Regular ttf Digitized data Version DroidSans ttf Copyright ( )

◆ GetGlyphRangesDefault()

Add a fourth parameter to bake specific font ranges io Fonts GetGlyphRangesDefault ( )

◆ GetTexDataAsAlpha8()

The code in imgui cpp embeds a copy of ProggyClean ttf that you can use without any external files The files in this folder are only provided as a you can use any of your own TTF files Fonts are rasterized in a single texture at the time of calling either of io Fonts GetTexDataAsAlpha8 ( )

Variable Documentation

◆ codepoints

The code in imgui cpp embeds a copy of ProggyClean ttf that you can use without any external files The files in this folder are only provided as a you can use any of your own TTF files Fonts are rasterized in a single texture at the time of calling either of io Fonts a good idea is to merge an icon font within your main and refer to icons directly in your strings You can use headers files with definitions for popular icon fonts codepoints

◆ config

ImFontConfig config

◆ convenience

The code in imgui cpp embeds a copy of ProggyClean ttf that you can use without any external files The files in this folder are only provided as a convenience

◆ fonts

If you have very large number of glyphs or multiple fonts

◆ Foucaut

The code in imgui cpp embeds a copy of ProggyClean ttf that you can use without any external files The files in this folder are only provided as a you can use any of your own TTF files Fonts are rasterized in a single texture at the time of calling either of io Fonts a good idea is to merge an icon font within your main and refer to icons directly in your strings You can use headers files with definitions for popular icon fonts by Juliette Foucaut

◆ http

FONT FILES INCLUDED IN THIS FOLDER Cousine Regular ttf Digitized data Version DroidSans ttf version http

◆ https

The code in imgui cpp embeds a copy of ProggyClean ttf that you can use without any external files The files in this folder are only provided as a you can use any of your own TTF files Fonts are rasterized in a single texture at the time of calling either of io Fonts a good idea is to merge an icon font within your main and refer to icons directly in your strings You can use headers files with definitions for popular icon fonts by Juliette at https

◆ ImGui

FONT FILES INCLUDED IN THIS FOLDER Cousine Regular ttf Digitized data Version DroidSans ttf version Tristan Grimmer MIT License recommended loading setting in DisplayOffset Tristan Grimmer MIT License recommended loading setting in ImGui

◆ MergeMode

config MergeMode = true

◆ NULL

Add a fourth parameter to bake specific font ranges NULL

◆ one

If you have very large number of glyphs or multiple e g config consider calculating them based on your source data if this is possible Combine two fonts into one

◆ only

Add a fourth parameter to bake specific font ranges only

◆ options

Detailed options

◆ OversampleH

If you have very large number of glyphs or multiple e g config OversampleH = 3

◆ OversampleV

config OversampleV = 1

◆ size_pixels

Offset font vertically by altering the io Font DisplayOffset size_pixels

◆ value

Offset font vertically by altering the io Font DisplayOffset value

◆ with

Load TTF file with

◆ x

config GlyphExtraSpacing x = 1.0f

◆ y

font DisplayOffset y = 1

◆ Y

FONT FILES INCLUDED IN THIS FOLDER Cousine Regular ttf Digitized data Version DroidSans ttf version Tristan Grimmer MIT License recommended loading setting in DisplayOffset Tristan Grimmer MIT License recommended loading setting in DisplayOffset Y
Initial value:
= +1
ProggyTiny.ttf
Copyright (c) 2004
Copyright
FONT FILES INCLUDED IN THIS FOLDER Cousine Regular ttf Digitized data Version DroidSans ttf Copyright(c) Steve Matteson Apache License