Mailing List ArchiveSupport open source code!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]tlug: Displaying BMPString on Console using printf in C.
- To: tlug@example.com
- Subject: tlug: Displaying BMPString on Console using printf in C.
- From: "Stephen J. Turnbull" <turnbull@example.com>
- Date: Tue, 21 Sep 1999 14:59:04 +0900 (JST)
- Content-Transfer-Encoding: 7bit
- Content-Type: text/plain; charset=us-ascii
- In-Reply-To: <37E70AC1.5D094F99@example.com>
- References: <37E70AC1.5D094F99@example.com>
- Reply-To: tlug@example.com
- Sender: owner-tlug@example.com
>>>>> "Sanjay" == Sanjay Agnani <s.agnani@example.com> writes: Sanjay> How can I display a BMPstring having Japanese characters Start by getting Ken Lunde's "Chinese, Japanese, Korean, and Vietnamese Information Processing." This is a lot harder than colorizing your ASCII displays. You obviously need a background text. BTW, what is a "BMPstring"? Sanjay> on Console using a C program (on RedHat Linux 5.2 Japanese Sanjay> version and on Strictly speaking, you can't. The Linux console supports neither multibyte characters nor wide characters (except Unicode, I think in UTF-8, and that doesn't handle Japanese at all, just switching code pages). You have to run a separate program, kon2, on the console. kon2 requires a separate font package, konfonts, I suspect in an idiosyncratic format. It probably has some problems; in particular, last I used it I think it was dependent on the application to handle input; it just passed keystrokes to the application. It may have security issues, since it needs to access the hardware to bypass the Linux console. I don't know what encodings kon2 can display. You may need to output in EUC-JP, or it may accept 7-bit JIS with escape sequences. SJIS and UTF-8 were not supported last time I used kon2, for sure. Sanjay> Sun-Solaris 2.6 machine) ? Can't help with that. Sanjay> Also what do I have to do to write the BMPString to a Text Sanjay> File using a C program (on RedHat Linux 5.2 Japanese Sanjay> version and on Sun-Solaris 2.6 machine) ? Depends on what the text file is, and how you plan to use it later. -- University of Tsukuba Tennodai 1-1-1 Tsukuba 305-8573 JAPAN Institute of Policy and Planning Sciences Tel/fax: +81 (298) 53-5091 __________________________________________________________________________ __________________________________________________________________________ What are those two straight lines for? "Free software rules." ------------------------------------------------------------------- Next Nomikai: September 17 (Fri), 19:30 Tengu TokyoEkiMae 03-3275-3691 *** Linux 8th Birthday Anniversary! *** Next Technical Meeting: October 9 (Sat), 13:00 place: Temple Univ. *** Topics: 1) Linux i18n 2) Japanese TrueType fonts ------------------------------------------------------------------- more info: http://www.tlug.gr.jp Sponsor: Global Online Japan
- Follow-Ups:
- Re: tlug: Displaying BMPString on Console using printf in C.
- From: "Frank Bennett (=?iso-2022-jp?B?GyRCJVUlaSVzJS8kWSVNJUMlSBsoQg==?= )" <bennett@example.com>
- References:
- tlug: Displaying BMPString on Console using printf in C.
- From: Sanjay Agnani <s.agnani@example.com>
Home | Main Index | Thread Index
- Prev by Date: tlug: Displaying BMPString on Console using printf in C.
- Next by Date: Re: tlug: ISDN Access
- Prev by thread: tlug: Displaying BMPString on Console using printf in C.
- Next by thread: Re: tlug: Displaying BMPString on Console using printf in C.
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links