<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">Is there a possibility to make fonts
with layers where the white is on an upper layer (like an opacity
mask)?<br>
<br>
Bill<br>
<br>
<br>
On 10/24/2012 11:10 AM, Eduardo Trápani wrote:<br>
</div>
<blockquote cite="mid:508804D9.7030003@gmail.com" type="cite">
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
<br>
<blockquote cite="mid:505CAE65.8020603@signpuddle.net" type="cite">
<blockquote type="cite">The only problem: fontforge gets the svg
<br>
fillings wrong. I've been trying to fix that, I will report
if I succeed. <br>
</blockquote>
<br>
Good luck. Can you explain how it is getting the fillings
wrong? <br>
</blockquote>
<br>
Yes, take for example S23001. Instead of <img
src="cid:part1.07080203.00010108@tampabay.rr.com" alt=""> I get
this <img src="cid:part2.09050109.08060409@tampabay.rr.com"
alt=""> inside the font. I checked the svg and there actually
is a filling there. Inkscape shows it alright (white), but the
filesystem preview shows a grey area and fontforge, as you can
see, shows a black filling.<br>
<br>
If I edit the svg file and get rid of the white fillings (see diff
at the bottom[1]) then it works more or less as expected, for some
reason the shape is a bit distorted, but still readable: <img
src="cid:part3.01050901.06060506@tampabay.rr.com" alt="">. Is
there a reason for those white fillings? I mean, would it be ok
to remove them all?<br>
<br>
Eduardo.<br>
<br>
[1] The unified diff for the working S23001 (I just removed two
lines):<br>
--- s23001.svg.orig 2011-09-19 12:00:39.000000000 -0300<br>
+++ s23001.svg 2012-10-24 13:00:58.000000000 -0200<br>
@@ -12,11 +12,9 @@<br>
<path id="path2818" d="m 7.5,0 -7,7 14,0 -7,-7 z"
fill="#000000" /><br>
<path id="path2831" d="M 4,7 6,7 6,14 4,14 4,7 z"
fill="#000000" /><br>
<path id="path2833" d="m 9,7 2,0 0,7 -2,0 0,-7 z"
fill="#000000" /><br>
- <path id="rect2821" d="M 6,7 6,14 9,14 9,7 6,7 z"
fill="#ffffff" /><br>
<path id="path2897" d="m 19.5,0 -7,7 14,0 -7,-7 z"
fill="#000000" /><br>
<path id="path2899" d="m 16,7 2,0 0,7 -2,0 0,-7 z"
fill="#000000" /><br>
<path id="path2901" d="m 21,7 2,0 0,7 -2,0 0,-7 z"
fill="#000000" /><br>
- <path id="path2903" d="m 18,7 0,7 3,0 0,-7 -3,0 z"
fill="#ffffff" /><br>
<path id="rect2926" d="M 0 16 L 0 18 L 27 18 L 27 16 L 0 16
z " fill="#000000" /><br>
</g><br>
</svg><br>
<br>
</blockquote>
<br>
</body>
</html>