mirror of
git://git.code.sf.net/p/cdesktopenv/code
synced 2025-03-09 15:50:02 +00:00
dtinfo: Fix a font issue to make the multilingual text can be
displayed correctly.
This commit is contained in:
parent
3f950009bc
commit
e2216838d1
1 changed files with 1 additions and 1 deletions
|
@ -580,7 +580,7 @@ CanvasRenderer::_dofont(const FeatureSet &fs, Symbol** symbols)
|
|||
len = strlen(font);
|
||||
xlfd = (char*)realloc(xlfd, slen + len + 3);
|
||||
*((char *) memcpy(xlfd + slen, ",", 1) + 1) = '\0';
|
||||
*((char *) memcpy(xlfd + slen + 1, ",", len) + len) = '\0';
|
||||
*((char *) memcpy(xlfd + slen + 1, font, len) + len) = '\0';
|
||||
}
|
||||
// otherwise, just dup the font streing
|
||||
else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue