X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f X-Recipient: geda-user AT delorie DOT com X-Injected-Via-Gmane: http://gmane.org/ To: geda-user AT delorie DOT com From: Rupert Swarbrick Subject: Re: [geda-user] Chinese glyph rendering in pcb as symbols Date: Tue, 09 Sep 2014 08:50:48 +0100 Lines: 64 Message-ID: References: <201409051618 DOT s85GIdb8024685 AT envy DOT delorie DOT com> <5409F1C2 DOT 3090406 AT xs4all DOT nl> <201409051752 DOT s85Hqnr2027362 AT envy DOT delorie DOT com> <540A02F4 DOT 2050900 AT xs4all DOT nl> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" X-Complaints-To: usenet AT ger DOT gmane DOT org X-Gmane-NNTP-Posting-Host: host-92-16-150-139.as13285.net User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) Reply-To: geda-user AT delorie DOT com --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Bert Timmerman writes: > DJ Delorie wrote: >>> If the current version of pcb is only capable of addressing 255 >>> characters than that is the first hurdle to take. >>>=20=20=20=20=20=20 >> The 255 is not official, either. Officially we support 127 >> characters, plain ASCII, because our file format is plain ASCII. >> >>=20=20=20=20 >>> Being able to address 2^16 characters (65k) may be enough ? >>>=20=20=20=20=20=20 >> UTF-8 is the way to go. It's backwards-compatible with ASCII. IMHO, >> at this point it's foolish to contemplate anything else. >> >>=20=20=20=20 >>> One thing I can foresee is that pcb files with Chinese fonts will >>> become larger. >>>=20=20=20=20=20=20 >> We'd need a way to refer to an external font somehow, but then we have >> the problem of PCB files no longer being idempotent. >> >> Embedding large fonts might only be practical if we switch to a binary >> format that can embed the compressed font as-is, but we'd need a way >> to convert to-from text format, or use a container like zip, to work >> with existing tools that want a plain text file. >> >>=20=20=20=20 > Hmm, > > IMHO, it's better to embed the font in the pcb file and avoid the > "symversion" pitfall as in gschem et al. Alternatively, allow the name of the font to be a path. Then if I just want to use a system font, I give the name of the font. If I want to bundle the font along with my PCB project (and geda schematic and everything else I've been working on), I can specify it as something like ./my-font.ttf No binary blobs in the PCB file, sensible version control and no significant change to the file format. Rupert --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iJwEAQECAAYFAlQOsVgACgkQRtd/pJbYVoatmwQAtAoIw2nar7Tt2IDf6UMvJta5 ARNdVekhxs/T20hRjD20Lgq9EQRSaHTHd2GXTdwBFKliY9ArGuQWHSJSJVDWbzbw 2w9a4Rq5HwVSR+sZhtP2TaIqL8QMBQcld94QPmEruC9C5ZY6uFDCzzwol2Kr76yk vaMGo2g04srTFEnb8OI= =WWQu -----END PGP SIGNATURE----- --=-=-=--