[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #58274] print.m: -svgconvert doesn't handle sw
From: |
Pantxo Diribarne |
Subject: |
[Octave-bug-tracker] [bug #58274] print.m: -svgconvert doesn't handle switching font angle in a single string |
Date: |
Wed, 29 Apr 2020 15:55:39 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:75.0) Gecko/20100101 Firefox/75.0 |
URL:
<https://savannah.gnu.org/bugs/?58274>
Summary: print.m: -svgconvert doesn't handle switching font
angle in a single string
Project: GNU Octave
Submitted by: pantxo
Submitted on: mer. 29 avril 2020 19:55:37 UTC
Category: Plotting with OpenGL
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: Inaccurate Result
Status: Confirmed
Assigned to: None
Originator Name:
Originator Email:
Open/Closed: Open
Release: 6.0.90
Discussion Lock: Any
Operating System: Any
_______________________________________________________
Details:
I often change font characteristics in the middle of a string to get better
looking labels, e.g:
f = 1:10;
plot (f, 2*pi*f);
ylabel ("{\\it{\\omega}} {\\fontsize{15}[}rad s^{-1}{\\fontsize{15}]}")
xlabel ("{\\it{f}} [Hz]")
title ("{\\fontname{FreeSerif} Serif - } {\\fontname{*}Sans Serif}")
print /tmp/toto.svg
print -dpdfcrop -svgconvert /tmp/toto.pdf
open /tmp/toto.svg
open /tmp/toto.pdf
The svg is OK but the resulting pdf file is wrong: the x/ylabel are rendered
entirely italic while units should be normal. All other switches (fontsize,
fontname) seem to be OK.
I think I can provide a patch soon.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?58274>
_______________________________________________
Message posté via Savannah
https://savannah.gnu.org/
- [Octave-bug-tracker] [bug #58274] print.m: -svgconvert doesn't handle switching font angle in a single string,
Pantxo Diribarne <=