-
Notifications
You must be signed in to change notification settings - Fork 13
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
Cairo rendering fuzzy on horizontal bars #18
Comments
Thanks. Does this patch improve this issue? -> http://mlterm.sf.net/mlterm-3.9.1-fixcairostyle.patch |
Looks flawless; regular text is indistinguishable from Xft with that patch. (Bold text looks different but that might be intentional) Is Btw, is Xft not displaying CJK characters a bug or is it an issue on my end? |
Hi, I don't recommend defining CAIRO_FORCE_DOUBLE_DRAWING. It is necessary to use a font which includes CJK glyphs or to specify it as follows in ~/.mlterm/aafont manually in order to show CJK characters with Xft. mlterm with cairo searches alternative fonts automatically if it doesn't find glyphs for some characters, but mlterm with Xft doesn't support it for now. Regards, |
Sorry, I misunderstand. |
Fixed as of 96ea847, thank you! |
pkgsrc changes: * switch MASTER_SITES to GitHub * use GTK3 instead of GTK2 * remove local patches integreated into upstream (#5) Upstream changes (noted in doc/en/ReleaseNote): ver 3.9.2 * Support Fcitx5. * Support GTK4 for mlconfig. (./configure --with-gtk=4.0) * Support CSI > Ps q (XTVERSION). (Response: DCS>|mlterm(3.9.2)ST) * Add "MOSH_UDP_PORT" environmental variable to specify UDP port or port-range to communicate with a mosh server. * Add INSERT_CLIPBOARD shortcut key. (arakiken/mlterm#19) * Add --fk / format_other_keys option (equivalent to "formatOtherKeys" of xterm), and change the default format of the escape sequence with modifyOtherKeys from CSI Ps; Ps u to CSI 27; Ps; Ps ~. * Add --with-iconv, --disable-daemon, --disable-split and --disable-zmodem options to ./configure script. * Add vte 0.66 API symbols to libvte compatible library. * Show server list dialog at startup on Android. * It is deprecated to use "mlterm" as the value of termtype / -y option. * 'termcap' config file stops to accept multiple terminal types concated by '|' (e.g. xterm|xterm-256) as key. * Arabic ligatures (U+644-U+622, U+644-U+622, U+644-U+625, U+644-U+627) occupy two logical columns instead of one even if --dyncomb option isn't specified. * KBD_INPUT_NUM and MOUSE_INPUT_NUM environmental variables (for mlterm-fb) accept multiple device numbers by "<num>,<num>". * Show "Config: key=value" only if shortcut keys whose format is "proto:(echo)key=value" is pressed. * Merge patches: arakiken/mlterm#5. arakiken/mlterm#9. arakiken/mlterm#12. arakiken/mlterm#22. * Bug fixes: Fix arakiken/mlterm#15. Fix arakiken/mlterm#18. Fix arakiken/mlterm#24. Fix arakiken/mlterm#28. Fix failure of restarting mlterm on Android. (Enbugged at 3.9.1) Fix segfault if mlterm screen with -t option goes outside of the display. Fix emoji glyphs becoming too large with cairo. Fix corrupt value of "word_separator" option which mlconfig outputs. Fix incompatibility with xterm in pressing Shift + a-z keys etc if modifyOtherKeys is 1. (arakiken/mlterm#21) Fix segfault in opening a new roxterm tab with libvte compatible library on wayland.
Hi, I've been a happy user of mlterm for a while now but there's something bugging me with the font rendering:
Cairo:
Xft:
I'm not sure it comes across very well in the images (github does some sort of processing on them, the colors are a bit off) but horizontal bars are fuzzy in an inconsistent way. This is especially noticeable on the
===
,e
s andT
s but also the[
s.(Ideally compare this by switching between the font renderers on your system in real time.)
Are you able to reproduce the bahaviour? I want to make sure it's not a packaging bug on my end.
Is that a Cairo bug perhaps? My Emacs and lxterminal are built against Cairo too though AFAICT (the latter through vte+pango) and do not exhibit this behaviour.
Unfortunately, simply using xft is not an option as it fails to display CJK characters.
Dotfiles: https://github.com/Atemu/dotfiles/tree/62cc068345cebd5346f4ead6f0a58efab2293a2f/.config/mlterm/
Nixpkgs: https://github.com/Atemu/nixpkgs/blob/22aaac9cbc6a472c0e68b86466b241d25aa051dc/pkgs/applications/terminal-emulators/mlterm/default.nix
Nixos-config: https://github.com/Atemu/nixos-config/blob/9e13cb6801af2714f820a8fed1d81401adeb5653/configs/HEPHAISTOS/default.nix
The text was updated successfully, but these errors were encountered: