[M3devel] Fw: UTF-16: Greek alphabet with CM3

Olaf Wagner wagner at elegosoft.com
Thu Nov 28 07:47:55 CET 2013


I know that there have been controverse discussions about the right
way to do unicode support.

Is there any way to help Elmar Stellnberger with a quick solution?

Olaf

Begin forwarded message:

Date: Wed, 27 Nov 2013 20:13:54 +0100
From: Elmar Stellnberger <estellnb at elstel.org>
To: m3-support at elego.de
Subject: UTF-16: Greek alphabet with CM3


Dear Supporters of CM3, Elegosoft

   Wanting to make use of CM3s new UTF-16 feature I have tried to use 
greek letters by VAL(945+code,WIDECHAR) where 945 is alpha and 946 is 
beta in the unicode table. However I soon had to notice that outputing 
widechars is not supported by Trestle which still seems to be based on 
X11R4. Some analysis of the problem has shown that TextVBT calls 
VBT.PaintText which does however use the CHAR type internally rather 
than Widechar calling PaintSub to output text instead of the X11R6 
function XDrawString16. Is it true that you plan real unicode support 
for CM3 or is there any way to hack the trestle toolkit into allowing 
X11R6 functions? If yes or no how could I convert current X11R6 includes 
for being used with Modula-3? Nonetheless I would really welcome true 
native utf-16 support (as nowadays given by the iso10646-1 X core fonts 
like also 'fixed') because that would be the only way to make use of 
utf-16 for Windows ports. Otherwise I will have to consider whether I 
can use Modula-3 at all for my current project which is about converting 
the automaton simulator www.elstel.org/coan from Object Pascal into a 
currently supported language and publishing it as open source.
Thanks a lot for your effort!

Yours,
Elmar Stellnberger
-- 
Olaf Wagner -- elego Software Solutions GmbH -- http://www.elegosoft.com
               Gustav-Meyer-Allee 25 / Gebäude 12, 13355 Berlin, Germany
phone: +49 30 23 45 86 96  mobile: +49 177 2345 869  fax: +49 30 23 45 86 95
Geschäftsführer: Michael Diers, Olaf Wagner | Sitz: Berlin
Handelregister: Amtsgericht Charlottenburg HRB 77719 | USt-IdNr: DE163214194



More information about the M3devel mailing list