Class TrueTypeCodePages


  • public final class TrueTypeCodePages
    extends java.lang.Object
    The code pages possible for a True Type font.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private static java.lang.String[] CODE_PAGES  
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private TrueTypeCodePages()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.lang.String get​(int bit)
      Gets code page description based on ulCodePageRange bit settings (OS/2 table).
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • CODE_PAGES

        private static final java.lang.String[] CODE_PAGES
    • Constructor Detail

      • TrueTypeCodePages

        private TrueTypeCodePages()
    • Method Detail

      • get

        public static java.lang.String get​(int bit)
        Gets code page description based on ulCodePageRange bit settings (OS/2 table). See https://www.microsoft.com/typography/unicode/ulcp.htm for more details.
        Parameters:
        bit - index from ulCodePageRange bit settings (OS/2 table). From 0 to 63.
        Returns:
        code bage description.