[saco] Implement/match GetFontFace()

This commit is contained in:
RD42 2024-07-17 22:25:04 +08:00
parent e0c989586e
commit fd560201f4

View File

@ -551,3 +551,12 @@ int GetFontWeight()
return fontweight != 1 ? FW_BOLD : FW_NORMAL;
}
char *GetFontFace()
{
if(pConfig && pConfig->GetStringVariable("fontface"))
{
return pConfig->GetStringVariable("fontface");
}
return "Arial";
}