Main Restorations Software Audio/Jukebox/MP3 Everything Else Buy/Sell/Trade
Project Announcements Monitor/Video GroovyMAME Merit/JVL Touchscreen Meet Up Retail Vendors
Driving & Racing Woodworking Software Support Forums Consoles Project Arcade Reviews
Automated Projects Artwork Frontend Support Forums Pinball Forum Discussion Old Boards
Raspberry Pi & Dev Board controls.dat Linux Miscellaneous Arcade Wiki Discussion Old Archives
Lightguns Arcade1Up Try the site in https mode Site News

Unread posts | New Replies | Recent posts | Rules | Chatroom | Wiki | File Repository | RSS | Submit news

  

Author Topic: Font scalling on CRT  (Read 3857 times)

0 Members and 1 Guest are viewing this topic.

haynor666

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1471
  • Last login:April 09, 2024, 03:45:52 am
  • retro maniac
Font scalling on CRT
« on: March 09, 2016, 02:55:48 am »
On some games (or rather some resolutions) texts when You are hitting TAB are unreadable. I tried switch fonts from Mr.Do site but results are poor - either is ok on some resolutions but then too big on other (for example DIP switch descriptions does not fit on single line). This is not a problem with super resolutions from what I tested briefly long time ago but on standard low like 256x240 or 256x248 it's not too good :/

Is there a way to set mame so font can be always readable? I was thinking to set bigger fonts for horizontal games and smaller for vertical but I don't know what to set up in mame.ini and vertical.ini. All I can see is option uifont but I cannot find option for size of font.

This is quite old problem and in fact not only for groovymame but general.

big10p

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 698
  • Last login:May 01, 2023, 01:46:23 pm
  • Mmmm, arcade classics!
Re: Font scalling on CRT
« Reply #1 on: March 09, 2016, 07:27:54 am »
Don't think you can set font size, but as you say, you can set the UI font in ini files - e.g. vertical.ini and horizont.ini. Have you tried the emulogic font?

krick

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 2006
  • Last login:February 08, 2023, 08:30:27 pm
  • Gotta have blue hair.
Re: Font scalling on CRT
« Reply #2 on: March 09, 2016, 11:56:37 pm »
This used to work in older versions of MAME.  Not sure if it applies or even works anymore...

You can modify a setting in mame.ini...

uifont    default

...just remove "default".  This causes MAME to fall back on some kind of low-res bitmap font that looks reasonably decent on an arcade monitor.

Hantarex Polo 15KHz
Sapphire Radeon HD 7750 2GB (GCN)
GroovyMAME 0.197.017h_d3d9ex
CRT Emudriver & CRT Tools 2.0 beta 13 (Crimson 16.2.1 for GCN cards)
Windows 7 Home Premium 64-bit
Intel Core i7-4790K @ 4.8GHz
ASUS Z87M-PLUS Motherboard

chrisvg

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 28
  • Last login:August 03, 2019, 09:47:50 pm
  • Blast City fanboy!
Re: Font scalling on CRT
« Reply #3 on: March 10, 2016, 12:52:38 am »
Wow! That is a super handy tip, gonna have to remember that one.  This "not default default" font doesn't look pretty, but it's definitely more readable at low resolutions  :cheers:

haynor666

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1471
  • Last login:April 09, 2024, 03:45:52 am
  • retro maniac
Re: Font scalling on CRT
« Reply #4 on: March 10, 2016, 06:19:52 am »
That font is far too big on some vertical resolution :/

krick

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 2006
  • Last login:February 08, 2023, 08:30:27 pm
  • Gotta have blue hair.
Re: Font scalling on CRT
« Reply #5 on: January 06, 2018, 12:36:43 am »
I was setting up GroovyMAME 0.193 tonight.

When you remove "default" the font is smaller, but looks kind of crappy on my arcade monitor.  I think it used to look OK in older versions of MAME.

However, if you change it from...

uifont    default

...to...

uifont    uismall.bdf

...then it looks pretty decent, at least on the handful of games I tested.
Hantarex Polo 15KHz
Sapphire Radeon HD 7750 2GB (GCN)
GroovyMAME 0.197.017h_d3d9ex
CRT Emudriver & CRT Tools 2.0 beta 13 (Crimson 16.2.1 for GCN cards)
Windows 7 Home Premium 64-bit
Intel Core i7-4790K @ 4.8GHz
ASUS Z87M-PLUS Motherboard

Calamity

  • Moderator
  • Trade Count: (0)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 7414
  • Last login:April 10, 2024, 02:02:31 pm
  • Quote me with care
Re: Font scalling on CRT
« Reply #6 on: January 06, 2018, 12:42:55 pm »
There's no way to force the internal UI to be integer scaled, that's the issue. I don't bother about this because I always use super resolutions these days.
Important note: posts reporting GM issues without a log will be IGNORED.
Steps to create a log:
 - From command line, run: groovymame.exe -v romname >romname.txt
 - Attach resulting romname.txt file to your post, instead of pasting it.

CRT Emudriver, VMMaker & Arcade OSD downloads, documentation and discussion:  Eiusdemmodi

haynor666

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1471
  • Last login:April 09, 2024, 03:45:52 am
  • retro maniac
Re: Font scalling on CRT
« Reply #7 on: June 06, 2022, 02:54:33 pm »
Topic is maybe a bit old but in my opinion font rendering still in my opinion could be better. There some requests and propositions to fix this problem:

https://github.com/mamedev/mame/issues/7105
https://github.com/mamedev/mame/issues/6886

I tried many configurations and fonts somehow I obtained good results. Of course disabling font filtering would be still good option.
« Last Edit: June 07, 2022, 02:25:44 am by haynor666 »