![]() PrintString(title, graphics, 0, fontY, new Font(Font.SERIF, Font.BOLD | Font. String title = "Chinese Fonts on " + System.getProperty("os.name") + ", version " + System.getProperty("os.version") Graphics.fillRect(rect.x, rect.y, rect.width, rect.height) Graphics graphics = bufferedImage.getGraphics() Rectangle rect = new Rectangle(0, 0, 1024, 768) īufferedImage bufferedImage = new BufferedImage((int) Math.ceil(rect.getWidth()), (int) Math.ceil(rect.getHeight()), BufferedImage.TYPE_4BYTE_ABGR) Public static final int FONTS_PER_LINE = 2 I wrote this brief program to demonstrate: import java.awt.* You can explore all the Chinese fonts at once using All Chinese Fonts page or simply use the Advanced Chinese Fonts Search Tool to explore the font or typeface of your choice. ![]() Yes, you can display both Simplified and Traditional Chinese text in Java, so long as you have a font that includes both sets of characters. Download thousands of free Chinese fonts, calligraphic designs and typefaces for personal and commercial use.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |