Hey Jules,
I’ve just pulled the latest tip code (as I do daily now) and I get a small handful of errors and a noticeable bug…
- The errors are related to the juce_win32_directwritetypelayout.cpp file (lines 87 and 88):
glyphLine.ascent = jmax (glyphLine->ascent, scaledFontSize (dwFontMetrics.ascent, dwFontMetrics, glyphRun));
glyphLine.descent = jmax (glyphLine->descent, scaledFontSize (dwFontMetrics.descent, dwFontMetrics, glyphRun));
should be:
glyphLine.ascent = jmax (glyphLine.ascent, scaledFontSize (dwFontMetrics.ascent, dwFontMetrics, glyphRun));
glyphLine.descent = jmax (glyphLine.descent, scaledFontSize (dwFontMetrics.descent, dwFontMetrics, glyphRun));
The variable glyphLine is not a pointer anymore, from the looks of it.
- There is something wrong now with using a char type in a juce::String like this:
char someChar = ';';
juce::String test = juce::String(someChar);
The juce::String named test will now contain the equivalent char number, instead of the actual semi-colon character I have in the example. (ie: test now has the string “59” - http://www.asciitable.com/)