Commit Graph

17 Commits (3eb6e55ae4b51ec9de976f22a833f2f1f7605f5c)

Author SHA1 Message Date
John Benediktsson 221b222f86 Revert "ui.baseline-alignment: allow floats in alignment."
This reverts commit c37e9551ad.
2020-05-19 07:41:06 -07:00
John Benediktsson c37e9551ad ui.baseline-alignment: allow floats in alignment. 2020-05-18 20:53:14 -07:00
John Benediktsson 33e72abff9 ui.baseline-alignment: better stack effects. 2020-05-16 10:05:11 -07:00
John Benediktsson dc8e6e6799 ui.gadgets.paragraphs: need to merge height/metrics.
Sometimes cap-height is false and we handle that differently.
2020-02-27 21:53:39 -08:00
John Benediktsson 8d077a96ad using [ ... ] [ drop ] if* instead of dup [ ... ] [ 2drop ] if. 2016-07-11 21:01:03 -07:00
Doug Coleman f6c1d00c37 ui.baseline-alignment: Don't divide f by 2. Also, can't put ``0 or`` after
``max-cap-height`` because it breaks something else.
2015-08-19 17:20:45 -05:00
Doug Coleman 352e5de16a core, basis, extra: Remove DOS line endings from files.
Remove whitespace from end of lines.
Add a newline to the end of each file.
2015-06-29 17:25:40 -07:00
John Benediktsson b366a06c41 use reject instead of [ ... not ] filter. 2015-05-12 18:50:34 -07:00
John Benediktsson 14b3261bef ui: cleanup some using lists. 2015-01-29 11:41:18 -08:00
John Benediktsson 43b541d11b ui.baseline-alignment: fix float shift on retina. 2012-12-17 11:43:05 -08:00
John Benediktsson cfa87365e3 ui.baseline-alignment: add concept of "aligned-gadget".
This type of gadget caches baseline and cap-height for performance.
2012-09-18 15:48:49 -07:00
Slava Pestov 37b01357ec Remove unused words discovered by Samuel Tardieu 2009-06-16 16:38:39 -05:00
Slava Pestov bab6e8fe08 Fix rounding error 2009-04-15 17:14:10 -05:00
Slava Pestov 2a5a5ee376 Fix rounding error 2009-04-14 15:14:57 -05:00
Slava Pestov ad2b7b74f4 Fix baseline alignment to work like align=1/2 if there is no text in the layout, also fix nested baseline alignment in the no-text case 2009-04-10 14:11:05 -05:00
Slava Pestov d67f08549c New baseline alignment algorithm uses cap-height/2 as graphics baseline instead of ascent/2 2009-02-17 13:41:19 -06:00
Slava Pestov c7dc4f1080 Split off baseline alignment code into ui.baseline-alignment, and add cap-height generic word 2009-02-17 06:10:02 -06:00