From e20077fbd0370697092c57184f5d5306fcf5a170 Mon Sep 17 00:00:00 2001 From: ocornut Date: Sat, 30 Aug 2014 20:06:53 +0100 Subject: [PATCH] Using spaces instead of tab for web readability --- extra_fonts/README.txt | 38 +++++++++++++++++++------------------- 1 file changed, 19 insertions(+), 19 deletions(-) diff --git a/extra_fonts/README.txt b/extra_fonts/README.txt index f0b80733..6acb278d 100644 --- a/extra_fonts/README.txt +++ b/extra_fonts/README.txt @@ -43,29 +43,29 @@ Configure bmfont: 1. Load the .FNT data, e.g. // proggy_clean_13 [default] - io.Font->LoadFromFile("proggy_clean_13.fnt"); - io.FontTexUvForWhite = ImVec2(0.0f/256.0f,0.0f/128); - io.FontYOffset = +1; + io.Font->LoadFromFile("proggy_clean_13.fnt"); + io.FontTexUvForWhite = ImVec2(0.0f/256.0f,0.0f/128); + io.FontYOffset = +1; // proggy_small_12 - io.Font = new ImBitmapFont(); - io.Font->LoadFromFile("proggy_small_12.fnt"); - io.FontTexUvForWhite = ImVec2(84.0f/256.0f,20.0f/64); - io.FontYOffset = +2; + io.Font = new ImBitmapFont(); + io.Font->LoadFromFile("proggy_small_12.fnt"); + io.FontTexUvForWhite = ImVec2(84.0f/256.0f,20.0f/64); + io.FontYOffset = +2; // proggy_small_14 - io.Font = new ImBitmapFont(); - io.Font->LoadFromFile("proggy_small_14.fnt"); - io.FontTexUvForWhite = ImVec2(84.0f/256.0f,20.0f/64); - io.FontYOffset = +3; - - // courier_new_16 - io.Font->LoadFromFile("courier_new_16.fnt"); - io.FontTexUvForWhite = ImVec2(1.0f/256.0f,4.0f/128); - - // courier_new_18 - io.Font->LoadFromFile("courier_new_18.fnt"); - io.FontTexUvForWhite = ImVec2(4.0f/256.0f,5.0f/256); + io.Font = new ImBitmapFont(); + io.Font->LoadFromFile("proggy_small_14.fnt"); + io.FontTexUvForWhite = ImVec2(84.0f/256.0f,20.0f/64); + io.FontYOffset = +3; + + // courier_new_16 + io.Font->LoadFromFile("courier_new_16.fnt"); + io.FontTexUvForWhite = ImVec2(1.0f/256.0f,4.0f/128); + + // courier_new_18 + io.Font->LoadFromFile("courier_new_18.fnt"); + io.FontTexUvForWhite = ImVec2(4.0f/256.0f,5.0f/256); 2. Load the matching .PNG data into a texture