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+.
It is currently December 7th, 2023, 7:56 am
Improved font rendering with Direct2D
-
- Developer
- Posts: 22593
- Joined: April 19th, 2009, 11:02 pm
- Location: Fort Hunt, Virginia, USA
-
- Posts: 1740
- Joined: November 13th, 2012, 9:53 pm
Re: Improved font rendering
seems like fonts work now. 
you are probably aware of it, ScaleMargins do not work:

you are probably aware of it, ScaleMargins do not work:
You do not have the required permissions to view the files attached to this post.
-
- Developer
- Posts: 2872
- Joined: April 17th, 2009, 12:18 pm
Re: Improved font rendering
Yes, it should be a better now. There are still some issues left, but hopefully it will be fully sorted out next week.moshi wrote:seems like fonts work now.
-
- Posts: 1175
- Joined: June 9th, 2010, 5:56 pm
- Location: Locks heath, UK
Re: Improved font rendering
Is there an ETA on a fix for fonts in @Resources\Fonts do not work as of this beta. please?
-
- Developer
- Posts: 2655
- Joined: November 24th, 2011, 1:42 am
- Location: Utah
Re: Improved font rendering
How about Sunday? Noon (EST)? Does that sound good? 
-Brian

-Brian
-
- Posts: 1175
- Joined: June 9th, 2010, 5:56 pm
- Location: Locks heath, UK
Re: Improved font rendering
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 

-
- Developer
- Posts: 2872
- Joined: April 17th, 2009, 12:18 pm
Re: Improved font rendering
I've fixed this for the beta release later today. Thanks for reporting.moshi wrote:you are probably aware of it, ScaleMargins do not work:
-
- Developer
- Posts: 22593
- Joined: April 19th, 2009, 11:02 pm
- Location: Fort Hunt, Virginia, USA
Re: Improved font rendering
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.
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.
-
- Posts: 1740
- Joined: November 13th, 2012, 9:53 pm
Re: Improved font rendering
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+.
it's pretty obvious at the http://www.paris.fr line.
and see the line-break!
maybe one uses pixels and the other one points as measurements?
in this shot you see the same skin, left is D2D, right is GDI+.
it's pretty obvious at the http://www.paris.fr line.
Code: Select all
FontSize=7
FontFace=Source Sans Pro
StringStyle=NORMAL
Antialias=1
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.
-
- Posts: 1740
- Joined: November 13th, 2012, 9:53 pm
Re: Improved font rendering
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.
in the upper part you see a string meter that displays the input.
in the lower part you see how it looks while typing.
difference in size is obvious.
i think it uses the Windows standard font rendering, it never was GDI+ anyways.
in this shot you see D2D only. Windows 7.
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
You do not have the required permissions to view the files attached to this post.