Daniel Eklöf
a822d89291
fcft/tllist: remove git submodules
2020-01-11 14:43:26 +01:00
Daniel Eklöf
7c13b75218
fcft: bump
2020-01-09 21:08:31 +01:00
Daniel Eklöf
edfe7e70f9
bar/wayland: don't use wl_display_dispatch()
...
wl_display_dispatch() calls poll(), which is unnecessary since we
already know the FD is readable.
Use the more lower level wl_display_read_events() +
wl_display_dispatch_pending().
These require wl_display_prepare_read() to have been called.
2020-01-03 21:24:26 +01:00
Daniel Eklöf
6bef3b8e2f
fcft: ignore embeddedbitmap
for non-scalable fonts
2020-01-02 18:43:27 +01:00
Daniel Eklöf
baee3924e4
bar/wayland: let compositor choose output if user didn't
...
Instead of us selecting an output randomly (we used to select that
"last" output) when the user hasn't configured one, let the compositor
choose one for us.
2019-12-31 11:39:33 +01:00
Daniel Eklöf
e05d586f17
bar/wayland: WL_OUTPUT_MODE_PREFERRED doesn't meen this *output* is preferred
...
It means the *mode* (width, height, refresh) is the preferred one for
*this* output.
2019-12-31 11:16:23 +01:00
Daniel Eklöf
d4201723a6
PKGBUILD/meson: require fcft 0.4.x
2019-12-05 19:40:23 +01:00
Daniel Eklöf
4a50dba46b
fcft: update to 0.4.0
2019-12-05 19:39:53 +01:00
Daniel Eklöf
d535132e23
fcft: update to 0.3.5
2019-12-04 22:06:22 +01:00
Daniel Eklöf
7331c72334
fcft: update to 0.3.3
2019-12-04 20:14:48 +01:00
Daniel Eklöf
4a9530881a
fcft: update to 0.3.0
2019-12-03 21:05:32 +01:00
Daniel Eklöf
b3f1694cb9
Merge branch 'fcft-0.2.0'
2019-12-01 19:30:23 +01:00
Daniel Eklöf
fb14c788df
PKGBUILD: require fcft >= 0.2.0
2019-12-01 19:30:03 +01:00
Daniel Eklöf
d6d4ee2fbd
meson: require fcft 0.2.0
2019-12-01 19:29:47 +01:00
Daniel Eklöf
677c43ea60
config: font_from_name() no longer accepts a tllist
2019-12-01 19:29:36 +01:00
Daniel Eklöf
8a4d9137ff
particle/string: remove useless debug log
2019-12-01 19:29:27 +01:00
Daniel Eklöf
6dfe479ddc
fcft: bump to 0.2.0
2019-12-01 19:29:19 +01:00
Daniel Eklöf
05a8528172
PKGBUILD: tllist is only a make dependency
2019-12-01 19:29:09 +01:00
Daniel Eklöf
da46c8c49c
meson: fcft: version must be 0.1.x
2019-12-01 18:46:21 +01:00
Daniel Eklöf
3719bbc593
meson: add 'fcft' dependency to decorations and modules
...
This should fix build failures when building plugins as shared
modules.
2019-12-01 18:02:23 +01:00
Daniel Eklöf
c7e10c48b7
fcft: bump
2019-12-01 18:00:12 +01:00
Daniel Eklöf
075b095271
PKGBUILD/meson: add version requirements to tllist+fcft
2019-12-01 17:43:12 +01:00
Daniel Eklöf
696bef573b
fcft: bump version to 0.1.0
2019-12-01 17:43:11 +01:00
Daniel Eklöf
57b1ecba9c
PKGBUILD: don't allow subproject fallback
2019-12-01 16:25:22 +01:00
Daniel Eklöf
80f9f5d249
fcft: bump
2019-12-01 16:25:16 +01:00
Daniel Eklöf
4cdaec00a0
wlr-protocols: bump
2019-12-01 16:25:10 +01:00
Daniel Eklöf
331f7d0be2
meson: group tllist/fcft with the other system dependencies
2019-12-01 16:09:49 +01:00
Daniel Eklöf
64844a8937
meson: tllist/fcft: use system dependency first, fallback to subprojects
2019-12-01 16:07:56 +01:00
Daniel Eklöf
dea021e8ef
Merge branch 'use-fcft'
2019-12-01 16:02:04 +01:00
Daniel Eklöf
efd27c41ad
PKGBUILD: we depend on tllist and fcft instead of fontconfig/freetype
2019-12-01 16:01:39 +01:00
Daniel Eklöf
51a6631c19
fcft: use fcft instead of local copy of font.{c,h}
2019-12-01 16:00:15 +01:00
Daniel Eklöf
75d9c9a12d
tllist: add git submodule directly under subprojects
...
Meson now falls back to a system dependency if the subproject isn't
available.
2019-12-01 15:51:57 +01:00
Daniel Eklöf
3f663a0e6f
tllist: remove git submodule and local copy under subprojects
2019-12-01 15:50:45 +01:00
Daniel Eklöf
7b4dbf384c
font: ceil:ing the top value seems to look better when scaled
2019-11-30 23:30:48 +01:00
Daniel Eklöf
5ab35a38d5
font: fix estimated underline thickness; descent is typically negative
2019-11-30 23:14:26 +01:00
Daniel Eklöf
9c89250a2d
font: fix fixed-float -> double conversion
2019-11-30 15:41:13 +01:00
Daniel Eklöf
c85e52c3c3
font: sync underline_strikeout_metrics() with more recent version of font
...
Sigh, I really need to break out font.c/font.h to a separate
library...
2019-11-30 15:40:21 +01:00
Daniel Eklöf
2d343755ce
particle/string: mbstowcs() may fail. When it does, don't crash
2019-11-29 23:32:27 +01:00
Daniel Eklöf
732470e5a6
font: use double, not int, in intermediate metrics calculation
2019-11-27 21:53:27 +01:00
Daniel Eklöf
fa725c69d5
font: ceil and scale glyph horizontal advance
2019-11-27 21:43:52 +01:00
Daniel Eklöf
303b61a2e6
font: fix calculation of scaled glyph horizontal offset
2019-11-27 21:42:16 +01:00
Daniel Eklöf
e837e71179
font: set pixman filter when re-scaling glyph
2019-11-27 21:41:49 +01:00
Daniel Eklöf
c72893637c
font: force a pixel fixup factor for scalable bitmap fonts
...
That is, for color bitmap fonts (typically emoji fonts). Use the same
calculation used by fontconfig's 10-scale-bitmap-fonts.conf.
Note: if the user has enabled bitmap font scaling in general, we'll
pick it up and scale the final glyph image, regardless of whether the
font is a regular bitmap font, or a color bitmap font.
But, if the user has disabled bitmap font scaling, we only force a
fixup factor on color bitmap fonts.
2019-11-27 21:41:29 +01:00
Daniel Eklöf
7e8617f090
font: use FT_Set_Pixel_Sizes() instead of FT_Set_Char_Size()
...
And bail out if we fail
2019-11-27 21:40:02 +01:00
Daniel Eklöf
feddc19b36
font: rename 'size' -> 'pixel_size'
2019-11-27 21:39:30 +01:00
Daniel Eklöf
b48365aa86
font: remove the fextents sub-struct
2019-11-27 21:38:49 +01:00
Daniel Eklöf
9fb3c58588
generate-version: redirect *both* stdout and stderr to /dev/null
2019-11-27 21:20:41 +01:00
Daniel Eklöf
928c7ff4d3
tllist: finally, a static copy of external/tllist
2019-11-24 15:19:04 +01:00
Daniel Eklöf
6875bea64a
tllist: remove what still appears to be a git submodule from subprojects
2019-11-24 15:18:22 +01:00
Daniel Eklöf
c2da3184c8
Merge branch 'dont-use-git-submodules-in-subprojects'
2019-11-24 15:15:55 +01:00