Merge branch 'master' of https://bitbucket.org/4coder/4coder
commit
5e0030825b
|
@ -1,3 +1,4 @@
|
|||
|
||||
/*
|
||||
* Mr. 4th Dimention - Allen Webster
|
||||
*
|
||||
|
@ -1167,7 +1168,8 @@ Font_Load_Sig(system_draw_font_load){
|
|||
|
||||
for(; attempts < 3; ++attempts){
|
||||
#if LINUX_FONTS
|
||||
success = linux_font_load(&linuxvars.font_part, font_out, filename, pt_size, tab_width);
|
||||
success = linux_font_load(&linuxvars.font_part, font_out, filename, pt_size, tab_width,
|
||||
linuxvars.settings.use_hinting);
|
||||
#else
|
||||
success = font_load(
|
||||
&linuxvars.font_part,
|
||||
|
|
|
@ -53,8 +53,7 @@ linux_get_sys_font(char* name, i32 pt_size){
|
|||
}
|
||||
|
||||
internal b32
|
||||
linux_font_load(Partition *part, Render_Font *rf, char *name, i32 pt_size, i32 tab_width){
|
||||
|
||||
linux_font_load(Partition *part, Render_Font *rf, char *name, i32 pt_size, i32 tab_width, b32 use_hinting){
|
||||
b32 result = 0;
|
||||
|
||||
Temp_Memory temp = begin_temp_memory(part);
|
||||
|
@ -70,7 +69,7 @@ linux_font_load(Partition *part, Render_Font *rf, char *name, i32 pt_size, i32 t
|
|||
#endif
|
||||
|
||||
if (filename != 0){
|
||||
result = font_load_freetype(part, rf, filename, pt_size, tab_width);
|
||||
result = font_load_freetype(part, rf, filename, pt_size, tab_width, use_hinting);
|
||||
}
|
||||
|
||||
end_temp_memory(temp);
|
||||
|
|
Loading…
Reference in New Issue