aboutsummaryrefslogtreecommitdiffstats
path: root/sway/commands/font.c
Commit message (Collapse)AuthorAge
* Use fixed titlebar heightsLibravatar Hugo Osvaldo Barrera2021-08-26
| | | | | | | | | | | | | | | Use fixed titlebar heights. The default height is calculated based on font metrics for the configured font and current locale. Some testing with titles with emoji and CJK characters (which are substantially higher in my setup) shows that the titlebars retain their initial value, text does shift up or down, and all titlebars always remain aligned. Also drop some also now-unecessary title_height calculations. Makes also needed to be updated, since they should be positioned with the same rules.
* Remove now-unused "input" argument of cmd_results_newLibravatar M Stoeckl2019-01-14
| | | | | | | | | Patch tested by compiling with `__attribute__ ((format (printf, 2, 3)))` applied to `cmd_results_new`. String usage constants have been converted from pointers to arrays when encountered. General handler format strings were sometimes modified to include the old input string, especially for unknown command errors.
* Implement pango supportLibravatar Ryan Dwyer2018-05-06
| | | | | | Implements support for the pango: prefix in the font command. Closes #1903.
* Move code for re-arranging after font height change into a common placeLibravatar Ryan Dwyer2018-05-05
|
* Calculate config->font_height based on existing container titlesLibravatar Ryan Dwyer2018-05-03
|
* Render titlesLibravatar Ryan Dwyer2018-05-03
|
* Move everything to sway/old/Libravatar Drew DeVault2017-11-18
|
* UnGNUify the codebaseLibravatar Drew DeVault2017-03-10
|
* merge in latest commitsLibravatar Zandr Martin2016-09-02
|
* refactor commands.cLibravatar Zandr Martin2016-09-01