Thread: Struggling to print a wide character

  1. #16
    Registered User
    Join Date
    Feb 2019
    Posts
    500
    There are lots of fonts for Japanese:

    Code:
    $ apt-cache search font | grep Japanese
    dvi2ps-fontdata-three - Font data of Adobe Japanese fonts (futomin, futogo, jun101)
    fonts-aoyagi-kouzan-t - Brush-style Japanese font
    fonts-aoyagi-soseki - Brush-style Japanese font, Aoyagi-Soseki
    fonts-dejima-mincho - antique-looking Japanese TrueType Mincho font
    fonts-hanazono - Japanese TrueType mincho font by KAGE system and FontForge
    fonts-horai-umefont - Japanese TrueType font, Ume-font
    fonts-ipaexfont - Japanese OpenType font, all IPAex Fonts
    fonts-ipaexfont-gothic - Japanese OpenType font, IPAex Gothic Font
    fonts-ipaexfont-mincho - Japanese OpenType font, IPAex Mincho Font
    fonts-ipafont - Japanese OpenType font set, all IPA Fonts
    fonts-ipafont-gothic - Japanese OpenType font set, IPA Gothic and IPA P Gothic Fonts
    fonts-ipafont-mincho - Japanese OpenType font set, IPA Mincho and IPA P Mincho Fonts
    fonts-ipamj-mincho - Japanese OpenType font, IPAmj Mincho Font
    fonts-kiloji - Japanese Truetype font like longhand made by "kilo"
    fonts-kouzan-mouhitsu - Brush-style Japanese font, Kouzan-Mouhitsu
    fonts-migmix - High quality Japanese font based on M+ fonts and IPA fonts
    fonts-misaki - Japanese Gothic and Mincho font from "Misaki" bitmap font
    fonts-mona - Japanese TrueType font for 2ch ASCII art
    fonts-monapo - Japanese TrueType font, Monapo
    fonts-motoya-l-cedar - Japanese Truetype font, Motoya L Cedar
    fonts-motoya-l-maruberi - Japanese Truetype font, Motoya L Maruberi
    fonts-oradano-mincho-gsrr - Retro style (Meiji period) Japanese font
    fonts-sawarabi-gothic - gothic font for Japanese
    fonts-sawarabi-mincho - Japanese mincho font - Sawarabi Mincho font
    fonts-seto - handwriting Japanese font including JIS X 0213 kanji
    fonts-takao - Japanese TrueType font set, Takao Fonts
    fonts-takao-gothic - Japanese TrueType font set, Takao Gothic Fonts
    fonts-takao-mincho - Japanese TrueType font set, Takao Mincho Fonts
    fonts-takao-pgothic - Japanese TrueType font set, Takao P Gothic Fonts
    fonts-umeplus - Japanese TrueType gothic fonts, based on Umefont and M+Font
    fonts-vlgothic - Japanese TrueType font from Vine Linux
    fonts-yozvox-yozfont - Japanese proportional Handwriting OpenType font
    fonts-yozvox-yozfont-antique - Japanese proportional Handwriting OpenType font (antique kana)
    fonts-yozvox-yozfont-cute - Japanese proportional Handwriting OpenType font (cute kana)
    fonts-yozvox-yozfont-edu - Japanese proportional Handwriting OpenType font (educational cana)
    fonts-yozvox-yozfont-new-kana - Japanese proportional Handwriting OpenType font (new kana)
    fonts-yozvox-yozfont-standard-kana - Japanese proportional Handwriting OpenType font (standard kana)
    latex-cjk-japanese - Japanese module of LaTeX CJK
    latex-cjk-japanese-wadalab - type1 and tfm DNP Japanese fonts for latex-cjk
    texlive-lang-cjk - TeX Live: Chinese/Japanese/Korean (base)
    texlive-lang-japanese - TeX Live: Japanese
    xfonts-ayu - Gothic 18/20 dot Japanese and ISO-8859-1 X11 bitmap fonts
    xfonts-intl-japanese - international fonts for X - Japanese
    xfonts-intl-japanese-big - international fonts for X - large Japanese
    xfonts-jisx0213 - JIS X 0213 Japanese Kanji bitmap fonts for X
    xfonts-kaname - Kaname Cho 12 dot Japanese Kanji, Latin 1 fonts for X11
    xfonts-kappa20 - X11 Kappa 20dot Fonts (ISO-8859-1..4/9/10/13..16, Japanese) with bold
    xfonts-mplus - M+ bitmap 10/12 dot Latin/Japanese fonts for X11
    xfonts-shinonome - Various 12,14,16 dot Japanese Kanji, iso8859-1 fonts for X11
    fonts-ipafont-nonfree-jisx0208 - Japanese TrueType font, IPAfont (JISX0208)
    fonts-ipafont-nonfree-uigothic - Japanese TrueType font, IPAfont UI Gothic
    fonts-mikachan - handwritten Japanese Truetype font
    xfonts-naga10 - 10x10 dot Japanese and ISO-8859-1 naga10 fonts
    How they map to UNICODE I don't know...

  2. #17
    Registered User awsdert's Avatar
    Join Date
    Jan 2015
    Posts
    547
    hmm, I'll take another look 2mw nite,'bout time I got some sleep

  3. #18
    Registered User awsdert's Avatar
    Join Date
    Jan 2015
    Posts
    547
    Finally got it to print after feeding the hex via fputc/fputs, fputwc/fputws don't seem to convert to multibyte so never gonna use them, again. Will just have to throw away the %ls & %lc formats when checking my output.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. get wide character and multibyte character value
    By George2 in forum C++ Programming
    Replies: 27
    Last Post: 01-27-2008, 05:10 AM
  2. wide character (unicode) and multi-byte character
    By George2 in forum Windows Programming
    Replies: 6
    Last Post: 05-05-2007, 12:46 AM
  3. about wide character and multiple byte character
    By George2 in forum C Programming
    Replies: 3
    Last Post: 05-22-2006, 08:11 PM
  4. Where is my extended wide character ?
    By intmail in forum C Programming
    Replies: 4
    Last Post: 02-14-2006, 04:54 PM
  5. Wide Character Writing
    By pianorain in forum C++ Programming
    Replies: 9
    Last Post: 08-19-2005, 02:00 PM

Tags for this Thread