Class Font


  • public final class Font
    extends Object

    The FX-603P used a font which is different from alpha codes. This class converts one to the other. The font contains the following:

    • $A0…$DF: Katakana «http://en.wikipedia.org/wiki/Katakana»
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static short a
      Lower caps A
      static short A
      upper caps A
      static short Exp_0
      Exp_0
      static short Exp_1
      Exp_1
      static short Exp_2
      Exp_2
      static short Exp_3
      Exp_3
      static short Exp_4
      Exp_4
      static short Exp_5
      Exp_5
      static short Exp_6
      Exp_6
      static short Exp_7
      Exp_7
      static short Exp_8
      Exp_8
      static short Exp_9
      Exp_9
      static short Exp_Minus
      Exponent Minus
      static @Nullable String[] Font_To_Display
      Convert CASIO Font Character into a Java string.
      static short Fraction
      Fraction
      static short Hex_0
      Hex_0
      static short Hex_1
      Hex_1
      static short Hex_2
      Hex_2
      static short Hex_3
      Hex_3
      static short Hex_4
      Hex_4
      static short Hex_5
      Hex_5
      static short Hex_6
      Hex_6
      static short Hex_7
      Hex_7
      static short Hex_8
      Hex_8
      static short Hex_9
      Hex_9
      static short Hex_A
      Hex_A
      static short Hex_B
      Hex_B
      static short Hex_C
      Hex_C
      static short Hex_D
      Hex_D
      static short Hex_E
      Hex_E
      static short Hex_F
      Hex_F
      static short Merge_Space
      Merge_Space
      static short Middle_Dot
      Middle_Dot — different from Alpha.Middle_Dot
      static short Small_A
      Small A for AR
      static short Small_R
      Small R for AR
      static short Space
      Space
      static short Step_0
      0 character for the 4 digits 7 segment display
      static short Step_1
      1 character for the 4 digits 7 segment display
      static short Step_2
      2 character for the 4 digits 7 segment display
      static short Step_3
      3 character for the 4 digits 7 segment display
      static short Step_4
      4 character for the 4 digits 7 segment display
      static short Step_5
      5 character for the 4 digits 7 segment display
      static short Step_6
      6 character for the 4 digits 7 segment display
      static short Step_7
      7 character for the 4 digits 7 segment display
      static short Step_8
      8 character for the 4 digits 7 segment display
      static short Step_9
      9 character for the 4 digits 7 segment display
      static short Step_Minus
      Minus character for the 4 digits 7 segment display
      static short Step_Space
      Space character for the 4 digits 7 segment display
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private Font()  
    • Constructor Detail

      • Font

        private Font()
    • Method Detail

      • Alpha_To_Font

        public static short Alpha_To_Font​(short Alpha)

        convert an alpha code to a font code point. The specially here is that there are only 128 alpha codes which can be displayed (that is, are not ar00 … ar1f, etc) where a and a+128 being the same code. The first 128 alpha codes match the font codes.

        However, there are 256 font codes and those from 128…255 are used for internal special characters.

        Parameters:
        Alpha - alpha character
        Returns:
        font character
      • Font_To_Alpha

        public static short Font_To_Alpha​(short Character)

        convert an alpha code to a font code point. The specially here is that there are only 128 alpha codes which can be displayed (that is, are not ar00 … ar1f, etc) where a and a+128 being the same code. The first 128 alpha codes match the font codes.

        However, there are 256 font codes and those from 128…255 are used for internal special characters.

        Parameters:
        Character - alpha character
        Returns:
        font character