Closed meshy closed 7 years ago
Hi @meshy and thank you for reporting this issue.
Make sure any equivalent of ttf-mscorefonts-installer
or ttf-ms-*
is installed (they provide Courier New
.
Would it be possible to define a fallback font instead? I'd rather not install those fonts, as they tend to mess up web-browsing.
Any of this family: Monaco, Menlo, Consolas, Courier New, monospace
.
I don't have any of those as explicit fonts, but I am aware that in a browser monospace
should fall back to a monospace font. Does scudcloud use anything akin to a web (browser) view to render the UI?
If so, perhaps this is a bug with the underlying library?
Yeap, it uses qtwebview
, which relies in webkit
. But its using a kind-of old version, which has some issues with CSS and fonts. There is the qt5
branch, which uses a new, but still has issue with systray.
Aah, I see. In that case, I guess I'll just put up with it for the moment! Thanks for looking into it for me :)
Just thinking in another fix to avoid font install: if you know any fixed width font in your system, you can edit the resources/resources.css
file and add it to the these line:
pre, pre > span { font-family: Monaco,Menlo,Consolas,"Courier New",monospace; }
Not sure if you're using a package manager, so maybe any update probably will overwrite this file (in .deb
packages you can use dpkg-divert
to avoid this).
Hi @meshy, is this still an issue for you after the upgrade to qt5?
I'm afraid I switched over the the official Slack client for the moment, so I'm unable to test this, sorry.
@meshy no worries, the official app is awesome
ScudCloud Version
Paste the output for
scudcloud --version
below:Distro and Desktop info
Expected behavior
Code in backticks (ie ````) appear in a fixed-width font (as on the slack website):
Actual behavior
Code does not appear in a fixed width font:
Steps to reproduce
test
in the message box at the bottom.