It is currently June 25th, 2019, 6:24 am

Improved font rendering with Direct2D

Changes made during the Rainmeter 3.0 beta cycle.
User avatar
jsmorley
Developer
Posts: 19268
Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA

Re: Improved font rendering

jsmorley » April 7th, 2013, 3:27 pm

Beta revision 1879 - April 7.

Added support for TransformationMatrix (all meters) and Angle (string meters).

Made some changes to how font "family" and "subfamily" names are handled, to be more consistent with GDI+.
User avatar
moshi
Posts: 1851
Joined: November 13th, 2012, 9:53 pm

Re: Improved font rendering

moshi » April 7th, 2013, 4:02 pm

seems like fonts work now. :)

you are probably aware of it, ScaleMargins do not work:
Untitled-1.jpg
You do not have the required permissions to view the files attached to this post.
poiru
Developer
Posts: 2877
Joined: April 17th, 2009, 12:18 pm

Re: Improved font rendering

poiru » April 7th, 2013, 4:39 pm

moshi wrote:seems like fonts work now. :)
Yes, it should be a better now. There are still some issues left, but hopefully it will be fully sorted out next week.
User avatar
Seahorse
Posts: 1220
Joined: June 9th, 2010, 5:56 pm
Location: Locks heath, UK

Re: Improved font rendering

Seahorse » April 13th, 2013, 4:42 am

Is there an ETA on a fix for fonts in @Resources\Fonts do not work as of this beta. please?
"Regrettably your planet is one of those scheduled for demolition"
Mike

My Skins at DeviantArt

User avatar
Brian
Developer
Posts: 1873
Joined: November 24th, 2011, 1:42 am
Location: Utah

Re: Improved font rendering

Brian » April 13th, 2013, 4:47 am

How about Sunday? Noon (EST)? Does that sound good? :D

-Brian
User avatar
Seahorse
Posts: 1220
Joined: June 9th, 2010, 5:56 pm
Location: Locks heath, UK

Re: Improved font rendering

Seahorse » April 13th, 2013, 11:08 am

Thank you Sir - It impacts directly on the skins I am working on, hence I have not jumped to 3.0 and my interest not that i am back from holiday 8-)
"Regrettably your planet is one of those scheduled for demolition"
Mike

My Skins at DeviantArt

poiru
Developer
Posts: 2877
Joined: April 17th, 2009, 12:18 pm

Re: Improved font rendering

poiru » April 14th, 2013, 3:08 pm

moshi wrote:you are probably aware of it, ScaleMargins do not work:
I've fixed this for the beta release later today. Thanks for reporting.
User avatar
jsmorley
Developer
Posts: 19268
Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA

Re: Improved font rendering

jsmorley » April 14th, 2013, 3:28 pm

April 14, 2013
Rainmeter 3.0 r1900

Changes in this release include:

- The ability to load fonts in D2D with the "LocalFont" option or (preferably) the @Resources\Fonts automatic loading has been implemented.

- Major improvements to the handling of font recognition and family/subfamily attributes on both installed and "local" fonts.

- Fix for ScaleMargins and other image handling issues.

The major outstanding "issue" with the D2D implementation is some remaining inconsistencies between GDI+ and D2D relating to "relative positioning" of string meters with some fonts.
User avatar
moshi
Posts: 1851
Joined: November 13th, 2012, 9:53 pm

Re: Improved font rendering

moshi » April 14th, 2013, 7:25 pm

it appears to me it is not relative positioning, but rather font size.

in this shot you see the same skin, left is D2D, right is GDI+.
Untitled-2.jpg
it's pretty obvious at the http://www.paris.fr line.

Code: Select all

FontSize=7
FontFace=Source Sans Pro
StringStyle=NORMAL
Antialias=1
and see the line-break!

maybe one uses pixels and the other one points as measurements?
You do not have the required permissions to view the files attached to this post.
User avatar
moshi
Posts: 1851
Joined: November 13th, 2012, 9:53 pm

Re: Improved font rendering

moshi » April 14th, 2013, 7:34 pm

unrelated: the InputText plugin still uses a different font rendering than Rainmeter in general.
i think it uses the Windows standard font rendering, it never was GDI+ anyways.

in this shot you see D2D only. Windows 7.
Untitled-1.jpg
in the upper part you see a string meter that displays the input.
in the lower part you see how it looks while typing.

Code: Select all

FontFace=Source Sans Pro
FontSize=8
StringStyle=NORMAL
AntiAlias=1
difference in size is obvious.
You do not have the required permissions to view the files attached to this post.