Remove leading space from XLFD string.
git-svn-id: svn://10.0.0.236/trunk@44789 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
ee5f1931f8
commit
5abf684d74
@ -359,7 +359,7 @@ NS_IMETHODIMP nsDeviceContextGTK::CheckFontExistence(const nsString& aFontName)
|
||||
|
||||
char* fontName = aFontName.ToNewCString();
|
||||
PR_snprintf(wildstring, namelen + 200,
|
||||
" -*-%s-*-*-normal-*-*-*-%d-%d-*-*-*-*",
|
||||
"-*-%s-*-*-normal-*-*-*-%d-%d-*-*-*-*",
|
||||
fontName, dpi, dpi);
|
||||
delete [] fontName;
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user