DtHelp: keep processing even when some fonts are missing.
This commit is contained in:
@@ -109,8 +109,8 @@ _DtCvGetStringWidth (
|
|||||||
result = (*(canvas->virt_functions.get_width)) (
|
result = (*(canvas->virt_functions.get_width)) (
|
||||||
canvas->client_data, _DtCvSTRING_TYPE,
|
canvas->client_data, _DtCvSTRING_TYPE,
|
||||||
(_DtCvPointer) &strInfo);
|
(_DtCvPointer) &strInfo);
|
||||||
if (result < 0)
|
if (result <= 0)
|
||||||
result = 0;
|
result = 1;
|
||||||
|
|
||||||
return result;
|
return result;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user