XMB Fonts: Difference between revisions

From PS3 Developer wiki
Jump to navigation Jump to search
Line 215: Line 215:


= Other =
= Other =
*imagefont.bin (charsets?) was added since 1.90 (\dev_flash\vsh\resource) (before [[Vsh.tar]] usage was removed since 1.50)
*imagefont.bin were added since 1.90 (\dev_flash\vsh\resource) (long before [[Vsh.tar]] inclusion of codepage files was removed since 1.50)


{{File Formats}}
{{File Formats}}
<noinclude>[[Category:Main]]</noinclude>
<noinclude>[[Category:Main]]</noinclude>

Revision as of 00:47, 3 June 2015

.TTF Files

  • In Path: dev_flash/data/font/ (since 1.00)
  • In Path: dev_flash/bdplayer/bdjstack/SCE-PS3-RD-R-LATIN.TTF (identical file on data/font) (since 1.00)
  • In path: dev_flash/data/font/SONY-CC/ (since 4.50 CEX: 7 others fonts for closed captions?)
Font Name File Name Size (KB) Usage Unicode Subgroups
original rounded pop common lati punc mony suPB enve numb arro math tech OCR alfa fram blok symb spa diac grek ciri arab tibe hang kana bopo iCJK sCJK ideo cCJK varS forW forM priv
DFHeiW5-A SCE-PS3-DH-R-CGB.TTF 8035 ? ?? ??? ???? Yes Yes Yes No Yes Yes Yes Yes Yes No Yes Yes Yes Yes Yes No Yes Yes Yes Yes No Yes Yes Yes Yes Yes Yes Yes Yes No Yes
SCE-PS3 Capie KANA Regular SCE-PS3-CP-R-KANA.TTF 61 ? ?? ??? ???? No No No No No No No No No No No No No No No No No No No No No Yes No No No No No No Yes No No
SCE-PS3 Matisse LATIN Bold SCE-PS3-MT-B-LATIN.TTF 73 ? ?? ??? ???? Yes Yes Yes Yes Yes Yes No Yes No No No No No No Yes Yes No Yes No No No No No No No No No No No No No
SCE-PS3 Matisse LATIN BoldItalic SCE-PS3-MT-BI-LATIN.TTF 77 ? ?? ??? ???? Yes Yes Yes Yes Yes Yes No Yes No No No No No No Yes Yes No Yes No No No No No No No No No No No No No
SCE-PS3 Matisse LATIN Italic SCE-PS3-MT-I-LATIN.TTF 77 ? ?? ??? ???? Yes Yes Yes Yes Yes Yes No Yes No No No No No No Yes Yes No Yes No No No No No No No No No No No No No
SCE-PS3 Matisse LATIN Regular SCE-PS3-MT-R-LATIN.TTF 73 ? ?? ??? ???? Yes Yes Yes Yes Yes Yes No Yes No No No No No No Yes Yes No Yes No No No No No No No No No No No No No
SCE-PS3 NewRodin EXT Regular SCE-PS3-NR-R-EXT.TTF 273 ? ?? ??? ???? Yes No Yes No Yes Yes No No No No Yes No No Yes No Yes No No No No No Yes No Yes Yes Yes Yes No Yes Yes Yes
SCE-PS3 NewRodin JPN Bold SCE-PS3-NR-B-JPN.TTF 2918 ? ?? ??? ???? Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes No No No Yes No Yes Yes Yes Yes No Yes Yes No
SCE-PS3 NewRodin JPN Light SCE-PS3-NR-L-JPN.TTF 3012 ? ?? ??? ???? Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes No No No Yes No Yes Yes Yes Yes No Yes Yes No
SCE-PS3 NewRodin JPN Regular SCE-PS3-NR-R-JPN.TTF 3032 ? ?? ??? ???? Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes No No No Yes No Yes Yes Yes Yes No Yes Yes No
SCE-PS3 Rodin LATIN Bold SCE-PS3-RD-B-LATIN.TTF 38 ? ?? ??? ???? Yes Yes Yes Yes Yes Yes No Yes No No No No No No Yes Yes No Yes No No No No No No No No No No No No No
SCE-PS3 Rodin LATIN BoldItalic SCE-PS3-RD-BI-LATIN.TTF 40 ? ?? ??? ???? Yes Yes Yes Yes Yes Yes No Yes No No No No No No Yes Yes No Yes No No No No No No No No No No No No No
SCE-PS3 Rodin LATIN Italic SCE-PS3-RD-I-LATIN.TTF 40 ? ?? ??? ???? Yes Yes Yes Yes Yes Yes No Yes No No No No No No Yes Yes No Yes No No No No No No No No No No No No No
SCE-PS3 Rodin LATIN Regular SCE-PS3-RD-R-LATIN.TTF 38 ? ?? ??? ???? Yes Yes Yes Yes Yes Yes No Yes No No No No No No Yes Yes No Yes No No No No No No No No No No No No No
SCE-PS3 Rodin LATIN Light SCE-PS3-RD-L-LATIN.TTF 38 ? ?? ??? ???? Yes Yes Yes Yes Yes Yes No Yes No No No No No No Yes Yes No Yes No No No No No No No No No No No No No
SCE-PS3 Rodin LATIN LightItalic SCE-PS3-RD-LI-LATIN.TTF 41 ? ?? ??? ???? Yes Yes Yes Yes Yes Yes No Yes No No No No No No Yes Yes No Yes No No No No No No No No No No No No No
SCE-PS3 Rodin LATIN2 Bold SCE-PS3-RD-B-LATIN2.TTF 53 ? ?? ??? ???? Yes Yes Yes Yes Yes Yes No Yes No No No No No No Yes Yes Yes Yes No No No No No No No No No No No No No
SCE-PS3 Rodin LATIN2 Light SCE-PS3-RD-L-LATIN2.TTF 54 ? ?? ??? ???? Yes Yes Yes Yes Yes Yes No Yes No No No No No No Yes Yes Yes Yes No No No No No No No No No No No No No
SCE-PS3 Rodin LATIN2 Regular SCE-PS3-RD-R-LATIN2.TTF 54 ? ?? ??? ???? Yes Yes Yes Yes Yes Yes No Yes No No No No No No Yes Yes Yes Yes No No No No No No No No No No No No No
SCE-PS3 Seurat EXT Regular SCE-PS3-SR-R-EXT.TTF 270 ? ?? ??? ???? Yes No Yes No Yes Yes No No No No Yes No No Yes No Yes No No No No No Yes No Yes Yes Yes Yes No Yes Yes Yes
SCE-PS3 Seurat JPN Regular SCE-PS3-SR-R-JPN.TTF 4559 ? ?? ??? ???? Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes No No No Yes No Yes Yes Yes Yes No Yes Yes No
SCE-PS3 Seurat LATIN Regular SCE-PS3-SR-R-LATIN.TTF 53 ? ?? ??? ???? Yes Yes Yes Yes Yes Yes No Yes No No No No No No Yes Yes No Yes No No No No No No No No No No No No No
SCE-PS3 Seurat LATIN2 Regular SCE-PS3-SR-R-LATIN2.TTF 76 ? ?? ??? ???? Yes Yes Yes Yes Yes Yes No Yes No No No No No No Yes Yes Yes Yes No No No No No No No No No No No No No
SCE-PS3 YD gd Bold SCE-PS3-YG-B-KOR.TTF 484 ? ?? ??? ???? Yes Yes Yes No No Yes No Yes No No No No No No Yes No No No No No Yes No No No No Yes No No Yes No No
SCE-PS3 YD gd Light SCE-PS3-YG-L-KOR.TTF 484 ? ?? ??? ???? Yes Yes Yes No No Yes No Yes No No No No No No Yes No No No No No Yes No No No No Yes No No Yes No No
SCE-PS3 YD gd Medium SCE-PS3-YG-R-KOR.TTF 486 ? ?? ??? ???? Yes Yes Yes No No Yes No Yes No No No No No No Yes No No No No No Yes No No No No Yes No No Yes No No
VAGRundschriftDLig SCE-PS3-VR-R-LATIN.TTF 65 ? ?? ??? ???? Yes Yes Yes Yes Yes Yes No Yes No No No No Yes No Yes No No No No No No No No No No No No No No No No
VAGRundschriftDLig2 SCE-PS3-VR-R-LATIN2.TTF 135 ? ?? ??? ???? Yes Yes Yes Yes Yes Yes No Yes No No No No Yes No Yes No Yes Yes No No No No No No No No No No No No No

Other Font related files

  • imagefont.bin (added since 1.90) file is repeated 2 times inside PS3 firmware, but his hashes doesnt matches (so are 2 different files or 2 versions of the same file)
  • Is compressed with zlib
    • dev_flash/pspemu/flash0/font/imagefont.bin
    • dev_flash/vsh/resource/imagefont.bin
imagefont.bin structure
Name Offset Size Example Remark
version ? 0x00 0x01 01 file version ?
Footer lenght 0x01 0x03 00 01 42 thats not accurate, is taking 8 bits more from the next byte, the correct value for this example should be 0x1420
Footer offset 0x04 0x04 00 06 55 40 big endian
Compressed area 0x08 varies, up to start of footer 78 9C etc... compressed ZLIB area
Footer (not compressed) varies varies, up to the end of the file unknown table of data

Using PS3 fonts in PC

Windows

  • Installing .TTF fonts
    • Go to "control panel" and open "fonts" folder
    • Drag and drop the .TTF files inside "fonts" folder
  • Displaying the whole character map of a font in windows/ubuntu
    • Go to "start" (or windows key+x) /open terminal (Ctrl+Alt+T), click in "run" and type: charmap, then enter
    • Inside charmap select the .TTF font and select a character, his "unicode" number is displayed at bottom left in the format U+1234 with a text description
  • Displaying characters using unicode standard subgroups
    • Inside charmap select the .TTF font and change "group by" to "unicode subgroup"... a windows opens at the right with 45 groups, click in them to display the characters that belongs to this group

Character Maps

There are thousands of characters and is pointless to make tables of them, there are also some characters that cant be displayed in a web browser because 99% of the users will not have the fonts installed in PC (like the beauty "drawings" of tibetan alphabet)... but some of this characters are more interesting than others, and are commonly used and included in most fonts, the most interesting groups are the ones that are common for all fonts and used by the system not dependant of the font style (original, rounded, or pop), like the "symbols" and "frame borders"

  • Windows/Ubuntu Tools:
    • charmap (Character Map Utility, preinstalled in windows/Ubuntu)

Windows: http://symbolcodes.tlt.psu.edu/accents/charmap.html

Ubuntu: https://help.ubuntu.com/community/CharacterMap

Symbols

These symbols can be used in any UTF-8 text string displayed in XMB, (e.g: TITLE, SUBTITLE, DETAIL, inside PARAM.SFO of a content)

Character Unicode hexadecimal Character Name Inside description
U+2605 E2 98 85 BLACK STAR DFHeiW5-A
NewRodin JPN
Seurat JPN
same star used in "install packages"
U+2606 E2 98 86 WHITE STAR DFHeiW5-A
NewRodin JPN
Seurat JPN
similar to the star used in "install packages", but empty
U+2609 E2 98 89 SUN DFHeiW5-A
U+2640 E2 99 80 FEMALE SIGN DFHeiW5-A
NewRodin JPN
Seurat JPN
U+2642 E2 99 82 MALE SIGN DFHeiW5-A
NewRodin JPN
Seurat JPN

Punctuation

Character Unicode hexadecimal Character Name Inside description
® U+00AE Matisse LATIN registered trademark
© U+00A9

Envelope

Character Unicode hexadecimal Character Name Inside description
E2 84 A2 trademark symbol

general?

Character Unicode hexadecimal Character Name Inside description
20 space

Check here for other valid characters and the conversion from unicode to hexadecimal: http://www.havirho.eu/Programming/U-02400-tm-U-027FF.htm

Other

  • imagefont.bin were added since 1.90 (\dev_flash\vsh\resource) (long before Vsh.tar inclusion of codepage files was removed since 1.50)