mirror of https://github.com/buggins/dlangui.git
disable annoying registerFont logging
This commit is contained in:
parent
8e9a52dbfa
commit
3ac0820b8a
|
@ -646,7 +646,7 @@ class FreeTypeFontManager : FontManager {
|
||||||
bool registerFont(string filename, FontFamily family = FontFamily.SansSerif, string face = null, bool italic = false, int weight = 0, bool dontLoadFile = false) {
|
bool registerFont(string filename, FontFamily family = FontFamily.SansSerif, string face = null, bool italic = false, int weight = 0, bool dontLoadFile = false) {
|
||||||
if (_library is null)
|
if (_library is null)
|
||||||
return false;
|
return false;
|
||||||
Log.v("FreeTypeFontManager.registerFont ", filename, " ", family, " ", face, " italic=", italic, " weight=", weight);
|
//Log.v("FreeTypeFontManager.registerFont ", filename, " ", family, " ", face, " italic=", italic, " weight=", weight);
|
||||||
if (!exists(filename) || !isFile(filename)) {
|
if (!exists(filename) || !isFile(filename)) {
|
||||||
Log.d("Font file ", filename, " not found");
|
Log.d("Font file ", filename, " not found");
|
||||||
return false;
|
return false;
|
||||||
|
|
Loading…
Reference in New Issue