Re: Konsole displays some characters wrong

Fuminobu TAKEYAMA <[email protected]>
Newsgroups gmane.linux.suse.m17n
Message-ID <[email protected]>
Ok, Monospace is an alias of IPAGothic on your environment.

The font, IPAGothic provides double-width down-allow glyph
although Konsole assumes that the glyph should have the same width as
glyphs such as 'a' and '0'.

A solution is to use another font such as DejaVu Sans Mono.
You can change fonts from:
Settings > Edit Current Profile... > Appearance

If you do not need Japanese fonts, please uninstall ipa-gothic-fonts.
So another font is to be selected for Monospace.


Fuminobu TAKEYAMA


On 2015/06/11 6:42, Norman Diamond wrote:
> Yes the font is Monospace.  I did not change it from the default.  A Konsole settings panel displayed the name Monospace and allowed me to change the font size but didn't allow me to select a different font.
>
> For this e-mail I use Yahoo's web interface from Internet Explorer under Windows, so I translated the output of fc-match -v and fc-match -v Monospace from UTF-8 to Microsoft's Unicode encoding.  Yahoo's web interface will scramble the text that I will paste below, so I ALSO attach the outputs as files.
>
>
> Output of fc-match -v
>
> Pattern has 41 elts (size 48)
>   family: "IPA Pゴシック"(s) "IPAPGothic"(s)
>   familylang: "ja"(s) "en"(s)
>   style: "Regular"(w)
>   stylelang: "en"(w)
>   fullname: "IPAPGothic"(w) "IPA Pゴシック"(w)
>   fullnamelang: "en"(w) "ja"(w)
>   slant: 0(i)(s)
>   weight: 80(i)(s)
>   width: 100(i)(s)
>   size: 12(f)(s)
>   pixelsize: 12.5(f)(s)
>   foundry: "unknown"(w)
>   antialias: True(w)
>   hintstyle: 0(i)(w)
>   hinting: True(w)
>   verticallayout: False(s)
>   autohint: True(w)
>   globaladvance: True(s)
>   file: "/usr/share/fonts/truetype/ipagp.ttf"(w)
>   index: 0(i)(w)
>   outline: True(w)
>   scalable: True(w)
>   dpi: 75(f)(s)
>   rgba: 5(i)(w)
>   scale: 1(f)(s)
>   charset:
>   [snip]
> (w)
>   lang: aa|ay|bg|bi|br|ch|cs|da|de|en|eo|es|et|eu|fi|fj|fo|fur|fy|gd|gl|gv|ho|hu|ia|id|ie|io|is|it|ja|kum|lb|mg|nb|nds|nl|nn|no|nr|nso|oc|om|os|pl|pt|rm|ru|sel|sk|sma|smj|so|sq|ss|st|sv|sw|tk|tl|tn|ts|uz|vo|vot|wa|wen|xh|yap|zu|an|csb|fil|hsb|ht|jv|kj|ku-tr|kwm|li|ms|ng|pap-an|pap-aw|qu|quz|rn|rw|sc|sg|sn|su|za(s)
>   fontversion: 198574(i)(s)
>   capability: "otlayout:hani otlayout:kana otlayout:latn"(w)
>   fontformat: "TrueType"(w)
>   embeddedbitmap: True(w)
>   decorative: False(s)
>   lcdfilter: 0(i)(w)
>   namelang: "ja"(s)
>   prgname: "fc-match"(s)
>   hash: "sha256:a63f6153841e56ec9df1b31a54d98d3f41d8aaa1c3d8df30a33502296f5b8068"(w)
>   postscriptname: "IPAPGothic"(w)
>   force_hintstyle: "none"(w)
>   force_autohint: False(w)
>   force_bw: False(w)
>   force_bw_monospace: False(w)
>
> Output of fc-match -v Monospace
>
> Pattern has 42 elts (size 48)
>   family: "IPAゴシック"(s) "IPAGothic"(s)
>   familylang: "ja"(s) "en"(s)
>   style: "Regular"(w)
>   stylelang: "en"(w)
>   fullname: "IPAGothic"(w) "IPAゴシック"(w)
>   fullnamelang: "en"(w) "ja"(w)
>   slant: 0(i)(s)
>   weight: 80(i)(s)
>   width: 100(i)(s)
>   size: 12(f)(s)
>   pixelsize: 12.5(f)(s)
>   spacing: 90(i)(w)
>   foundry: "unknown"(w)
>   antialias: True(w)
>   hintstyle: 0(i)(w)
>   hinting: True(w)
>   verticallayout: False(s)
>   autohint: True(w)
>   globaladvance: True(s)
>   file: "/usr/share/fonts/truetype/ipag.ttf"(w)
>   index: 0(i)(w)
>   outline: True(w)
>   scalable: True(w)
>   dpi: 75(f)(s)
>   rgba: 5(i)(w)
>   scale: 1(f)(s)
>   charset:
>   [snip]
> (w)
>   lang: aa|ay|bg|bi|br|ch|cs|da|de|en|eo|es|et|eu|fi|fj|fo|fur|fy|gd|gl|gv|ho|hu|ia|id|ie|io|is|it|ja|kum|lb|mg|nb|nds|nl|nn|no|nr|nso|oc|om|os|pl|pt|rm|ru|sel|sk|sma|smj|so|sq|ss|st|sv|sw|tk|tl|tn|ts|uz|vo|vot|wa|wen|xh|yap|zu|an|csb|fil|hsb|ht|jv|kj|ku-tr|kwm|li|ms|ng|pap-an|pap-aw|qu|quz|rn|rw|sc|sg|sn|su|za(s)
>   fontversion: 198574(i)(s)
>   capability: "otlayout:hani otlayout:kana otlayout:latn"(w)
>   fontformat: "TrueType"(w)
>   embeddedbitmap: False(w)
>   decorative: False(s)
>   lcdfilter: 0(i)(w)
>   namelang: "ja"(s)
>   prgname: "fc-match"(s)
>   hash: "sha256:503af4a8b84d1079b8e2e358dc7f7a7fb8cb7a1f212f35eaef6782dbfc75a55e"(w)
>   postscriptname: "IPAGothic"(w)
>   force_hintstyle: "none"(w)
>   force_autohint: False(w)
>   force_bw: False(w)
>   force_bw_monospace: False(w)
>
>
>
>
>>
>> ----- Original Message -----
>>>   From: Fuminobu TAKEYAMA <[email protected]>
>>>   To: [email protected]
>>>   Cc:
>>>   Date: 2015/6/10, Wed 19:43
>>>   Subject: Re: [opensuse-m17n] Konsole displays some characters wrong
>>>
>>>   Hi,
>>>
>>>   Which font do you use on Konsole?
>>>
>>>   Then, can you share the result of fc-match -v?
>>>   If the font is "Monospace" then run the following command:
>>>   $ fc-match -v Monospace
>>>
>>>   # you can snip off "charset:" section
>>>
>>>
>>>   Fuminobu TAKEYAMA
>>>
>>>   On 2015/06/09 11:41, Norman Diamond wrote:
>>>>    In openSUSE 13.2, in Konsole, downarrow↓displays↓wrong.
>>>>    The file encoding, Konsole terminal's encoding, and vim's
>> encoding
>>>   are all UTF-8.
>>>>    Five↓↓↓↓↓downarrows↓↓↓↓↓look↓↓↓↓↓like↓↓↓↓↓three.
>>>>    vim counts characters properly but the display is wrong.
>>>>    more, cat, etc., display wrong.
>>>>
>>>>    I used Suse 11.0 for six years.  Konsole had no problem with
>> downarrows.
>>>>
>>>>    Yours sincerely,
>>>>    Norman Diamond
>>>>
>>>   --
>>>   To unsubscribe, e-mail: [email protected]
>>>   To contact the owner, e-mail: [email protected]
>>>
>>
-- 
To unsubscribe, e-mail: [email protected]
To contact the owner, e-mail: [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.