
META-INF.modules.java.desktop.classes.sun.awt.PlatformFont.class Maven / Gradle / Ivy
???? ;.
java/lang/Object ()V
sun/font/SunFontManager getInstance ()Lsun/font/SunFontManager; sun/java2d/FontSupport
getFontConfiguration ()Lsun/awt/FontConfiguration; sun/awt/PlatformFont
fontConfig Lsun/awt/FontConfiguration; java/util/Locale ENGLISH Ljava/util/Locale;
! " # $ java/lang/String toLowerCase &(Ljava/util/Locale;)Ljava/lang/String; & ' (
familyName Ljava/lang/String;
* + , - . sun/awt/FontConfiguration isLogicalFontFamilyName (Ljava/lang/String;)Z 0 sansserif
* 2 3 4 getFallbackFamilyName 8(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
* 6 7 8 getFontDescriptors .(Ljava/lang/String;I)[Lsun/awt/FontDescriptor; : ; < componentFonts [Lsun/awt/FontDescriptor;
> ? @ getMissingGlyphCharacter ()C B C D defaultChar C F G H defaultFont Lsun/awt/FontDescriptor;
J K L M N sun/awt/FontDescriptor
isExcluded (C)Z J P Q R encoder !Ljava/nio/charset/CharsetEncoder;
T U V W N java/nio/charset/CharsetEncoder canEncode
Y Z [ toCharArray ()[C
] ^ _ length ()I
a b c makeMultiCharsetString ([CIIZ)[Lsun/awt/CharsetString; e sun/awt/CharsetString g java/util/Vector
f i j (I)V
d l m ([CIILsun/awt/FontDescriptor;)V
f o p q
addElement (Ljava/lang/Object;)V
f s t _ size
f v w x toArray (([Ljava/lang/Object;)[Ljava/lang/Object; z [Lsun/awt/CharsetString;
| } ~ makeConvertedMultiFontChars ([CII)[Ljava/lang/Object; ? (java/lang/ArrayIndexOutOfBoundsException
? ? ?
FONTCACHEMASK I
? ? ? getFontCache ()[Ljava/lang/Object; ? &sun/awt/PlatformFont$PlatformFontCache ? ? ? D uniChar
T ? ? ? reset #()Ljava/nio/charset/CharsetEncoder;
? ? ? (Lsun/awt/PlatformFont;)V
J ? ? ?
useUnicode ()Z J ? ? ? isLE Z ? ? ? ? bb Ljava/nio/ByteBuffer;
? ? ? ? ? java/nio/ByteBuffer put (B)Ljava/nio/ByteBuffer;
? ? ? ? ? java/nio/CharBuffer wrap ([C)Ljava/nio/CharBuffer;
T ? ? ? encode K(Ljava/nio/CharBuffer;Ljava/nio/ByteBuffer;Z)Ljava/nio/charset/CoderResult; ? ? ? H fontDescriptor ? java/lang/Exception ? ? ? ? ? java/lang/System err Ljava/io/PrintStream;
? ? ? ? q java/io/PrintStream println
? ? ? printStackTrace
? ? ? ? arraycopy *(Ljava/lang/Object;ILjava/lang/Object;II)V J ? ? R unicodeEncoder
T ? ? ? maxBytesPerChar ()F
? ? ? ? array ()[B
? ? ? _ position ? ? ? fontCache [Ljava/lang/Object; ? ? ?
FONTCACHESIZE
? ? ? ? sun/awt/NativeLibLoader
loadLibraries
? ? initIDs ? java/awt/peer/FontPeer osVersion (Ljava/lang/String;I)V Code LineNumberTable LocalVariableTable i this Lsun/awt/PlatformFont; name style sfm Lsun/font/SunFontManager; missingGlyphCharacter
StackMapTable ,(Ljava/lang/String;)[Lsun/awt/CharsetString; str -(Ljava/lang/String;Z)[Lsun/awt/CharsetString; allowdefault ([CII)[Lsun/awt/CharsetString; [C offset len j ch fd result allowDefault mcs Ljava/util/Vector; tmpStr tmpChar encoded currentFont lastIndex cs Lsun/awt/CharsetString; LocalVariableTypeTable +Ljava/util/Vector; ? mightHaveMultiFontMetrics makeConvertedMultiFontString '(Ljava/lang/String;)[Ljava/lang/Object; input e Ljava/lang/Exception; componentCount newResult ba [B
cacheIndex currentDefaultChar theChar (Lsun/awt/PlatformFont$PlatformFontCache; data start
convertedData stringIndex convertedDataIndex resultIndex currentFontDescriptor lastFontDescriptor end ?
SourceFile PlatformFont.java NestMembers InnerClasses PlatformFontCache! ? ; <