jwdj / EasyABC

EasyABC
GNU General Public License v2.0
90 stars 36 forks source link

fonts not displayed correctly on macOS #21

Open hkiel opened 4 years ago

hkiel commented 4 years ago

See the example with super-huge title and advanced coda sign:

%%titlefont Times-Bold 100
%%beginps
/codac{ 1 SLW 2 add 2 copy M 0 20 RL
        2 copy M -10 10 RM 20 0 RL 1.1 SLW stroke
        exch -7 add exch (O) 3 1 roll /Times-Bold 18 selectfont 4 add M show
}!
%%endps
%%deco codac 3 codac 20 10 10
X:1
T:New Coda Symbol
K:C
Z !codac! | Z !coda! |

The svg is now bigger and reserves space for the bigger title, but is still displayed with small letters (and not even bold). Windows version works (though the pixels still differ if you create the SVG and view it with a dedicated SVG viewer)