[developers] [spr30570] display of korean characters in CLIM

Ben Waldron bmw20 at cl.cam.ac.uk
Thu Oct 12 12:08:13 CEST 2006


Hi Stephan -

The current checked-in CVS gives the following error on compilation:

Error: attempt to call `CLIM-UTILS::_MALLOC' which is an undefined function.
  [condition type: UNDEFINED-FUNCTION]

This appears to be the same problem as Berthold experienced. That is, 
the file must be compiled before it is loaded. I can add the following 
patch to the CVS:

===================================================================
RCS file: /lingo/CVS/lkb/src/general/allegro-patches.lisp,v
retrieving revision 1.25
diff -r1.25 allegro-patches.lisp
44c44
<  (make-pathname :directory general-dir :name "clim"))
---
 >  (compile-file (make-pathname :directory general-dir :name "clim")))
===================================================================

However, even with this fix, compilation gives a number of warning 
messages (see below), and the fonts do not display correctly for me 
(tested with Hebrew).

;;; Compiling file /home/bmw20/lkb/src/general/clim.lisp
; While compiling
;   (:INTERNAL (METHOD (SETF TEXT-STYLE-MAPPING) (T BASIC-PORT T)) 0):
Warning: cond clause (PRINT FONTS *DEBUG-IO*) is unreachable
; While compiling (LABELS XT-CURRENT-LOCALE-FOR-ACL TRY-LOCALE):
Warning: Free reference to undeclared variable LC-ALL assumed special.  This
         symbol may have been intended: EXCL::LC-ALL.
; While compiling (:TOP-LEVEL-FORM "clim.lisp" 10572):
Warning: String arguments passed to `X-SUPPORTS-LOCALE' will be converted
         because :STRINGS-CONVERT is assumed true.  The with-native-string
         macro can be used for explicit string conversions around the 
foreign
         calls.  This warning is suppressed when :STRINGS-CONVERT is 
specified
         in the def-foreign-call.

...

Warning: Fallback font
         -unknown-freeserif-medium-r-normal--0-0-0-0-p-0-iso8859-14, for
         character set 7, matches with XListFonts,
but is not loadable by XLoadQueryFont.  Something may be wrong with the 
X font
setup.
Warning: Fallback font
         
-microsoft-webdings-medium-r-normal--0-0-0-0-p-0-fontspecific-0, for
         character set 35, matches with XListFonts,
but is not loadable by XLoadQueryFont.  Something may be wrong with the 
X font
setup.

Andreas, can you suggest a fix for these problems?

Thanks,
- Ben

Stephan Oepen wrote:
> hi andreas et al.!
>
> just a quick note: i have added the patch file into our CVS repository
> (as `lkb/src/general/clim.lisp') and rebuilt our application.  when i
> tried things hastily just now, i did not succeed.  unfortunately, i am
> too busy until the end of this week to try properly, but at least this
> is to let people know the patches should now be included by default.
>
> andreas, already many thanks for the hard work on these issues!
>
>                                                     more soon  -  oe
>
> +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
> +++ Universitetet i Oslo (IFI); Boks 1080 Blindern; 0316 Oslo; (+47) 2284 0125
> +++     CSLI Stanford; Ventura Hall; Stanford, CA 94305; (+1 650) 723 0515
> +++       --- oe at csli.stanford.edu; oe at ifi.uio.no; stephan at oepen.net ---
> +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
>   




More information about the developers mailing list