| delorie.com/archives/browse.cgi | search |
| X-Authentication-Warning: | delorie.com: mail set sender to geda-user-bounces using -f |
| X-Recipient: | geda-user AT delorie DOT com |
| DKIM-Signature: | v=1; a=rsa-sha256; c=relaxed/relaxed; |
| d=gmail.com; s=20120113; | |
| h=mime-version:in-reply-to:references:date:message-id:subject:from:to | |
| :content-type; | |
| bh=DWMTfeWWSv7Yvd00ihkqBMACWDbr+9bvCeMZy/5n310=; | |
| b=AIINwsCoXwqm1cSA7DwG0u2/du5UqFph9b5vNNCT7ax/fzNaZ7Z57pMnFhMasV+wGS | |
| 1xGSIPqDeT0mVaoNxbz6ceXT1d7V7T91BA2YWDAyshcYuHO+ngX4DeJ79yMMNbjKfHza | |
| g8be/7tkLuYRDE3Rsx9oy0em/+7fshjmEScZ94m4elQzL8beCFeQqeBO0nFhEV8JAmiS | |
| VkGonZ2NKCZ3oYqZBsJ8yYgvfx3YOs8D4beCWd5yia9o1GPqsFKhn2zMKIxWJLft0CAW | |
| bBijNET5Szi1gBCXxo/2qpM/gkb3JSRNU+YuhvL7XTpsGEb1huWFXqATofteH6G4a2TK | |
| pM1Q== | |
| MIME-Version: | 1.0 |
| X-Received: | by 10.50.66.234 with SMTP id i10mr10850845igt.34.1411342680371; |
| Sun, 21 Sep 2014 16:38:00 -0700 (PDT) | |
| In-Reply-To: | <20140921211901.14093.qmail@stuge.se> |
| References: | <CAHUm0tOTThAktrCR0vqGzhtB2fLNxP08UH+q6usk_8D+uRpoag AT mail DOT gmail DOT com> |
| <20140921211901 DOT 14093 DOT qmail AT stuge DOT se> | |
| Date: | Mon, 22 Sep 2014 09:08:00 +0930 |
| Message-ID: | <CAHUm0tNVqw2D5Ddofb-BoSxekroqNiNwhfBaZY2HmV7A+Z_6Bg@mail.gmail.com> |
| Subject: | Re: [geda-user] 16x16 bdf bitmap -> PCB symbol tool |
| From: | Erich Heinzle <a1039181 AT gmail DOT com> |
| To: | geda-user <geda-user AT delorie DOT com> |
| Reply-To: | geda-user AT delorie DOT com |
| Errors-To: | nobody AT delorie DOT com |
| X-Mailing-List: | geda-user AT delorie DOT com |
| X-Unsubscribes-To: | listserv AT delorie DOT com |
--047d7bdc1a6c1eb68605039bd3ab
Content-Type: text/plain; charset=UTF-8
http://gerblook.org/pcb/Wsyir35rMFisgENKgKhwDK
these are the 27 most complicated CJK glyphs amongst the full 16x16 CJK
glyph set I could find, exported in the gerber shown above.
Here's a representative symbol from the one's depicted, as produced by the
utility:
#gEDA PCB compatible symbol with drawn elements depicting uni6570
Symbol['uni6570' 1200]
(
#the horizontal elements
SymbolLine[1000 4200 6600 4200 800]
SymbolLine[8200 4200 12200 4200 800]
SymbolLine[4200 5000 5000 5000 800]
SymbolLine[7400 5000 8200 5000 800]
SymbolLine[1800 8200 6600 8200 800]
SymbolLine[3400 10600 5800 10600 800]
SymbolLine[10600 10600 11400 10600 800]
SymbolLine[11400 11400 12200 11400 800]
SymbolLine[1800 12200 3400 12200 800]
SymbolLine[12200 12200 13000 12200 800]
#the vertical elements
SymbolLine[2600 1800 2600 2600 800]
SymbolLine[2600 4200 2600 5000 800]
SymbolLine[3400 8200 3400 9000 800]
SymbolLine[4200 1000 4200 5800 800]
SymbolLine[4200 7400 4200 8200 800]
SymbolLine[4200 10600 4200 11400 800]
SymbolLine[5000 4200 5000 5000 800]
SymbolLine[5000 9800 5000 10600 800]
SymbolLine[5800 8200 5800 9000 800]
SymbolLine[6600 1000 6600 1800 800]
SymbolLine[8200 1000 8200 8200 800]
SymbolLine[10600 4200 10600 9000 800]
SymbolLine[11400 3400 11400 4200 800]
SymbolLine[11400 10600 11400 11400 800]
SymbolLine[12200 11400 12200 12200 800]
#diagonal elements, strokes going downwards and leftwards
SymbolLine[2600 5000 1000 6600 800]
SymbolLine[6600 1800 5800 2600 800]
SymbolLine[5000 5000 4200 5800 800]
SymbolLine[3400 9000 2600 9800 800]
SymbolLine[6600 8200 5000 9800 800]
SymbolLine[4200 11400 3400 12200 800]
SymbolLine[10600 9000 7400 12200 800]
#diagonal elements, strokes going downwards and rightwards
SymbolLine[2600 9800 4200 11400 800]
SymbolLine[5000 9800 7400 12200 800]
SymbolLine[4200 4200 6600 6600 800]
SymbolLine[8200 8200 12200 12200 800]
SymbolLine[1800 1000 2600 1800 800]
SymbolLine[11400 10600 13000 12200 800]
SymbolLine[6600 4200 7400 5000 800]
SymbolLine[11400 3400 12200 4200 800]
) #end symbol 'uni6570'
The comments get stripped by pcb when the symbol is first used.
Cheers,
Erich
On Mon, Sep 22, 2014 at 6:49 AM, Peter Stuge <peter AT stuge DOT se> wrote:
> Erich Heinzle wrote:
> > http://users.on.net/~esh/geda/pcb/src/fonts/pcbGlyphTool-v1.0.c
> >
> > This more polished version of the code fixes a boundary condition
> affecting
> > 2 or 3 glyphs in the Firefly CJK 16x16 font set with pixels along edges.
>
> Do you have a screenshot?
>
>
> > I make no claims as to the code's elegance or fitness for purpose...
>
> And even if prettier fonts are where we want to go, it's perhaps
> useful for someone to have less pretty versions of the characters
> meanwhile.
>
>
> //Peter
>
--047d7bdc1a6c1eb68605039bd3ab
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
<div dir=3D"ltr"><div><div><a href=3D"http://gerblook.org/pcb/Wsyir35rMFisg=
ENKgKhwDK">http://gerblook.org/pcb/Wsyir35rMFisgENKgKhwDK</a><br><br></div>=
these are the 27 most complicated CJK glyphs amongst the full 16x16 CJK gly=
ph set I could find, exported in the gerber shown above.<br><br></div><div>=
Here's a representative symbol from the one's depicted, as produced=
by the utility:<br><br>#gEDA PCB compatible symbol with drawn elements dep=
icting uni6570<br>Symbol['uni6570' 1200]<br>(<br>#the horizontal el=
ements<br>=C2=A0=C2=A0=C2=A0 SymbolLine[1000 4200 6600 4200 800]<br>=C2=A0=
=C2=A0=C2=A0 SymbolLine[8200 4200 12200 4200 800]<br>=C2=A0=C2=A0=C2=A0 Sym=
bolLine[4200 5000 5000 5000 800]<br>=C2=A0=C2=A0=C2=A0 SymbolLine[7400 5000=
8200 5000 800]<br>=C2=A0=C2=A0=C2=A0 SymbolLine[1800 8200 6600 8200 800]<b=
r>=C2=A0=C2=A0=C2=A0 SymbolLine[3400 10600 5800 10600 800]<br>=C2=A0=C2=A0=
=C2=A0 SymbolLine[10600 10600 11400 10600 800]<br>=C2=A0=C2=A0=C2=A0 Symbol=
Line[11400 11400 12200 11400 800]<br>=C2=A0=C2=A0=C2=A0 SymbolLine[1800 122=
00 3400 12200 800]<br>=C2=A0=C2=A0=C2=A0 SymbolLine[12200 12200 13000 12200=
800]<br>#the vertical elements<br>=C2=A0=C2=A0=C2=A0 SymbolLine[2600 1800 =
2600 2600 800]<br>=C2=A0=C2=A0=C2=A0 SymbolLine[2600 4200 2600 5000 800]<br=
>=C2=A0=C2=A0=C2=A0 SymbolLine[3400 8200 3400 9000 800]<br>=C2=A0=C2=A0=C2=
=A0 SymbolLine[4200 1000 4200 5800 800]<br>=C2=A0=C2=A0=C2=A0 SymbolLine[42=
00 7400 4200 8200 800]<br>=C2=A0=C2=A0=C2=A0 SymbolLine[4200 10600 4200 114=
00 800]<br>=C2=A0=C2=A0=C2=A0 SymbolLine[5000 4200 5000 5000 800]<br>=C2=A0=
=C2=A0=C2=A0 SymbolLine[5000 9800 5000 10600 800]<br>=C2=A0=C2=A0=C2=A0 Sym=
bolLine[5800 8200 5800 9000 800]<br>=C2=A0=C2=A0=C2=A0 SymbolLine[6600 1000=
6600 1800 800]<br>=C2=A0=C2=A0=C2=A0 SymbolLine[8200 1000 8200 8200 800]<b=
r>=C2=A0=C2=A0=C2=A0 SymbolLine[10600 4200 10600 9000 800]<br>=C2=A0=C2=A0=
=C2=A0 SymbolLine[11400 3400 11400 4200 800]<br>=C2=A0=C2=A0=C2=A0 SymbolLi=
ne[11400 10600 11400 11400 800]<br>=C2=A0=C2=A0=C2=A0 SymbolLine[12200 1140=
0 12200 12200 800]<br>#diagonal elements, strokes going downwards and leftw=
ards<br>=C2=A0=C2=A0=C2=A0 SymbolLine[2600 5000 1000 6600 800]<br>=C2=A0=C2=
=A0=C2=A0 SymbolLine[6600 1800 5800 2600 800]<br>=C2=A0=C2=A0=C2=A0 SymbolL=
ine[5000 5000 4200 5800 800]<br>=C2=A0=C2=A0=C2=A0 SymbolLine[3400 9000 260=
0 9800 800]<br>=C2=A0=C2=A0=C2=A0 SymbolLine[6600 8200 5000 9800 800]<br>=
=C2=A0=C2=A0=C2=A0 SymbolLine[4200 11400 3400 12200 800]<br>=C2=A0=C2=A0=C2=
=A0 SymbolLine[10600 9000 7400 12200 800]<br>#diagonal elements, strokes go=
ing downwards and rightwards<br>=C2=A0=C2=A0=C2=A0 SymbolLine[2600 9800 420=
0 11400 800]<br>=C2=A0=C2=A0=C2=A0 SymbolLine[5000 9800 7400 12200 800]<br>=
=C2=A0=C2=A0=C2=A0 SymbolLine[4200 4200 6600 6600 800]<br>=C2=A0=C2=A0=C2=
=A0 SymbolLine[8200 8200 12200 12200 800]<br>=C2=A0=C2=A0=C2=A0 SymbolLine[=
1800 1000 2600 1800 800]<br>=C2=A0=C2=A0=C2=A0 SymbolLine[11400 10600 13000=
12200 800]<br>=C2=A0=C2=A0=C2=A0 SymbolLine[6600 4200 7400 5000 800]<br>=
=C2=A0=C2=A0=C2=A0 SymbolLine[11400 3400 12200 4200 800]<br>)=C2=A0=C2=A0 #=
end symbol 'uni6570'<br><br></div><div><br><br></div><div>The comme=
nts get stripped by pcb=C2=A0 when the symbol is first used.<br><br><br></d=
iv><div>Cheers,<br><br></div><div>Erich<br></div></div><div class=3D"gmail_=
extra"><br><div class=3D"gmail_quote">On Mon, Sep 22, 2014 at 6:49 AM, Pete=
r Stuge <span dir=3D"ltr"><<a href=3D"mailto:peter AT stuge DOT se" target=3D"_=
blank">peter AT stuge DOT se</a>></span> wrote:<br><blockquote class=3D"gmail_q=
uote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1e=
x"><span class=3D"">Erich Heinzle wrote:<br>
> <a href=3D"http://users.on.net/~esh/geda/pcb/src/fonts/pcbGlyphTool-v1=
.0.c" target=3D"_blank">http://users.on.net/~esh/geda/pcb/src/fonts/pcbGlyp=
hTool-v1.0.c</a><br>
><br>
> This more polished version of the code fixes a boundary condition affe=
cting<br>
> 2 or 3 glyphs in the Firefly CJK 16x16 font set with pixels along edge=
s.<br>
<br>
</span>Do you have a screenshot?<br>
<span class=3D""><br>
<br>
> I make no claims as to the code's elegance or fitness for purpose.=
..<br>
<br>
</span>And even if prettier fonts are where we want to go, it's perhaps=
<br>
useful for someone to have less pretty versions of the characters<br>
meanwhile.<br>
<span class=3D"HOEnZb"><font color=3D"#888888"><br>
<br>
//Peter<br>
</font></span></blockquote></div><br></div>
--047d7bdc1a6c1eb68605039bd3ab--
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |