apply cairo_font_scale to svg and ps/pdf exports
This commit is contained in:
parent
85d7e565a3
commit
3186270548
|
|
@ -674,7 +674,7 @@ static void ps_draw_string(int layer, const char *str, short rot, short flip, in
|
|||
double longest_line;
|
||||
|
||||
if(str==NULL) return;
|
||||
size = xscale*53.;
|
||||
size = xscale*53. * cairo_font_scale;
|
||||
height = size*xctx->mooz * 1.147; /* was 1.147 */
|
||||
ascent = size*xctx->mooz * 0.808; /* was 0.908 */
|
||||
descent = size*xctx->mooz * 0.219; /* was 0.219 */
|
||||
|
|
|
|||
|
|
@ -325,7 +325,7 @@ static void svg_draw_string(int layer, const char *str, short rot, short flip, i
|
|||
double longest_line;
|
||||
|
||||
if(str==NULL) return;
|
||||
size = xscale*52.;
|
||||
size = xscale*52. * cairo_font_scale;
|
||||
height = size*xctx->mooz * 1.147;
|
||||
ascent = size*xctx->mooz * 0.908;
|
||||
descent = size*xctx->mooz * 0.219;
|
||||
|
|
|
|||
Loading…
Reference in New Issue