how to delete a system font ?
807580May 11 2010 — edited May 11 2010hi,
I have a application and i need to delete a system font.
I used those two functions to get some info on windows:
FontManager.getFileNameForFontName(fontLogicalName)
FontManager.getFontPath(true)
On windows most of system fonts are recognized but for some i get a null on getFileNameForFontName(fontLogicalName) and getFontPath(true) always returns null. (weird)
On linux all system fonts names are null for getFileNameForFontName(fontLogicalName) and getFontPath(true) returns a list of folders where system fonts are stored (because in linux there are more than one font folder).
I need help. can someone explain me why those functions work different on linux and windows ?
Or please show me a working example.
Thanks.