1
0
mirror of https://github.com/gryf/urxvt-font.git synced 2026-03-19 01:33:31 +01:00
Commit Graph

16 Commits

Author SHA1 Message Date
6b4622e55d Support for X11 bitmap font.
This change will introduce support for fixed, bitmap fonts. Unlike in
outline fonts, amount of sizes for bitmap fonts is declared up front.
Because of that fact, increasing/decreasing bitmap font size might look
awkward or even have no effect at all, depending on used font face.

This patch was successfully used against font-misc-misc from X.Org
package.
2020-01-18 17:38:00 +01:00
Devin J. Pohly
a96c303174 Fix font scaling on rotated outputs
When an output is rotated with xrandr, the command-line utility prints
the pixel dimensions of the display as rotated, but the physical
dimensions of the display without rotation.  As a result, when the
rotation is "left" or "right", they didn't match each other, and the
wrong scale was calculated.  Check explicitly for this.
2018-07-26 15:53:03 -05:00
Devin J. Pohly
e9c6cbafc1 automatically scale fonts based on monitor DPI
Each time the urxvt window is moved, check to see if the window is now
on a monitor with a different DPI.  If so, calculate and set a new font
size so that the physical size of the text is unchanged.  Works great
for laptops with HiDPI displays and external monitors; may require some
tweaking for other scenarios (e.g. laptop + presentation projector).

Scaling can be disabled by setting ENABLE_DPI_SCALING to 0 in the
extension source.

Note: This feature requires the xrandr command-line tool to be
installed.
2018-06-23 13:08:47 -05:00
Noah Tilton
3ca50e7713 updating email; making unicode-points-only configurable 2013-11-07 09:56:03 -06:00
noah
888bc268f7 removing extraneous print statement 2013-04-01 10:47:24 -05:00
Noah Tilton
644b8c7fc0 arrrrrgh 2013-02-19 10:04:54 -06:00
Noah Tilton
1cbf4efdd0 adding urxvt font classes 2012-12-06 15:10:11 -06:00
noah
ba69503249 don't match other monacos on linux, which might not be broken
for example: https://gist.github.com/1634235

incidentally, that's awesome, thanks @epegzz
2012-11-17 06:06:02 -06:00
Noah Tilton
032aa700f6 bugfix: font string comparisons should be case-insensitive 2012-11-09 12:03:08 -06:00
noah
80e3b8798d hack: only use a subset of pixel sizes for monaco, as it lacks some unicode pages 2012-04-15 04:25:10 -05:00
noah
1631b26636 fixing wrong escapes 2012-04-15 01:32:44 -05:00
noah
a03093ba7c split fonts config out of main xresources file 2012-04-10 23:46:00 -05:00
noah
67cbff7110 substantial refactor; cleanroom support for bold fonts 2012-04-01 23:23:14 -05:00
noah
8191e672da debug comment 2011-10-27 04:21:20 -05:00
noah
9a7e52dc00 typo 2011-08-28 03:59:52 -05:00
noah
04142a9ec6 initial checkin 2011-08-27 01:23:21 -05:00