From: Zelphir Kaltstahl <zelphirkaltstahl@gmail.com>
To: help-guix@gnu.org
Subject: IceCat from Guix all monospaced font
Date: Sat, 4 May 2019 19:19:40 +0200 [thread overview]
Message-ID: <ba2f2e88-5f04-7d0f-3ca9-02d872bc882b@gmail.com> (raw)
Hello Guix Users,
Today I installed GNU Icecat from Guix and everything works fine, except
for one thing:
The whole Icecat UI uses a monospaced font and on every website
everything is monospaced. I've tried for hours to change fonts using
userChrome.css to no avail. I also tried inspecting the UI using the
browser toolbox and it shows, that my userChrome.css set values are used
for the UI. Although in that inspector I see font family values like
"Liberation Sans" and "DejaVu Sans" and "sans-serif", the UI _actually_
still is monospaced.
While I generally like "monospaced-ness", the problem is, that it breaks
Icecat's UI in many places, as the UI is not flexible enough to render
all texts and often cuts text overflow, as the monospaced font is wider
than what one would usually have.
My guess is, that somehow Icecat installed via Guix is not able to pick
up system wide installed fonts and always, no matter what I set, falls
back to a monospaced font. Following this guess, I installed Liberation
fonts and DejaVu fonts in Guix. However, still everything is monospaced.
Also note, that I created a completely new user profile for Icecat, in a
non-default path in `~/user/.icecat/profiles`. So everything there
should be clean. That directory did not even exist, when I created the
profile.
Here is the content of my userChrome.css:
~~~~~~~~
@namespace url(http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul);
/* -moz-use-system-font */
/* Global UI font */
* {
font-size: 11pt !important;
font-family: Liberation Sans, DejaVu Sans, Ubuntu, sans-serif;
}
:root {
--tab_min_width: 24px;
--tab_max_width: 100px;
--toolbarbutton-outer-padding: 1px !important;
--toolbarbutton-inner-padding: 2px !important;
--tab-min-height: 24px !important;
--space-above-tabbar: 0px !important;
}
@-moz-document domain(){
font-family: sans-serif !important;
}
/* change font of tabs */
.tabbrowser-tab {
font-family: Ubuntu, sans-serif;
}
/* decrease max height of the tab bar */
#tabbrowser-tabs {
max-height: 25px;
}
#tabbrowser-tabs * {
max-height: 25px;
}
#tabbrowser-tabs .tabbrowser-arrowscrollbox {
max-height: 25px !important;
padding-top: 1px !important;
padding-bottom: 1px !important;
margin-top: 0px !important;
margin-bottom: 0px !important;
text-shadow: none !important;
}
/* decrease height of the tabs */
/* normal tabs */
.tabbrowser-tab:not([pinned]) {
height: 24px !important;
}
.tabbrowser-tab:not([pinned]) .tab-icon-image {
margin-top: 0px;
margin-bottom: 0px;
padding: 0px;
height: 16px;
}
/* pinned tabs */
.tabbrowser-tab[pinned] {
width: 24px !important;
height: 24px !important;
border: none;
}
.tabbrowser-tab[pinned] .tab-icon-image {
margin: 2px;
padding: 0px;
height: 16px;
width: 16px;
}
.tab-content {
max-height: 24px !important;
padding-top: 0px !important;
padding-right: 2px !important;
padding-bottom: 0px !important;
padding-left: 2px !important;
}
#navigator-toolbox #TabsToolbar {
padding-right: 0px !important;
padding-left: 0px !important;
min-height: unset !important;
/* background-color: #ffffff !important; */
/*height*/
height: unset !important;
min-height: unset !important;
}
~~~~~~~~
Does anyone know how to fix this monospaced issue? Please help me make
my Icecat more usable : ) Thank you!
Regards,
Zelphir
next reply other threads:[~2019-05-04 17:19 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-05-04 17:19 Zelphir Kaltstahl [this message]
2019-05-04 17:45 ` IceCat from Guix all monospaced font pelzflorian (Florian Pelz)
2019-05-04 18:19 ` Zelphir Kaltstahl
2019-05-04 20:26 ` pelzflorian (Florian Pelz)
2019-05-05 0:50 ` Zelphir Kaltstahl
2019-05-05 5:55 ` pelzflorian (Florian Pelz)
2019-05-05 12:09 ` Zelphir Kaltstahl
2019-05-04 17:51 ` Tanguy Le Carrour
2019-05-04 18:20 ` Zelphir Kaltstahl
2019-05-04 19:25 ` ison
2019-05-04 20:00 ` Zelphir Kaltstahl
2019-05-04 20:01 ` Zelphir Kaltstahl
2019-05-04 20:14 ` ison
2019-05-05 0:52 ` Zelphir Kaltstahl
2019-05-05 2:18 ` Mark H Weaver
2019-05-05 12:08 ` Zelphir Kaltstahl
2019-05-05 20:14 ` Mark H Weaver
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=ba2f2e88-5f04-7d0f-3ca9-02d872bc882b@gmail.com \
--to=zelphirkaltstahl@gmail.com \
--cc=help-guix@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.