log less
This commit is contained in:
@@ -104,8 +104,8 @@ void FontPage::Load( FontPageSettings cfg )
|
|||||||
SetTextureCoords(FrameWidths);
|
SetTextureCoords(FrameWidths);
|
||||||
SetExtraPixels(cfg.DrawExtraPixelsLeft, cfg.DrawExtraPixelsRight);
|
SetExtraPixels(cfg.DrawExtraPixelsLeft, cfg.DrawExtraPixelsRight);
|
||||||
|
|
||||||
LOG->Trace("Font %s: height %i, baseline %i ( == top %i)",
|
// LOG->Trace("Font %s: height %i, baseline %i ( == top %i)",
|
||||||
m_sTexturePath.GetString(), height, baseline, baseline-height);
|
// m_sTexturePath.GetString(), height, baseline, baseline-height);
|
||||||
}
|
}
|
||||||
|
|
||||||
void FontPage::SetTextureCoords(const vector<int> &widths)
|
void FontPage::SetTextureCoords(const vector<int> &widths)
|
||||||
@@ -456,8 +456,8 @@ void Font::LoadFontPageSettings(FontPageSettings &cfg, IniFile &ini, const CStri
|
|||||||
|
|
||||||
ini.RenameKey("Char Widths", "main");
|
ini.RenameKey("Char Widths", "main");
|
||||||
|
|
||||||
LOG->Trace("Loading font page '%s' settings from page name '%s'",
|
// LOG->Trace("Loading font page '%s' settings from page name '%s'",
|
||||||
TexturePath.GetString(), PageName.GetString());
|
// TexturePath.GetString(), PageName.GetString());
|
||||||
|
|
||||||
ini.GetValueI( PageName, "DrawExtraPixelsLeft", cfg.DrawExtraPixelsLeft );
|
ini.GetValueI( PageName, "DrawExtraPixelsLeft", cfg.DrawExtraPixelsLeft );
|
||||||
ini.GetValueI( PageName, "DrawExtraPixelsRight", cfg.DrawExtraPixelsRight );
|
ini.GetValueI( PageName, "DrawExtraPixelsRight", cfg.DrawExtraPixelsRight );
|
||||||
@@ -772,9 +772,9 @@ void Font::Load(const CString &sFontOrTextureFilePath, CString sChars)
|
|||||||
TexturePaths[i].GetString(), WcharDisplayText(wchar_t(it->first)).GetString(), it->second, fp->m_pTexture->GetNumFrames() );
|
TexturePaths[i].GetString(), WcharDisplayText(wchar_t(it->first)).GetString(), it->second, fp->m_pTexture->GetNumFrames() );
|
||||||
}
|
}
|
||||||
|
|
||||||
LOG->Trace("Adding page %s (%s) to %s; %i glyphs",
|
// LOG->Trace("Adding page %s (%s) to %s; %i glyphs",
|
||||||
TexturePaths[i].GetString(), pagename.GetString(),
|
// TexturePaths[i].GetString(), pagename.GetString(),
|
||||||
sFontOrTextureFilePath.GetString(), fp->m_iCharToGlyphNo.size());
|
// sFontOrTextureFilePath.GetString(), fp->m_iCharToGlyphNo.size());
|
||||||
AddPage(fp);
|
AddPage(fp);
|
||||||
|
|
||||||
/* If this is the first font loaded, or it's called "main", this page's
|
/* If this is the first font loaded, or it's called "main", this page's
|
||||||
|
|||||||
Reference in New Issue
Block a user