Author Topic: Uppercase Letter (Developer of attract-mode)  (Read 2245 times)

Vaz

  • Jr. Member
  • **
  • Posts: 11
    • View Profile
Uppercase Letter (Developer of attract-mode)
« on: July 04, 2023, 07:48:19 AM »
When I'm developing a theme, I come across a problem, which some already know, which is displaying "only uppercase letters". Those who develop themes know what I'm talking about. You have to use subterfuges, especially when the font has lowercase and uppercase and you want it to display only uppercase.

In my case, when the font has lowercase and uppercase and I want the attract-mode to display only uppercase, I have to make a change inside the font, through editors and delete "all lowercase". So that way I get the display of all texts in uppercase.

Another way would be to choose a font that doesn't have lower case inside it.

I found a solution suggested by keilmillerjr in this link
http://forum.attractmode.org/index.php?topic=1911.0

But it is a partial solution.
For example: If you want the word "Capcom" to be displayed in uppercase letters in Manufacurer, it will be displayed as it is written inside your romlist.

To the developer of attract-mode.
In the text properties we have the option "style" with:

Style.Regular (default)
Style.Bold
Style.Italic
Style.Underlined
Style.Uppercase <------------ SUGGESTION

Isn't there a possibility to create a Style.Uppercase function to display only "uppercase letters"?

Sorry about my English

zpaolo11x

  • Hero Member
  • *****
  • Posts: 1247
    • View Profile
    • My deviantart page
Re: Uppercase Letter (Developer of attract-mode)
« Reply #1 on: July 04, 2023, 08:28:52 AM »
You can still use .toupper() to convert a string to its uppercase equivalent. This is not as convenient as having an all uppercase font, but it's straightforward...