Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
terminus-font, Cyrillic letters in framebuffer (fbterm)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
kroz.nn
n00b
n00b


Joined: 04 Jul 2014
Posts: 2

PostPosted: Fri Jul 04, 2014 1:33 pm    Post subject: terminus-font, Cyrillic letters in framebuffer (fbterm) Reply with quote

Greetings!

I have installed fbterm and made him use the same font as it is in use currently for "pure" console - Terminus. Comparing "pure" console with fbterm console I can see that, yes, almost all symbols are exactly the same except for Cyrillic (Russian) letters - they seems to be too wide to fit the place. Look by yourself:http://postimg.org/image/slqlhbe6r/

How to solve this problem? Is it possible to scale some specific characters of characters of Terminus Font, by re-compiling it from some kind of sources?

Additional info:
Code:

$ emerge -pv --nodeps terminus-font
[ebuild   R    ] media-fonts/terminus-font-4.38  USE="X center-tilde pcf psf ru-g -a-like-o -distinct-l -quote -raw-font-data -ru-dv -ru-i -ru-k" 0 kB

$ cat /etc/conf.d/consolefont | grep ter
consolefont="ter-u16b"

$ cat .fbtermrc
font-names=Terminus:bold
font-size=14
font-height=+2
$ fc-match -v "Terminus-14:bold"
Pattern has 34 elts (size 48)
        family: "Terminus"(s)
        style: "Bold"(w)
        slant: 0(i)(s)
        weight: 200(i)(s)
        width: 100(i)(s)
        size: 14(f)(s)
        pixelsize: 14(f)(s)
        spacing: 110(i)(w)
        foundry: "xos4"(w)
        antialias: False(w)
        hintstyle: 1(i)(w)
        hinting: True(w)
        verticallayout: False(s)
        autohint: False(w)
        globaladvance: True(s)
        file: "/usr/share/fonts/terminus/ter-x14b.pcf.gz"(w)
        index: 0(i)(w)
        outline: False(w)
        scalable: False(w)
        dpi: 75(f)(s)
        rgba: 1(i)(w)
        scale: 1(f)(s)
        charset:
        0000: ffffffff ffffffff ffffffff 7fffffff 00000000 ffffffff ffffffff ffffffff
        0001: ffffffff ffffffff ffffffff ff3fffff 6005c040 00800000 00000000 00000000
        0002: 0f000000 008c0000 0b100000 00040000 00040000 38000000 3b0000c0 00000000
        0003: 0000104f 00000200 00000000 00000000 ffffd7f0 fffffffb 00007fff 00180000
        0004: ffffffff ffffffff ffffffff 00000000 3fff0000 0fcfcc3f ffff0000 033ffffc
        001e: 00000000 00300000 00000000 00000000 00000000 33000000 00003c00 03000030
        0020: ffff07ff 560d0047 00000000 80000000 00000000 00005080 00000000 00000000
        0021: 0040c000 00000044 00000000 00000000 003f0000 00200100 003f0000 00000000
        0022: c6040568 00000780 00000100 00000033 00000000 00000000 00000000 00000000
        0023: 00010004 00000003 00000000 00000000 00000000 3c000000 00000000 00000000
        0024: 00003e00 00000010 00000000 00000000 00000000 00000000 00000000 00000000
        0025: ffffff0f ffffffff ffff0fff fff1ffff ffcfffff 10445001 03008c41 00000000
        0026: 00000000 1c000000 00000005 00000c69 00000000 00000000 00000000 00000000
        00f6: 00000000 00000000 00000000 00000000 00000000 40000000 00000000 00000000
        00ff: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 20000000
(w)
        lang: aa|af|av|ay|az-az|ba|bm|be|bg|bi|bin|br|bs|bua|ca|ce|ch|chm|co|cs|cv|da|
             de|el|en|eo|es|et|eu|fi|fj|fo|fr|fur|fy|gd|gl|gn|gv|haw|ho|hr|hu|ia|ig|id|ie|ik|io|
             is|it|kaa|ki|kk|kl|kum|kv|kw|ky|la|lb|lez|ln|lt|lv|mg|mh|mi|mk|mo|mt|nb|nds|
             nl|nn|no|nr|nso|ny|oc|om|os|pl|pt|rm|ro|ru|sah|se|sel|sh|sk|sl|sm|sma|smj|
             smn|so|sq|sr|ss|st|sv|sw|tg|tk|tl|tn|to|tr|ts|tt|tw|tyv|uk|uz|vo|vot|wa|wen|wo|
             xh|yap|zu|ak|an|crh|csb|fat|fil|hsb|ht|jv|kj|ku-tr|kwm|lg|li|mn-mn|ms|na|ng|
             pap-an|pap-aw|rn|rw|sc|sg|sn|su|ty|za(s)
        fontversion: 0(i)(s)
        fontformat: "PCF"(w)
        embeddedbitmap: False(w)
        decorative: False(s)
        namelang: "ru"(s)
        prgname: "fc-match"(s)
        hash: "sha256:ff449a41ddee49640c059fa716540322b5cf39e37c27ac23e2a3bc1fbe771a97"(w)
        postscriptname: "Terminus"(w)
        pixelsizefixupfactor: 1(f)(w)
        scalingnotneeded: True(w)


Applied line wrapping to the"lang:" line, to mitigate horizontal scrolling. -- desultory
Back to top
View user's profile Send private message
kroz.nn
n00b
n00b


Joined: 04 Jul 2014
Posts: 2

PostPosted: Sat Jul 05, 2014 9:42 am    Post subject: Reply with quote

It seems that it cannot find Cyrillic letters in Terminus font and is just taking it from other font. How to debug it?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum