Previous Thread
Next Thread
Print Thread
Did this annoy you? Because it annoyed me. (OSX) #110522
08/05/17 08:43 AM
08/05/17 08:43 AM
Joined: Feb 2004
Posts: 1,968
Sydney, Australia
Vas Crabb Offline OP
Very Senior Member
Vas Crabb  Offline OP
Very Senior Member
Joined: Feb 2004
Posts: 1,968
Sydney, Australia
Old behaviour:
[Linked Image]

Improved:
[Linked Image]

I've been annoyed at the text rendering on OSX forever, but I finally got around to improving it. Previously it was trying to guess advance from the glyph bounding box, so narrow characters generally got jammed up against whatever followed them. It's still not perfect - CCS doesn't work and there's no kerning, but that would require changing to a line-at-a-time rendering model.

Re: Did this annoy you? Because it annoyed me. (OSX) [Re: Vas Crabb] #110523
08/05/17 01:11 PM
08/05/17 01:11 PM
Joined: Mar 2001
Posts: 15,966
USA
R
R. Belmont Online content
Very Senior Member
R. Belmont  Online Content
Very Senior Member
R
Joined: Mar 2001
Posts: 15,966
USA
That's much more readable. Thanks!

Re: Did this annoy you? Because it annoyed me. (OSX) [Re: Vas Crabb] #110525
08/05/17 02:37 PM
08/05/17 02:37 PM
Joined: May 2004
Posts: 1,500
H
Haze Offline
Very Senior Member
Haze  Offline
Very Senior Member
H
Joined: May 2004
Posts: 1,500
Strangely I find the old behaviour easier to read in places, with the new behaivior "Commodore" looks almost like it's been split into 2 words "Com modore" is that correct? Looks like there's far too much space between the 2 m characters. Or have you just got the screenshots swapped?



Last edited by Haze; 08/05/17 02:38 PM.
Re: Did this annoy you? Because it annoyed me. (OSX) [Re: Vas Crabb] #110529
08/05/17 05:13 PM
08/05/17 05:13 PM
Joined: Mar 2001
Posts: 15,966
USA
R
R. Belmont Online content
Very Senior Member
R. Belmont  Online Content
Very Senior Member
R
Joined: Mar 2001
Posts: 15,966
USA
Look at the left column words like "All" and "BIOS". It's not a 100% perfect fix, as he admitted, but it's much more readable where it counts.

Re: Did this annoy you? Because it annoyed me. (OSX) [Re: Vas Crabb] #110541
08/07/17 04:51 AM
08/07/17 04:51 AM
Joined: Sep 2000
Posts: 441
Madison, WI, USA
M
MAMEBase Offline
Senior Member
MAMEBase  Offline
Senior Member
M
Joined: Sep 2000
Posts: 441
Madison, WI, USA
Forgive my ignorance, but what front end is that? (assuming it's a front end, that is...)


The following statement is true...
The preceding statement is false.
Re: Did this annoy you? Because it annoyed me. (OSX) [Re: MAMEBase] #110542
08/07/17 05:51 AM
08/07/17 05:51 AM
Joined: Feb 2004
Posts: 1,968
Sydney, Australia
Vas Crabb Offline OP
Very Senior Member
Vas Crabb  Offline OP
Very Senior Member
Joined: Feb 2004
Posts: 1,968
Sydney, Australia
Originally Posted by MAMEBase
Forgive my ignorance, but what front end is that? (assuming it's a front end, that is...)


MewUI, the built-in MAME front-end. You see it when you launch MAME without a system name on the command line. Specifically, this commit fixes a bunch of text rendering issues in MAME's internal UI on OSX. I was trying to update the Japanese translation, and it was so bad I had to do something about it. It's bad enough in English, but Japanese was unusably bad.

Here's Japanese in 0.188:
[Linked Image]

Note how the characters are jammed up against the colons and Japanese comma, half-width space is far too big, the digit 1 is jammed up against whatever comes after it, small kana don't get a whole character space like they should, full-width spaces aren't rendered at all, lowercase i is jammed up against whatever comes after it, etc.

Here's Japanese in latest head:
[Linked Image]

It doesn't make you want to puke the moment you see it, and it's all legible.


Moderated by  R. Belmont 

Who's Online Now
1 registered members (Stiletto), 32 guests, and 2 spiders.
Key: Admin, Global Mod, Mod
Shout Box
Forum Statistics
Forums9
Topics8,555
Posts111,753
Members4,801
Most Online225
May 26th, 2014
Powered by UBB.threads™ PHP Forum Software 7.6.1.1
(Release build 20180111)
Page Time: 0.024s Queries: 14 (0.009s) Memory: 5.6245 MB (Peak: 5.8132 MB) Zlib enabled. Server Time: 2018-07-21 01:47:25 UTC