Closed coderobe closed 6 years ago
Fixed.
LCUI_TextStyle::has_pixel_size
is not initialized before it is used.
void TextStyle_Init( LCUI_TextStyle data )
{
data->has_style = FALSE;
data->has_weight = FALSE;
data->has_family = FALSE;
+ data->has_pixel_size = FALSE;
data->has_back_color = FALSE;
data->has_fore_color = FALSE;
The LCUI example
helloworld
shows inconsistent font sizes when updating the text.Reproduction Steps:
develop
branchtest/
helloworld
Change
buttonScreenshots and GIFs
LCUI version: branch
develop
commit402bc031b424923b89feea390a84a2c15a9b1fdb
OS and version: Linux 4.15.1 Build tools: gcc (GCC) 7.3.0 Libraries (taken from LCUI_LIBS in the generated Makefile):