themeファイルをいじくっていた未確認です、こんにちは
今回は
NEO オールドPCを・・・ その9 batocera.ES 日本語化
の後処理についてです・・・
日本語化して、メニューの内容を確認していたら・・・
なんじゃこりゃあああああああ
メニュータイトルや項目の文字がでかすぎるんだ・・・
何とか、ならんものか・・・
へい、ぐーぐる!w
・・・
・・・・
に記載がありましたw
・・・できた!
メニュー項目の文字やフォント、色の変更方法を記載しよかと
例として
es-theme-snes-mini-masterの
theme.xmlの内容抜粋
<theme>
<formatVersion>3</formatVersion>
<include>./config.xml</include>
<include>./base.xml</include>
</theme>
抜粋終わり
これを・・・
<theme>
<formatVersion>4</formatVersion>
<variables>
<baseColor>777777</baseColor>
<gradientEndColor>aaaaaa</gradientEndColor>
<centerFadeColor>88888850</centerFadeColor>
<bottomBarColor>666666</bottomBarColor>
<glowColor>77777720</glowColor>
<systemInfoColor>FAFAFFB0</systemInfoColor>
<backgroundImage>./art/fiber.png</backgroundImage>
<tilesViewName>Tiles</tilesViewName>
</variables>
<view name="menu">
<menuText name="menutitle">
<fontPath>./art/07YasashisaAntique.ttf</fontPath>
<fontSize>0.044</fontSize>
<color>333333</color>
</menuText>
<menuText name="menufooter">
<fontPath>./art/07YasashisaAntique.ttf</fontPath>
<fontSize>0.02</fontSize>
<color>444444FF</color>
</menuText>
<menuText name="menutext">
<fontPath>./art/07YasashisaAntique.ttf</fontPath>
<fontSize>0.038</fontSize>
<color>333333</color>
<separatorColor>323232FF</separatorColor>
<selectorColor>${baseColor}</selectorColor>
<selectorColorEnd>${gradientEndColor}</selectorColorEnd>
<selectedColor>ffffff</selectedColor>
<selectorGradientType>horizontal</selectorGradientType>
</menuText>
<menuTextSmall name="menutextsmall">
<fontPath>./art/07YasashisaAntique.ttf</fontPath>
<fontSize>0.02</fontSize>
<color>eeeeee</color>
</menuTextSmall>
<menuBackground name="menubg">
<color>ffffff</color>
<cornerSize>32 32</cornerSize>
</menuBackground>
</view>
<include>./config.xml</include>
<include>./base.xml</include>
</theme>
とした
注<fontPath>./art/07YasashisaAntique.ttf</fontPath>
フォントはテーマで使用した
やさしさアンチックを指定してます
追記
<menuTextSmall name="menutextsmall">
は、項目の下の説明文のフォントに適用
"menuTextSmall name="にしないと反映されない
(menuText name="menutextsmall"ではだめ)
最初から同梱されてるtheme「carbon」はmenuで日本語と英語の
フォントサイズが同じフォントを使ってるみたい
simpleとか昔からのthemeはフォント指定されていないので、
日本語にすると、カッコ悪くなりますw
気が向いたら試してみてくださいw

































