Previous Thread
Next Thread
Print Thread
Retina compatibility #114171
11/05/18 10:01 PM
11/05/18 10:01 PM
Joined: Aug 2004
Posts: 23
K
Kaizer Arel Offline OP
Member
Kaizer Arel  Offline OP
Member
K
Joined: Aug 2004
Posts: 23
Is there any chance to make the MEWUI integrated frontend rendering the fonts with a double resolution to see them clearly on a retina monitor?

Re: Retina compatibility [Re: Kaizer Arel] #114172
11/05/18 10:25 PM
11/05/18 10:25 PM
Joined: Mar 2001
Posts: 16,058
USA
R
R. Belmont Offline
Very Senior Member
R. Belmont  Offline
Very Senior Member
R
Joined: Mar 2001
Posts: 16,058
USA
That would require making MAME itself Retina-aware, which is not trivial and would make the games run dramatically slower.

Re: Retina compatibility [Re: R. Belmont] #114174
11/05/18 10:31 PM
11/05/18 10:31 PM
Joined: Aug 2004
Posts: 23
K
Kaizer Arel Offline OP
Member
Kaizer Arel  Offline OP
Member
K
Joined: Aug 2004
Posts: 23
Got it!
There's only one thing I don't understand.
Why the Fonts looks pixelled? Fonts are based on vectors they should be perfect at every resolution.
Maybe the problem could be solved activating an antialiasing effect over them.

Last edited by Kaizer Arel; 11/05/18 10:32 PM.
Re: Retina compatibility [Re: Kaizer Arel] #114178
11/06/18 07:21 AM
11/06/18 07:21 AM
Joined: Feb 2004
Posts: 2,003
Sydney, Australia
Vas Crabb Offline
Very Senior Member
Vas Crabb  Offline
Very Senior Member
Joined: Feb 2004
Posts: 2,003
Sydney, Australia
The short answer is that the current text rendering code in MAME sucks. It renders character-at-a-time at a single size and then scales to the target resolution, and it doesn't anti-alias. The exact flavour of bad depends on your OS (macOS looking really jaggy, Windows looking like it was rendered for a black background then pasted over whatever the actual background is). It needs to be changed to render text runs, mipmap, and support alpha.

Re: Retina compatibility [Re: Kaizer Arel] #114180
11/06/18 08:56 AM
11/06/18 08:56 AM
Joined: Aug 2004
Posts: 23
K
Kaizer Arel Offline OP
Member
Kaizer Arel  Offline OP
Member
K
Joined: Aug 2004
Posts: 23
I can understand it could be not a priority in the MAME developing process but I opened a new request on mametesters.
Let's see if any developer will take charge of it.

Last edited by Kaizer Arel; 11/06/18 09:45 AM.

Moderated by  R. Belmont 

Who's Online Now
2 registered members (Dr.Zer0, 1 invisible), 25 guests, and 1 spider.
Key: Admin, Global Mod, Mod
Shout Box
Forum Statistics
Forums9
Topics8,600
Posts112,408
Members4,821
Most Online283
Oct 11th, 2018
Powered by UBB.threads™ PHP Forum Software 7.6.1.1
(Release build 20180111)
Page Time: 0.023s Queries: 14 (0.009s) Memory: 5.6122 MB (Peak: 5.7933 MB) Zlib enabled. Server Time: 2018-11-21 11:44:38 UTC