[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: gEDA-user: PCB: simple FreeType fonts implementation -- update?

On Fri, May 13, 2011 at 09:34:21AM -0700, Colin D Bennett wrote:
> That should be quite simple and painless, right?  Fully
> backward-compatible.

Well, we would need to convert every char* string to
a wchar_t* one; all string functions would need a w
added to them somewhere and string constants would
need to be prefixed with an L.

Code that uses glib strings, I do not know what needs
to be done.

So, far from simple and painless.

Then we would use setlocale() appropriately to use UTF-8
as our default encoding. This would certainly be backward-
compatible in North America, but since our current code
does not specify any encoding (aside from assuming ASCII
in our 7-bit chars), I do not know its effect for other
boards/schematics/scripts/settings in other languages.

Andrew Poelstra
Email: asp11 at sfu.ca OR apoelstra at wpsoftware.net
Web:   http://www.wpsoftware.net/andrew/

geda-user mailing list