AGB  ·  Datenschutz  ·  Impressum  







Anmelden
Nützliche Links
Registrieren
Zurück Delphi-PRAXiS Programmierung allgemein Programmieren allgemein Probleme mit Koreanisch in einer Anwendung (Java/Swing)
Thema durchsuchen
Ansicht
Themen-Optionen

Probleme mit Koreanisch in einer Anwendung (Java/Swing)

Ein Thema von Bernhard Geyer · begonnen am 11. Mär 2019 · letzter Beitrag vom 12. Mär 2019
 
mjustin

Registriert seit: 14. Apr 2008
3.010 Beiträge
 
Delphi 2009 Professional
 
#3

AW: Probleme mit Koreanisch in einer Anwendung (Java/Swing)

  Alt 11. Mär 2019, 19:50
Malgun Gothic unterstützt Koreanische Schriftzeichen, Segoe UI aber nicht, laut Microsoft:

Zitat:
Segoe UI includes Latin, Greek, Cyrillic, and Arabic characters. There are new fonts, also optimized for ClearType, created for other character sets and uses. These include Meiryo for Japanese, Malgun Gothic for Korean, Microsoft JhengHei for Chinese (Traditional), Microsoft YaHei for Chinese (Simplified), Gisha for Hebrew, and Leelawadee for Thai, and the ClearType Collection fonts designed for document use.
Gefunden unter https://stackoverflow.com/questions/...sian-languages

Welche installierten Schriften einen String darstellen können, kann man in Java mit diesem Code ermitteln:

Code:
        String[] fonts = GraphicsEnvironment.getLocalGraphicsEnvironment().
                getAvailableFontFamilyNames();
        System.out.println(fonts.length + " font families installed");
        List<String> supportedFonts = new ArrayList<>();
        for (String fontName : fonts) {
            Font f = new Font(fontName, Font.PLAIN, 1);
            if (f.canDisplayUpTo(MY_STRING)<0) {
                System.out.println(fontName);
                supportedFonts.add(fontName);
            }
        }
       
        String[] a = supportedFonts.toArray(new String[0]);
Michael Justin
habarisoft.com
  Mit Zitat antworten Zitat
 


Forumregeln

Es ist dir nicht erlaubt, neue Themen zu verfassen.
Es ist dir nicht erlaubt, auf Beiträge zu antworten.
Es ist dir nicht erlaubt, Anhänge hochzuladen.
Es ist dir nicht erlaubt, deine Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks are an
Pingbacks are an
Refbacks are aus

Gehe zu:

Impressum · AGB · Datenschutz · Nach oben
Alle Zeitangaben in WEZ +1. Es ist jetzt 07:08 Uhr.
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024-2025 by Thomas Breitkreuz