Skip to content

Commit efbafb4

Browse files
committed
Update readme with build info and update screenshot
1 parent 2d1ec5e commit efbafb4

2 files changed

Lines changed: 8 additions & 7 deletions

File tree

README.md

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,14 @@
11
# TextLayoutSampler
2-
Utility to display text via multiple Windows API's simultaneously to compare differences in rendering, font selection, and shaping.
2+
Utility to display text drawn via multiple Windows API's simultaneously, to compare differences in rendering, font selection, and glyph shaping.
33

44
Supports:
5-
- Arbitrary number of text objects with different text, font, direction, language, and rendering settings.
6-
- DirectWrite, Direct2D, GDI, GDI+
7-
- Requires Windows 7+. Certain features like Direct2D SVG rendering requires Windows 10 RS4.
5+
- DirectWrite, Direct2D, GDI, GDI+ API's
6+
- Various attributes: weight, width, slope, family, direction, locale, font size, text color, back color, rotation, pixel zoom...
7+
- Arbitrary number of text objects with different attributes.
8+
- Requires Windows 7+. Certain features like Direct2D SVG rendering requires Windows 10 RS4+.
89

9-
C++, compiled with Visual Studio Professional 2019 16.9.3 (Community Edition should work too). VS 2017 is too old, as it lacks template constraints.
10-
Note the project now uses C++ modules.
11-
To use normal header files, USE_CPP_MODULES=0 in the project properties preprocessor definitions, because modules tend to crash the compiler.
10+
Building:
11+
- Open TextLayoutSampler.sln in Visual Studio Professional/Community 2019 16.9.3. VS 2017 is too old, as it lacks template constraints.
12+
- If C++ modules crash the compiler, use normal header files via USE_CPP_MODULES=0 in the project properties preprocessor definitions.
1213

1314
![Image of TextLayoutSampler](TextLayoutSampler.png)

TextLayoutSampler.png

26.7 KB
Loading

0 commit comments

Comments
 (0)