Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Fix issues with URxvt and XFT fonts #358

Closed
wants to merge 6 commits into from
Closed

Fix issues with URxvt and XFT fonts #358

wants to merge 6 commits into from

Conversation

dylanaraps
Copy link
Owner

@dylanaraps dylanaraps commented Oct 12, 2016

This PR fixes image drawing issues in URxvt when a XFT font is used.

The PR adds a new option called image_border. When set to on it adds a border between the text and image which fixes all drawing issues in URxvt.

  • image_border on/off: Toggle border.
  • border_char 'string': Border char.
  • border_color 'fg' | '000': Border color.

TODO

  • Testing
  • Documentation

image_border=off

2016-10-12-165824_1576x1776_scrot

image_border=on

2016-10-12-165830_1576x1776_scrot

Note: I don't know why this works.

Closes #357

@konimex
Copy link
Contributor

konimex commented Oct 12, 2016

Test results:

2016-10-12-170239_730x346_scrot

(Yes, it's zero-width spaces.)

@dylanaraps
Copy link
Owner Author

Doh

This is so much better.

@dylanaraps
Copy link
Owner Author

dylanaraps commented Oct 12, 2016

Fix is now in master, thanks @konimex 👍

@dylanaraps dylanaraps closed this Oct 12, 2016
@dylanaraps dylanaraps deleted the urxvt_fix branch October 12, 2016 10:18
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

URxvt and XFT fonts, image rendering problems
2 participants