Start the change of the display methode
This commit is contained in:
parent
f3bf0b557c
commit
a53903d628
BIN
assets/Font/ACharmingFont.ttf
Normal file
BIN
assets/Font/ACharmingFont.ttf
Normal file
Binary file not shown.
@ -360,6 +360,21 @@ int32_t BufferText::Display(ewol::OObject2DTextColored* OOText, ewol::OObject2DC
|
||||
//GTimeVal timeStart;
|
||||
//g_get_current_time(&timeStart);
|
||||
|
||||
|
||||
#if 0
|
||||
// TODO : change diplay methode :
|
||||
// Extract the entire line on the buffer with all char expended and the data in Unicode
|
||||
// Second parsing of the line ==> to have the syntax highligt
|
||||
// Draw all needed char in the
|
||||
int32_t currentLineID = m_displayStart.y+1;
|
||||
EDN_DEBUG("Start display of text buffer [" << m_displayStartBufferPos<< ".." << mylen << "]");
|
||||
bool ended = false;
|
||||
while (true == ended) {
|
||||
|
||||
currentLineID++;
|
||||
ended = true;
|
||||
}
|
||||
#else
|
||||
// draw the lineNumber :
|
||||
int32_t currentLineID = m_displayStart.y+1;
|
||||
EDN_DEBUG("Start display of text buffer [" << m_displayStartBufferPos<< ".." << mylen << "]");
|
||||
@ -497,7 +512,7 @@ int32_t BufferText::Display(ewol::OObject2DTextColored* OOText, ewol::OObject2DC
|
||||
m_cursorOn = true;
|
||||
}
|
||||
}
|
||||
//drawer.Flush();
|
||||
#endif
|
||||
|
||||
//GTimeVal timeStop;
|
||||
//g_get_current_time(&timeStop);
|
||||
|
@ -71,14 +71,11 @@ void APP_Init(int argc, char *argv[])
|
||||
|
||||
ewol::SetFontFolder("Font");
|
||||
#ifdef EWOL_USE_FREE_TYPE
|
||||
//ewol::SetDefaultFont("freefont/FreeMono.ttf", 12);
|
||||
ewol::SetDefaultFont("ACharmingFont.ttf", 45);
|
||||
//ewol::SetDefaultFont("DeutscheZierschrift.ttf", 40);
|
||||
//ewol::SetDefaultFont("Dragon_Order_v2.ttf", 40);
|
||||
//ewol::SetDefaultFont("Alien_lines_1.9.ttf", 40);
|
||||
ewol::SetDefaultFont("freefont/FreeMono.ttf", 12);
|
||||
//ewol::SetDefaultFont("freefont/FreeMonoBold.ttf", 12);
|
||||
//ewol::SetDefaultFont("ACharmingFont.ttf", 45);
|
||||
//ewol::SetDefaultFont("Monospace/Monospace", 40);
|
||||
//ewol::SetDefaultFont("UniSpace/unispace.ttf", 12);
|
||||
//ewol::SetDefaultFont("unispace.ttf", 12);
|
||||
#else
|
||||
//ewol::SetDefaultFont("ebtfont/Monospace", 14);
|
||||
ewol::SetDefaultFont("ebtfont/Monospace", 22);
|
||||
|
Loading…
x
Reference in New Issue
Block a user