mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2024-11-22 06:05:38 +00:00
(modern-es-de) Added support for medium and large font sizes
This commit is contained in:
parent
2432f14d9e
commit
ab1e13d579
|
@ -10,6 +10,9 @@
|
||||||
<aspectRatio>4:3</aspectRatio>
|
<aspectRatio>4:3</aspectRatio>
|
||||||
<aspectRatio>21:9</aspectRatio>
|
<aspectRatio>21:9</aspectRatio>
|
||||||
|
|
||||||
|
<fontSize>medium</fontSize>
|
||||||
|
<fontSize>large</fontSize>
|
||||||
|
|
||||||
<colorScheme name="dark">
|
<colorScheme name="dark">
|
||||||
<label>Dark</label>
|
<label>Dark</label>
|
||||||
</colorScheme>
|
</colorScheme>
|
||||||
|
|
|
@ -14,6 +14,57 @@
|
||||||
<mainFont>./assets/fonts/nswitchui.ttf</mainFont>
|
<mainFont>./assets/fonts/nswitchui.ttf</mainFont>
|
||||||
</variables>
|
</variables>
|
||||||
|
|
||||||
|
<fontSize name="medium">
|
||||||
|
<variables>
|
||||||
|
<!-- System view -->
|
||||||
|
<gameCounterFontSize>0.032</gameCounterFontSize>
|
||||||
|
<systemNameFontSize>0.04</systemNameFontSize>
|
||||||
|
<!-- Gamelist view -->
|
||||||
|
<gamelistSystemNameFontSize>0.03</gamelistSystemNameFontSize>
|
||||||
|
<gamelistFontSize>0.030</gamelistFontSize>
|
||||||
|
<gamelistLineSpacing>1.9</gamelistLineSpacing>
|
||||||
|
<gamelistSelectorVerticalOffset>-0.0015</gamelistSelectorVerticalOffset>
|
||||||
|
<gamelistInfoFontSize>0.03</gamelistInfoFontSize>
|
||||||
|
<descriptionFontSize>0.03</descriptionFontSize>
|
||||||
|
<descriptionLineSpacing>1.2</descriptionLineSpacing>
|
||||||
|
<metadataLabelFontSize>0.02</metadataLabelFontSize>
|
||||||
|
<metadataValueFontSize>0.03</metadataValueFontSize>
|
||||||
|
<publisherLabelPos>0.70 0.532</publisherLabelPos>
|
||||||
|
<developerLabelPos>0.8453 0.532</developerLabelPos>
|
||||||
|
<releaseDateLabelPos>0.70 0.608</releaseDateLabelPos>
|
||||||
|
<playersLabelPos>0.8453 0.608</playersLabelPos>
|
||||||
|
<genreLabelPos>0.70 0.684</genreLabelPos>
|
||||||
|
<ratingLabelPos>0.70 0.760</ratingLabelPos>
|
||||||
|
<ratingSize>0.04 0.03</ratingSize>
|
||||||
|
<badgesSize>0.1267 0.185</badgesSize>
|
||||||
|
</variables>
|
||||||
|
</fontSize>
|
||||||
|
<fontSize name="large">
|
||||||
|
<variables>
|
||||||
|
<!-- System view -->
|
||||||
|
<gameCounterFontSize>0.036</gameCounterFontSize>
|
||||||
|
<systemNameFontSize>0.045</systemNameFontSize>
|
||||||
|
<!-- Gamelist view -->
|
||||||
|
<gamelistSystemNameFontSize>0.04</gamelistSystemNameFontSize>
|
||||||
|
<gamelistFontSize>0.0368</gamelistFontSize>
|
||||||
|
<gamelistLineSpacing>1.7</gamelistLineSpacing>
|
||||||
|
<gamelistSelectorVerticalOffset>0.0025</gamelistSelectorVerticalOffset>
|
||||||
|
<gamelistInfoFontSize>0.036</gamelistInfoFontSize>
|
||||||
|
<descriptionFontSize>0.037</descriptionFontSize>
|
||||||
|
<descriptionLineSpacing>1.15</descriptionLineSpacing>
|
||||||
|
<metadataLabelFontSize>0.025</metadataLabelFontSize>
|
||||||
|
<metadataValueFontSize>0.036</metadataValueFontSize>
|
||||||
|
<publisherLabelPos>0.70 0.527</publisherLabelPos>
|
||||||
|
<developerLabelPos>0.8453 0.527</developerLabelPos>
|
||||||
|
<releaseDateLabelPos>0.70 0.602</releaseDateLabelPos>
|
||||||
|
<playersLabelPos>0.8453 0.602</playersLabelPos>
|
||||||
|
<genreLabelPos>0.70 0.679</genreLabelPos>
|
||||||
|
<ratingLabelPos>0.70 0.760</ratingLabelPos>
|
||||||
|
<ratingSize>0 0.035</ratingSize>
|
||||||
|
<badgesSize>0.1267 0.205</badgesSize>
|
||||||
|
</variables>
|
||||||
|
</fontSize>
|
||||||
|
|
||||||
<variant name="all">
|
<variant name="all">
|
||||||
<aspectRatio name="16:9">
|
<aspectRatio name="16:9">
|
||||||
<include>./aspect-ratio-16-9.xml</include>
|
<include>./aspect-ratio-16-9.xml</include>
|
||||||
|
@ -99,7 +150,7 @@
|
||||||
<origin>0.5 0.5</origin>
|
<origin>0.5 0.5</origin>
|
||||||
<systemdata>gamecount</systemdata>
|
<systemdata>gamecount</systemdata>
|
||||||
<fontPath>${mainFont}</fontPath>
|
<fontPath>${mainFont}</fontPath>
|
||||||
<fontSize>0.032</fontSize>
|
<fontSize>${gameCounterFontSize}</fontSize>
|
||||||
<horizontalAlignment>center</horizontalAlignment>
|
<horizontalAlignment>center</horizontalAlignment>
|
||||||
<color>${mainColor}</color>
|
<color>${mainColor}</color>
|
||||||
<letterCase>capitalize</letterCase>
|
<letterCase>capitalize</letterCase>
|
||||||
|
@ -117,7 +168,7 @@
|
||||||
<size>0.743 0.035</size>
|
<size>0.743 0.035</size>
|
||||||
<origin>0 0.5</origin>
|
<origin>0 0.5</origin>
|
||||||
<fontPath>${mainFont}</fontPath>
|
<fontPath>${mainFont}</fontPath>
|
||||||
<fontSize>0.04</fontSize>
|
<fontSize>${systemNameFontSize}</fontSize>
|
||||||
<horizontalAlignment>left</horizontalAlignment>
|
<horizontalAlignment>left</horizontalAlignment>
|
||||||
<color>${mainColor}</color>
|
<color>${mainColor}</color>
|
||||||
</text>
|
</text>
|
||||||
|
@ -149,18 +200,18 @@
|
||||||
<size>0.31 0.68</size>
|
<size>0.31 0.68</size>
|
||||||
<origin>0 0</origin>
|
<origin>0 0</origin>
|
||||||
<selectorHeight>0.075</selectorHeight>
|
<selectorHeight>0.075</selectorHeight>
|
||||||
<selectorVerticalOffset>-0.0015</selectorVerticalOffset>
|
<selectorVerticalOffset>${gamelistSelectorVerticalOffset}</selectorVerticalOffset>
|
||||||
<selectorColor>${mainColor}</selectorColor>
|
<selectorColor>${mainColor}</selectorColor>
|
||||||
<selectorImagePath>./assets/selector.png</selectorImagePath>
|
<selectorImagePath>./assets/selector.png</selectorImagePath>
|
||||||
<selectedColor>${mainColor}</selectedColor>
|
<selectedColor>${mainColor}</selectedColor>
|
||||||
<primaryColor>${secondaryColor}</primaryColor>
|
<primaryColor>${secondaryColor}</primaryColor>
|
||||||
<secondaryColor>${tertiaryColor}</secondaryColor>
|
<secondaryColor>${tertiaryColor}</secondaryColor>
|
||||||
<fontPath>${mainFont}</fontPath>
|
<fontPath>${mainFont}</fontPath>
|
||||||
<fontSize>0.030</fontSize>
|
<fontSize>${gamelistFontSize}</fontSize>
|
||||||
<horizontalAlignment>left</horizontalAlignment>
|
<horizontalAlignment>left</horizontalAlignment>
|
||||||
<horizontalMargin>0.01</horizontalMargin>
|
<horizontalMargin>0.01</horizontalMargin>
|
||||||
<letterCase>none</letterCase>
|
<letterCase>none</letterCase>
|
||||||
<lineSpacing>1.9</lineSpacing>
|
<lineSpacing>${gamelistLineSpacing}</lineSpacing>
|
||||||
</textlist>
|
</textlist>
|
||||||
<image name="topLine">
|
<image name="topLine">
|
||||||
<pos>0.5 0.13</pos>
|
<pos>0.5 0.13</pos>
|
||||||
|
@ -174,7 +225,7 @@
|
||||||
<pos>0.034 0.065</pos>
|
<pos>0.034 0.065</pos>
|
||||||
<size>0.743 0.031</size>
|
<size>0.743 0.031</size>
|
||||||
<fontPath>${mainFont}</fontPath>
|
<fontPath>${mainFont}</fontPath>
|
||||||
<fontSize>0.03</fontSize>
|
<fontSize>${gamelistSystemNameFontSize}</fontSize>
|
||||||
<horizontalAlignment>left</horizontalAlignment>
|
<horizontalAlignment>left</horizontalAlignment>
|
||||||
<color>${secondaryColor}</color>
|
<color>${secondaryColor}</color>
|
||||||
<letterCase>capitalize</letterCase>
|
<letterCase>capitalize</letterCase>
|
||||||
|
@ -200,10 +251,10 @@
|
||||||
</text>
|
</text>
|
||||||
<gamelistinfo name="gamelistInfo">
|
<gamelistinfo name="gamelistInfo">
|
||||||
<pos>0.966 0.065</pos>
|
<pos>0.966 0.065</pos>
|
||||||
<size>0.2 0.031</size>
|
<size>0.25 0.031</size>
|
||||||
<origin>1 0</origin>
|
<origin>1 0</origin>
|
||||||
<fontPath>${mainFont}</fontPath>
|
<fontPath>${mainFont}</fontPath>
|
||||||
<fontSize>0.03</fontSize>
|
<fontSize>${gamelistInfoFontSize}</fontSize>
|
||||||
<horizontalAlignment>right</horizontalAlignment>
|
<horizontalAlignment>right</horizontalAlignment>
|
||||||
<color>${secondaryColor}</color>
|
<color>${secondaryColor}</color>
|
||||||
</gamelistinfo>
|
</gamelistinfo>
|
||||||
|
@ -244,85 +295,85 @@
|
||||||
<containerScrollSpeed>1</containerScrollSpeed>
|
<containerScrollSpeed>1</containerScrollSpeed>
|
||||||
<containerStartDelay>4.5</containerStartDelay>
|
<containerStartDelay>4.5</containerStartDelay>
|
||||||
<containerResetDelay>7</containerResetDelay>
|
<containerResetDelay>7</containerResetDelay>
|
||||||
<fontSize>0.03</fontSize>
|
<fontSize>${descriptionFontSize}</fontSize>
|
||||||
<lineSpacing>1.2</lineSpacing>
|
<lineSpacing>${descriptionLineSpacing}</lineSpacing>
|
||||||
</text>
|
</text>
|
||||||
<text name="labelPublisher">
|
<text name="labelPublisher">
|
||||||
<pos>0.70 0.532</pos>
|
<pos>${publisherLabelPos}</pos>
|
||||||
<size>0.13125 0.02</size>
|
<size>0.13125 0.02</size>
|
||||||
<text>Publisher:</text>
|
<text>Publisher:</text>
|
||||||
<metadataElement>true</metadataElement>
|
<metadataElement>true</metadataElement>
|
||||||
<fontSize>0.02</fontSize>
|
<fontSize>${metadataLabelFontSize}</fontSize>
|
||||||
</text>
|
</text>
|
||||||
<text name="publisher">
|
<text name="publisher">
|
||||||
<pos>0.70 0.552</pos>
|
<pos>0.70 0.552</pos>
|
||||||
<size>0.13125 0.03</size>
|
<size>0.13125 0.03</size>
|
||||||
<metadata>publisher</metadata>
|
<metadata>publisher</metadata>
|
||||||
<defaultValue>Unknown</defaultValue>
|
<defaultValue>Unknown</defaultValue>
|
||||||
<fontSize>0.03</fontSize>
|
<fontSize>${metadataValueFontSize}</fontSize>
|
||||||
</text>
|
</text>
|
||||||
<text name="labelDeveloper">
|
<text name="labelDeveloper">
|
||||||
<pos>0.8453 0.532</pos>
|
<pos>${developerLabelPos}</pos>
|
||||||
<size>0.13125 0.02</size>
|
<size>0.13125 0.02</size>
|
||||||
<text>Developer:</text>
|
<text>Developer:</text>
|
||||||
<metadataElement>true</metadataElement>
|
<metadataElement>true</metadataElement>
|
||||||
<fontSize>0.02</fontSize>
|
<fontSize>${metadataLabelFontSize}</fontSize>
|
||||||
</text>
|
</text>
|
||||||
<text name="developer">
|
<text name="developer">
|
||||||
<pos>0.8453 0.552</pos>
|
<pos>0.8453 0.552</pos>
|
||||||
<size>0.13125 0.03</size>
|
<size>0.13125 0.03</size>
|
||||||
<metadata>developer</metadata>
|
<metadata>developer</metadata>
|
||||||
<defaultValue>Unknown</defaultValue>
|
<defaultValue>Unknown</defaultValue>
|
||||||
<fontSize>0.03</fontSize>
|
<fontSize>${metadataValueFontSize}</fontSize>
|
||||||
</text>
|
</text>
|
||||||
<text name="labelReleasedate">
|
<text name="labelReleasedate">
|
||||||
<pos>0.70 0.608</pos>
|
<pos>${releaseDateLabelPos}</pos>
|
||||||
<size>0.13125 0.02</size>
|
<size>0.13125 0.02</size>
|
||||||
<text>Released:</text>
|
<text>Released:</text>
|
||||||
<metadataElement>true</metadataElement>
|
<metadataElement>true</metadataElement>
|
||||||
<fontSize>0.02</fontSize>
|
<fontSize>${metadataLabelFontSize}</fontSize>
|
||||||
</text>
|
</text>
|
||||||
<datetime name="releasedate">
|
<datetime name="releasedate">
|
||||||
<pos>0.70 0.628</pos>
|
<pos>0.70 0.628</pos>
|
||||||
<size>0.13125 0.03</size>
|
<size>0.13125 0.03</size>
|
||||||
<metadata>releasedate</metadata>
|
<metadata>releasedate</metadata>
|
||||||
<defaultValue>Unknown</defaultValue>
|
<defaultValue>Unknown</defaultValue>
|
||||||
<fontSize>0.03</fontSize>
|
<fontSize>${metadataValueFontSize}</fontSize>
|
||||||
</datetime>
|
</datetime>
|
||||||
<text name="labelPlayers">
|
<text name="labelPlayers">
|
||||||
<pos>0.8453 0.608</pos>
|
<pos>${playersLabelPos}</pos>
|
||||||
<size>0.13125 0.02</size>
|
<size>0.13125 0.02</size>
|
||||||
<text>Players:</text>
|
<text>Players:</text>
|
||||||
<metadataElement>true</metadataElement>
|
<metadataElement>true</metadataElement>
|
||||||
<fontSize>0.02</fontSize>
|
<fontSize>${metadataLabelFontSize}</fontSize>
|
||||||
</text>
|
</text>
|
||||||
<text name="players">
|
<text name="players">
|
||||||
<pos>0.8453 0.628</pos>
|
<pos>0.8453 0.628</pos>
|
||||||
<size>0.13125 0.03</size>
|
<size>0.13125 0.03</size>
|
||||||
<metadata>players</metadata>
|
<metadata>players</metadata>
|
||||||
<defaultValue>Unknown</defaultValue>
|
<defaultValue>Unknown</defaultValue>
|
||||||
<fontSize>0.03</fontSize>
|
<fontSize>${metadataValueFontSize}</fontSize>
|
||||||
</text>
|
</text>
|
||||||
<text name="labelGenre">
|
<text name="labelGenre">
|
||||||
<pos>0.70 0.684</pos>
|
<pos>${genreLabelPos}</pos>
|
||||||
<size>0.13125 0.02</size>
|
<size>0.13125 0.02</size>
|
||||||
<text>Genre:</text>
|
<text>Genre:</text>
|
||||||
<metadataElement>true</metadataElement>
|
<metadataElement>true</metadataElement>
|
||||||
<fontSize>0.02</fontSize>
|
<fontSize>${metadataLabelFontSize}</fontSize>
|
||||||
</text>
|
</text>
|
||||||
<text name="genre">
|
<text name="genre">
|
||||||
<pos>0.70 0.704</pos>
|
<pos>0.70 0.704</pos>
|
||||||
<size>0.13125 0.03</size>
|
<size>0.13125 0.03</size>
|
||||||
<metadata>genre</metadata>
|
<metadata>genre</metadata>
|
||||||
<defaultValue>Unknown</defaultValue>
|
<defaultValue>Unknown</defaultValue>
|
||||||
<fontSize>0.03</fontSize>
|
<fontSize>${metadataValueFontSize}</fontSize>
|
||||||
</text>
|
</text>
|
||||||
<text name="labelRating">
|
<text name="labelRating">
|
||||||
<pos>0.70 0.760</pos>
|
<pos>${ratingLabelPos}</pos>
|
||||||
<size>0.13125 0.02</size>
|
<size>0.13125 0.02</size>
|
||||||
<text>Rating:</text>
|
<text>Rating:</text>
|
||||||
<metadataElement>true</metadataElement>
|
<metadataElement>true</metadataElement>
|
||||||
<fontSize>0.02</fontSize>
|
<fontSize>${metadataLabelFontSize}</fontSize>
|
||||||
</text>
|
</text>
|
||||||
<text name="labelPublisher, labelDeveloper, labelReleasedate, labelPlayers,
|
<text name="labelPublisher, labelDeveloper, labelReleasedate, labelPlayers,
|
||||||
labelGenre, labelRating">
|
labelGenre, labelRating">
|
||||||
|
@ -336,13 +387,13 @@
|
||||||
</datetime>
|
</datetime>
|
||||||
<rating name="rating">
|
<rating name="rating">
|
||||||
<pos>0.70 0.785</pos>
|
<pos>0.70 0.785</pos>
|
||||||
<size>0.04 0.03</size>
|
<size>${ratingSize}</size>
|
||||||
<filledPath>./assets/star-filled.svg</filledPath>
|
<filledPath>./assets/star-filled.svg</filledPath>
|
||||||
<unfilledPath>./assets/${colorSchemeName}/star-unfilled.svg</unfilledPath>
|
<unfilledPath>./assets/${colorSchemeName}/star-unfilled.svg</unfilledPath>
|
||||||
</rating>
|
</rating>
|
||||||
<badges name="badges">
|
<badges name="badges">
|
||||||
<pos>0.8423 0.685</pos>
|
<pos>0.8423 0.685</pos>
|
||||||
<size>0.1267 0.185</size>
|
<size>${badgesSize}</size>
|
||||||
<origin>0 0</origin>
|
<origin>0 0</origin>
|
||||||
<direction>column</direction>
|
<direction>column</direction>
|
||||||
<slots>collection, folder, favorite, completed, kidgame, broken, controller, altemulator, manual</slots>
|
<slots>collection, folder, favorite, completed, kidgame, broken, controller, altemulator, manual</slots>
|
||||||
|
|
Loading…
Reference in a new issue