Age | Commit message (Collapse) | Author | |
---|---|---|---|
2022-11-30 | Adds DPI configuration (#660) | jgrocho | |
Adds a new DPI configuration, especially useful for HiDPI displays. This changes the scaling factor for fonts as displayed by Pango. It defaults to 96.0 which corresponds to an average screen and is the default in [Cairo](https://hackage.haskell.org/package/pango-0.13.5.0/docs/Graphics-Rendering-Pango-Cairo.html#v:cairoFontMapGetDefault). It's also possible to supply a zero or negative value to use the default scaling factor, but I felt setting the default to 96.0 makes it more explicit. It also adds a matching command line option. I haven't tested it too thoroughly, but in my limited use it appears to be working as intended. One thing this does not do is scale XBM and XPM bitmap files which I'm unsure how to do or if that should even be our concern (instead leaving it up to the user to supply appropriate bitmaps). Co-authored-by: Jonathan Grochowski <jon@grocho.net> Reviewed-on: https://codeberg.org/xmobar/xmobar/pulls/660 Co-authored-by: jgrocho <codeberg@jon.grocho.net> Co-committed-by: jgrocho <codeberg@jon.grocho.net> | |||
2022-11-16 | cairo: recover pre-cairo z-ordering of segments | jao | |
2022-11-16 | cairo: fix: don't draw outside maximum allowed offset | jao | |
2022-11-13 | similar take on centering the center | jao | |
2022-11-13 | center segment drawn in the center of the bar | jao | |
should make things better for #650 and #655 | |||
2022-11-08 | Fixes offset of the pseudo-transparent background | Kostas Agnantis | |
2022-11-08 | Adds 'XPosition' type documentation and code fixes based on review | Kostas Agnantis | |
2022-11-06 | Adds new position configuration | Kostas Agnantis | |
- TopHM: Top position with left/right/top margins and specific height - BottomHM: Bottom position with left/right/bottom margins and specific height | |||
2022-10-06 | whitespace | jao | |
2022-10-01 | wee clean ups | jao | |
2022-10-01 | Config.Template refactorings | jao | |
2022-10-01 | a couple of superfluous IO usages removed | jao | |
2022-09-30 | Run.Parsers -> Config.Template | jao | |
2022-09-26 | more little import clean ups | jao | |
2022-09-22 | import clean-ups | jao | |
2022-09-21 | better abstracted icon drawing interface | jao | |
2022-09-21 | linting | jao | |
2022-09-20 | fix for -f-with_xrender buildcairo | jao | |
2022-09-20 | new namespace: Xmobar.Draw | jao | |
2022-09-19 | wee refactoring (more types in X11.Types) | jao | |
2022-09-19 | cairo: non-cairo is not an option | jao | |
2022-09-18 | fix for -f-with_xrender build | jao | |
2022-09-18 | qualified imports | jao | |
2022-09-18 | whitespace | jao | |
2022-09-16 | Fix for non-cairo build | jao | |
2022-09-16 | little clean-ups | jao | |
2022-09-16 | cairo: outer boxes fixes | jao | |
2022-09-16 | linting and version bump | jao | |
2022-09-15 | cairo: boxes as lines | jao | |
2022-09-15 | cairo: boxes, take two | jao | |
2022-09-15 | new flag: with_xrender | jao | |
2022-09-15 | linting | jao | |
2022-09-15 | cairo: box drawing | jao | |
2022-09-15 | cairo: global background always via XRender | jao | |
2022-09-14 | whitespace | jao | |
2022-09-14 | cairo: honouring top/bottom offsets in color specifications | jao | |
2022-09-13 | cairo: ellipsize text segments if they go out of bounds | jao | |
2022-09-13 | cairo: honouring iconOffset | jao | |
2022-09-13 | XlibDraw: verticalOffsets in XConf not needed | jao | |
2022-09-13 | 'Core' fonts not used anymore (utf8 is always required) | jao | |
2022-09-12 | X11.MinXft not needed anymore | jao | |
2022-09-12 | cairo: with_xft deprecated, with_cairo synomym | jao | |
2022-09-12 | wee refactoring: a couple type synonyms | jao | |
2022-09-11 | cairo: a couple of as yet unused imported foreign functions | jao | |
2022-09-11 | x event loop clean-ups | jao | |
2022-09-11 | cairo: bitmaps | jao | |
2022-09-11 | fix for the default, non-cairo build | jao | |
2022-09-11 | cairo: linting | jao | |
2022-09-11 | cairo: alpha (still pseudo, via xrender) | jao | |
2022-09-11 | cairo: outer border | jao | |