I am using IDWriteFont::GetInformationalStrings(...) to get the full name of a font on Windows 7 (Japanese locale ja-JP) and here is the issue :
When i pass DWRITE_INFORMATIONAL_STRING_FULL_NAME or DWRITE_INFORMATIONAL_STRING_POSTSCRIPT_NAME as the DWRITE_INFORMATIONAL_STRING_ID, I get exists=false and no IDWriteLocalizedStrings are returned (for any font on the system).
However, the corresponding entries exist in the name Table in the fonts and the IDWriteFont::GetInformationalStrings(...) call works fine for the same fonts on Win 7 (en-us locale).
//works when system locale is en-us; exists=true
//does not work when system locale is ja-JP; exists=false; pFontNames=NULL
hr = pFont->GetInformationalStrings(DWRITE_INFORMATIONAL_STRING_FULL_NAME, &pFontNames, &exists);
Can anyone please tell me whether or not this is an issue with DirectWrite.
Thanks.