[logon] [incr tsdb()] GUI updates

Francis Bond fcbond at gmail.com
Sat Apr 18 14:48:06 CEST 2009


G'day,

Closer and closer.

2009/4/18 Stephan Oepen <oe at ifi.uio.no>:
>> Korean still doesn't work but seems closer.  Instead of nothing at
>> all, I get red boxes for the characters.
>> I tried with the following in my .swishrc (following advice on the web
>> for displaying Korean).
>> set font {"Baekmuk Dotum" 13 bold}
>
> have you tried without any custom settings?  without doing anything in
> my `.podiumrc' (and with no `.swishrc'), i imported both a thai and a
> korean file (both encoded in UTF-8) via `File | Import | Test Items'.
> i then did `File | Reread' (owed to a post-import snag), followed by
> `Browse | Test Items'.  the results seems okay to me; see attachment?

Your attachment looks good (for Korean anyway, it looks as though Thai
isn't composing the characters properly, although I suspect this is
enough to be readable).  I imported a new Korean file, just in case
there was something wrong with the old one.  It had the same problem.
Maybe we have different fonts available?  I am testing on Ubuntu
8.04.2 now.  I will try 8.10 at work.

>> I suspect the font used for displaying text (e.g. in browse items) is
>> hard-wired somewhere, but wasn't able to quickly work it out.
>> If someone tells me where it is defined, I will change it by hand and
>> retest.  Do I then need to recompile, or is that bit interpreted?
>
> font settings are in `podium.tcl', which is read when the [incr tsdb()]
> podium window is created, i.e. for testing it should suffice to run
>
>  (tsdb :podium)
>
> after making changes to that file.  but, ideally, i think there should
> be no need for local customization.  Tk is supposed to do all the font
> selection (a lot like Pango i think).

That would be best of course.  I'll  see if Sanghoun and I can get
some joy on Monday.

-- 
Francis Bond <http://www2.nict.go.jp/x/x161/en/member/bond/>
NICT Language Infrastructure Group




More information about the logon mailing list