Editing XMB Fonts
Jump to navigation
Jump to search
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 36: | Line 36: | ||
=Font types= | =Font types= | ||
==TTF system fonts== | ==TTF system fonts== | ||
In Path: | *In Path: dev_flash/data/font/ (since 1.00): | ||
{| class="wikitable" style="font-size:x-small;" | {| class="wikitable" style="font-size:x-small;" | ||
Line 494: | Line 493: | ||
|- | |- | ||
|} | |} | ||
==Other font references== | |||
===Bluray player=== | |||
dev_flash\bdplayer\bdjstack\font.properties | |||
# Font family | |||
# | |||
# Description: | |||
# Available font families, delimited by comma. | |||
# These value are returned by the method "getAvailableFontFamilyNames" | |||
# of java.awt.GraphicsEnvironment class | |||
# | |||
# The familiy names must be either. | |||
# The "Dialog" is default, so it must be set at first. | |||
# - Dialog | |||
# - DialogInput | |||
# - Monospaced | |||
# - Serif | |||
# - SansSerif | |||
# - Symbol | |||
# | |||
FamilyNames=Dialog,DialogInput,Monospaced,Serif,SansSerif,Symbol | |||
# Font mappings | |||
# | |||
# Description: | |||
# Font mapping of families to the real system fonts. | |||
# | |||
# Format: | |||
# Family.<FamilyName>=<RealFontName> | |||
# | |||
# Rules: | |||
# 1. Empty value field means default fonts | |||
# (e.g.) Dialog= -> Default system font is used | |||
# | |||
# 2. Space should not be contained in the value field. Use \u0020 instead. | |||
# (e.g.) Monospaced=New Courier -> Monospaced=New\u0020Courier | |||
Family.Dialog= | |||
Family.DialogInput= | |||
Family.Monospaced= | |||
Family.Serif= | |||
Family.SansSerif= | |||
Family.Symbol= | |||
===Web browser=== | |||
Related with the [[Web Browser]] (the xai version of the webbrowser is named <'''MicroBrowser'''> in the .xml), it lists the font types availables by language groups | |||
*'''fontinfo-Xai.xml''' | |||
**In path: dev_flash\vsh\resource\'''silk'''\etc\'''fontinfo-Xai.xml''' and dev_flash\vsh\resource\'''silk_webkit'''\etc\'''fontinfo-Xai.xml''' (same file) | |||
**In path: dev_flash\vsh\resource\'''silk_nas'''\etc\'''fontinfo-Xai.xml''' (same file without the line '''SCE-PS3 Rodin LATIN2''') | |||
**The file is different in CEX or DEX (in the lines where appears '''SCE-PS3 Rodin LATIN''' the CEX version has the font '''SCE-PS3 Rodin LATIN2''' added) | |||
{{Boxcode|content=<syntaxhighlight lang="xml"> | |||
<MicroBrowser> | |||
<key>FileFormatVersion</key> | |||
<integer>4</integer> | |||
<key>FontAlias</key> | |||
<dict> | |||
<key>Generic SansSerif</key> | |||
<string>sans-serif</string> | |||
<key>Generic Serif</key> | |||
<string>serif</string> | |||
<key>Generic Monospace</key> | |||
<string>monospace</string> | |||
<key>Courier</key> | |||
<string>monospace</string> | |||
<key>Helvetica</key> | |||
<string>sans-serif</string> | |||
<key>Times</key> | |||
<string>sans-serif</string> | |||
<key>Arial</key> | |||
<string>sans-serif</string> | |||
<key>Courier New</key> | |||
<string>monospace</string> | |||
<key>Microsoft Sans Serif</key> | |||
<string>sans-serif</string> | |||
<key>Tahoma</key> | |||
<string>sans-serif</string> | |||
<key>Times New Roman</key> | |||
<string>serif</string> | |||
<key>Verdana</key> | |||
<string>sans-serif</string> | |||
<key>MSゴシック</key> | |||
<string>sans-serif</string> | |||
<key>MS ゴシック</key> | |||
<string>sans-serif</string> | |||
<key>MS ゴシック</key> | |||
<string>sans-serif</string> | |||
<key>MSゴシック</key> | |||
<string>sans-serif</string> | |||
<key>MS P ゴシック</key> | |||
<string>sans-serif</string> | |||
<key>MS Pゴシック</key> | |||
<string>sans-serif</string> | |||
<key>MS P ゴシック</key> | |||
<string>sans-serif</string> | |||
<key>MS Pゴシック</key> | |||
<string>sans-serif</string> | |||
<key>MS P Gothic</key> | |||
<string>sans-serif</string> | |||
<key>MS UI Gothic</key> | |||
<string>sans-serif</string> | |||
<key>MS 明朝</key> | |||
<string>serif</string> | |||
<key>MS明朝</key> | |||
<string>serif</string> | |||
<key>MS 明朝</key> | |||
<string>serif</string> | |||
<key>MS明朝</key> | |||
<string>serif</string> | |||
<key>MS P 明朝</key> | |||
<string>serif</string> | |||
<key>MS P明朝</key> | |||
<string>serif</string> | |||
<key>MS P 明朝</key> | |||
<string>serif</string> | |||
<key>MS P明朝</key> | |||
<string>serif</string> | |||
<key>MS P Mincho</key> | |||
<string>serif</string> | |||
<key>新細明體</key> | |||
<string>serif</string> | |||
<key>mingliu</key> | |||
<string>serif</string> | |||
</dict> | |||
<key>FontInfoLanguageList</key> | |||
<array> | |||
<string>en</string><!-- DEFAULT --> | |||
<string>en</string> | |||
<string>ja</string> | |||
<string>zh</string> | |||
<string>ko</string> | |||
</array> | |||
<key>DefaultGenericFontInfoList</key> | |||
<dict> | |||
<!-- ENGLISH --> | |||
<key>en</key> | |||
<dict> | |||
<key>serif</key> | |||
<array> | |||
<string>SCE-PS3 Matisse LATIN</string> | |||
</array> | |||
<key>sans-serif</key> | |||
<array> | |||
<string>SCE-PS3 Rodin LATIN</string> | |||
</array> | |||
<key>default</key> | |||
<array> | |||
<string>SCE-PS3 Rodin LATIN</string> | |||
<string>SCE-PS3 Rodin LATIN2</string> | |||
</array> | |||
</dict> | |||
<!-- JAPANESE --> | |||
<key>ja</key> | |||
<dict> | |||
<key>cursive</key> | |||
<array> | |||
<string>SCE-PS3 SEURAT JPN</string> | |||
</array> | |||
<key>fantasy</key> | |||
<array> | |||
<string>SCE-PS3 SEURAT JPN</string> | |||
</array> | |||
<key>default</key> | |||
<array> | |||
<string>SCE-PS3 Rodin LATIN</string> | |||
<string>SCE-PS3 Rodin LATIN2</string> | |||
<string>SCE-PS3 NewRodin JPN</string> | |||
</array> | |||
</dict> | |||
<key>zh</key> | |||
<dict> | |||
<key>default</key> | |||
<array> | |||
<string>DFHEIW5-A</string> | |||
</array> | |||
</dict> | |||
<!-- KOREAN --> | |||
<key>ko</key> | |||
<dict> | |||
<key>default</key> | |||
<array> | |||
<string>SCE-PS3 YD gd Medium</string> | |||
</array> | |||
</dict> | |||
</dict> | |||
</MicroBrowser> | |||
</syntaxhighlight>}} | |||
*'''fontFileInfo.xml''' | |||
**In path: dev_flash\vsh\resource\'''silk'''\etc\'''fontFileInfo.xml''' and dev_flash\vsh\resource\'''silk_nas'''\etc\'''fontFileInfo.xml''' (same file) | |||
{{Boxcode|content=<syntaxhighlight lang="xml"> | |||
<MicroBrowser> | |||
<!-- This file is written in UTF-8 --> | |||
<key>FontFileInfo</key> | |||
<dict> | |||
<!-- #################################################### | |||
# morisawa-ARIB monospace fonts. | |||
# | |||
# Specify "Charmap" key to define the font character map. | |||
# | |||
# Supported values are: | |||
# unicode : standard unicode character map. (default) | |||
# unicode_BML_mono: unicode like BML monospace ascii character map. | |||
# | |||
# ex... | |||
# <key>Charmap</key> | |||
# <string>unicode_BML_mono</string> | |||
# | |||
###################################################### --> | |||
<key>SGR_AR3.ttf,0</key> | |||
<dict> | |||
<key>FamilyName</key> | |||
<string>ARIB-ShinGo-regular_BML_mono</string> | |||
<key>Style</key> | |||
<integer>0</integer> | |||
<key>SizeInPixels</key> | |||
<integer>0</integer> | |||
<key>Charmap</key> | |||
<string>unicode_BML_mono</string> | |||
</dict> | |||
<key>SRGB_AR2.ttf,0</key> | |||
<dict> | |||
<key>FamilyName</key> | |||
<string>ARIB-ShinMGo-Bold_BML_mono</string> | |||
<key>Style</key> | |||
<integer>0</integer> | |||
<key>SizeInPixels</key> | |||
<integer>0</integer> | |||
<key>Charmap</key> | |||
<string>unicode_BML_mono</string> | |||
</dict> | |||
<key>SRGR_AR2.ttf,0</key> | |||
<dict> | |||
<key>FamilyName</key> | |||
<string>ARIB-ShinMGo-regular_BML_mono</string> | |||
<key>Style</key> | |||
<integer>0</integer> | |||
<key>SizeInPixels</key> | |||
<integer>0</integer> | |||
<key>Charmap</key> | |||
<string>unicode_BML_mono</string> | |||
</dict> | |||
</dict> | |||
</MicroBrowser> | |||
</syntaxhighlight>}} | |||
===Photo gallery (hakoniwa)=== | |||
Photo gallery (codenamed ''hakoniwa'' or ''hknw'') is an special software composed by files that comes preinstalled with the firmware and an additional [http://hakoniwa.dl.playstation.net/download/hakoniwa/IP9100-NPIA00006_00-VSHMODULE0000029.pkg IP9100-NPIA00006_00-VSHMODULE0000029.PKG] that needs to be installed separatedlly | |||
Hakoniwa uses some settings related with fonts. Some info related to font "families" and font "styles" from the file '''dev_flash\vsh\resource\hknw_plugin\parameters.txt''' | |||
///////////////////////////////////////////////////// | |||
// 新フォント (new fonts) | |||
///////////////////////////////////////////////////// | |||
// NEWFONT_FAMILY_CODE の値 (value) | |||
// 0 SCE_FONT_DEFAULT_FAMILY_CODE | |||
// 1 SCE_FONT_FAMILY_SANSERIF | |||
// 2 SCE_FONT_FAMILY_SERIF | |||
// 3 SCE_FONT_FAMILY_ROUNDED | |||
// 4 SCE_FONT_FAMILY_ROUNDED_CASUAL 従来の丸文字 (conventional round character) | |||
// 5 SCE_FONT_FAMILY_ROUNDED_CASUAL2 | |||
// 61440 azukiLB | |||
// 61441 uzura | |||
// 61442 aqua | |||
// 61443 aqua_pfont | |||
#define NEWFONT_FAMILY_CODE 61440//61443 | |||
// NEWFONT_STYLE_CODE の値 (value) | |||
// 101 細い (thin) | |||
// 102 ↑ | |||
// 103 | | |||
// 104 | | |||
// 105 ↓ | |||
// 106 太い (thick) | |||
#define NEWFONT_STYLE_CODE 104 | |||
=Character Maps= | =Character Maps= |