Set the correct scale for vector font.
This was adjusted so that the height of "A" when exported to a vector file would be 10mm in a style configured for 10mm font height.pull/4/head
parent
5c15cbf5f6
commit
923374b305
|
@ -36,7 +36,7 @@ static const VectorGlyph &GetVectorGlyph(char32_t chr) {
|
|||
return GetVectorGlyph(0xfffd); // replacement character
|
||||
}
|
||||
|
||||
#define FONT_SCALE(h) ((h)/75.0)
|
||||
#define FONT_SCALE(h) ((h)/87.0)
|
||||
double ssglStrWidth(const std::string &str, double h)
|
||||
{
|
||||
int width = 0;
|
||||
|
|
Loading…
Reference in New Issue