-
-
Notifications
You must be signed in to change notification settings - Fork 280
XMonad would crash if XMonad.Layout.Tabbed.Theme.fontName was a series of Xft font names. #209
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Presumably there's an issue with our FFI to Xft. Can you find the log
output (virtual console, ~/.xsession-errors, or possibly somewhere in
journald)?
m not sure anyone has looked at the font handling in X.L.Decoration since
arossato lost interest.
…On Tue, Aug 29, 2017 at 6:14 AM, crocket ***@***.***> wrote:
Problem Description
Before upgrading packages on Gentoo Linux, the tabbed layout just
displayed rectangles instead of chinese characters when I played japanese
youtube videos on a web browser.
After upgrade, if XMonad.Layout.Tabbed.Theme.fontName was set to a series
of Xft font names, XMonad would just crash. This issue is also reproducible
on Manjaro Linux.
For example, if XMonad.Layout.Tabbed.tabbed or
XMonad.Layout.Tabbed.addTabs was passed XMonad.Layout.Tabbed.Theme with
its fontName set to xft:LiberationMono:size=13,NanumGothicCoding:size=13,
ipamincho:size=13,ipagothic:size=13,uming:size=13, then XMonad crashes.
This issue is related to #173
<#173>
Configuration File
import XMonadimport XMonad.Layout.Tabbed (tabbed, Theme(fontName))import XMonad.Layout.SimpleDecoration (shrinkText)
main :: IO ()
main = do
xmonad $ def
{ layoutHook =
Tall 1 (3/100) (53/100) |||
tabbed shrinkText def { fontName = theFont }
}
theFont :: String
theFont = "xft:LiberationMono:size=13,NanumGothicCoding:size=13,ipamincho:size=13,ipagothic:size=13,uming:size=13"
If I press M-Space to switch the layout to the tabbed layout, XMonad
explodes.
theFont = "xft:Monospace-13" and theFont = "xft:LiberationMono-13,
NanumGothicCoding-13,ipamincho-13,ipagothic-13,uming-13" don't crash
XMonad.
According to my tests, if fontName is a list of Xft fonts, only the first
font in the list is used.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#209>, or mute the thread
<https://github.com/notifications/unsubscribe-auth/AB8SoFmOGXWOL9zYX43BWt_xRQzHSAFMks5sc-SagaJpZM4PFr3P>
.
--
brandon s allbery kf8nh sine nomine associates
[email protected] [email protected]
unix, openafs, kerberos, infrastructure, xmonad http://sinenomine.net
|
On Gentoo Linux, there is With profiling build, I got the following errors, but those errors do not seem to reveal the cause of the issue. |
Both of those are crashes in Arch already did that once, maybe Gentoo decided to do the same thing. :/ That will cause crashes. |
Those errors were gathered from a profiling build of stack. Can you reproduce the issue with my sample config? |
I'm also encountering this error on Arch Linux (Manjaro). Only specifying one xft font works fine. |
How about add pango suuport? Its haskell binding may better than xft. |
Font fallback was implemented in #646, so I'm closing this |
Problem Description
Before upgrading packages on Gentoo Linux, the tabbed layout just displayed rectangles instead of chinese characters when I played japanese youtube videos on a web browser.
After upgrade, if
XMonad.Layout.Tabbed.Theme.fontName
was set to a series of Xft font names, XMonad would just crash. This issue is also reproducible on Manjaro Linux.For example, if
XMonad.Layout.Tabbed.tabbed
orXMonad.Layout.Tabbed.addTabs
was passedXMonad.Layout.Tabbed.Theme
with itsfontName
set toxft:LiberationMono:size=13,NanumGothicCoding:size=13,ipamincho:size=13,ipagothic:size=13,uming:size=13
, then XMonad crashes.This issue is related to #173
Configuration File
If I press
M-Space
to switch the layout to the tabbed layout, XMonad explodes.theFont = "xft:Monospace-13"
andtheFont = "xft:LiberationMono-13,NanumGothicCoding-13,ipamincho-13,ipagothic-13,uming-13"
don't crash XMonad.According to my tests, if
fontName
is a list of Xft fonts, only the first font in the list is used.The text was updated successfully, but these errors were encountered: