I am writing a program that involves text, and I went through and learned all about the various text and font functions and classes, etc, before writing the program, but I found when I was writing it that I liked the default font the best, so I didn't end up using any of the others, nor did I load any font into the program code itself, so the text would be loaded from whoever's computer is running the program. I know how to embed the font data into the program itself if I were to use another font, but the problem is, I have no idea what font I'm using, because it's the default setting, and I never selected it. Does anybody know how to find out what the default font is, or, for that matter, what the current font in use is, so that I can embed it and use the same font for all computers running the program? Thanks!
Honestly, I am not sure, since Apple's Java is (more or less) proprietary, so perhaps they have their own version of SansSerif.
Ah, wrong, these fonts are defined in the fontconfig.properties.src file. See also Logical fonts in Java. "They will be automatically mapped onto the most suitable font
available at a given platform." See how it is mapped to find the corresponding TTF font.
I finally figured it out. I found a website called Identifont, and I was able to use it to figure out that it's actually Lucidia Grande. (If you ever have font problems, this website seems to be veritably awesome at figuring them out based on a series of questions regarding the nature of the font. Very nifty)
Thanks for all the help!
Leave a comment on jalaska13's reply
Change topic type
Link this topic
Provide the permalink of a topic that is related to this topic