aboutsummaryrefslogtreecommitdiff
path: root/sway/commands/font.c
AgeCommit message (Collapse)Author
2021-08-26Use fixed titlebar heightsHugo Osvaldo Barrera
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.
2019-01-14Remove now-unused "input" argument of cmd_results_newM Stoeckl
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.
2018-05-06Implement pango supportRyan Dwyer
Implements support for the pango: prefix in the font command. Closes #1903.
2018-05-05Move code for re-arranging after font height change into a common placeRyan Dwyer
2018-05-03Calculate config->font_height based on existing container titlesRyan Dwyer
2018-05-03Render titlesRyan Dwyer
2017-11-18Move everything to sway/old/Drew DeVault
2017-03-10UnGNUify the codebaseDrew DeVault
2016-09-02merge in latest commitsZandr Martin
2016-09-01refactor commands.cZandr Martin