www.delorie.com/archives/browse.cgi   search  
Mail Archives: geda-user/2014/09/05/13:53:08

X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f
Date: Fri, 5 Sep 2014 13:52:49 -0400
Message-Id: <201409051752.s85Hqnr2027362@envy.delorie.com>
From: DJ Delorie <dj AT delorie DOT com>
To: geda-user AT delorie DOT com
In-reply-to: <5409F1C2.3090406@xs4all.nl> (message from Bert Timmerman on Fri,
05 Sep 2014 19:24:18 +0200)
Subject: Re: [geda-user] Chinese glyph rendering in pcb as symbols
References: <CAHUm0tMk1cQm_DPVt_swzTGDA+FRL-37fUougH_3hNaqwR_LOQ AT mail DOT gmail DOT com> <201409051618 DOT s85GIdb8024685 AT envy DOT delorie DOT com> <5409F1C2 DOT 3090406 AT xs4all DOT nl>
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

> If the current version of pcb is only capable of addressing 255 
> characters than that is the first hurdle to take.

The 255 is not official, either.  Officially we support 127
characters, plain ASCII, because our file format is plain ASCII.

> Being able to address 2^16 characters (65k) may be enough ?

UTF-8 is the way to go.  It's backwards-compatible with ASCII.  IMHO,
at this point it's foolish to contemplate anything else.

> One thing I can foresee is that pcb files with Chinese fonts will
> become larger.

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.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019