rainmeter-studio/Common/Gfx
Birunthan Mohanathas 6e04fd983f Gfx: Make AccurateText=0 more consistent with GDI+ for D2D
The height is now based on a formula that should be exactly equal to that provided by GDI+. The padding should now be equal on the left and right sides now. There may be some discrepancies in overall width, but it should always be reasonably to close to GDI+.

In addition, this makes D2D behavior match GDI+ when a newline character is the last character of the text.
2013-08-10 13:54:53 +03:00
..
Util Gfx: Make AccurateText=0 more consistent with GDI+ for D2D 2013-08-10 13:54:53 +03:00
Canvas.cpp Gfx: Implement GDI+ fallback 2013-07-30 22:57:46 +03:00
Canvas.h Gfx: Added comment 2013-07-31 12:55:32 +03:00
CanvasD2D.cpp Gfx: Make AccurateText=0 more consistent with GDI+ for D2D 2013-08-10 13:54:53 +03:00
CanvasD2D.h Gfx: Implement GDI+ fallback 2013-07-30 22:57:46 +03:00
CanvasGDIP.cpp Added "AccurateText" option [Rainmeter] section of a skin. 2013-07-25 14:53:02 -06:00
CanvasGDIP.h Gfx: Implement GDI+ fallback 2013-07-30 22:57:46 +03:00
FontCollection.cpp Gfx: Add FontCollection implementation 2013-04-09 20:35:49 +03:00
FontCollection.h Gfx: Add FontCollection implementation 2013-04-09 20:35:49 +03:00
FontCollectionD2D.cpp Gfx: Implement DWrite interfaces required for loading fonts 2013-04-12 17:05:21 +03:00
FontCollectionD2D.h Gfx: Change to use D2D 1.1 2013-07-30 22:38:51 +03:00
FontCollectionGDIP.cpp Gfx: Add FontCollection implementation 2013-04-09 20:35:49 +03:00
FontCollectionGDIP.h Gfx: Add FontCollection implementation 2013-04-09 20:35:49 +03:00
TextFormat.cpp Cosmetics: Fixes VS2012 syntax highlighting 2013-04-05 15:07:51 -06:00
TextFormat.h Gfx: Add comments 2013-04-09 20:54:40 +03:00
TextFormatD2D.cpp Gfx: Make AccurateText=0 more consistent with GDI+ for D2D 2013-08-10 13:54:53 +03:00
TextFormatD2D.h Gfx: Make AccurateText=0 more consistent with GDI+ for D2D 2013-08-10 13:54:53 +03:00
TextFormatGDIP.cpp Reverted 6e9bc98 due to bug in GDI+ and newline 2013-07-16 12:28:05 -06:00
TextFormatGDIP.h Gfx: Wrap pointers with std::unique_ptr 2013-05-01 14:38:52 +03:00