Open ctrlcctrlv opened 5 years ago
Thanks. This is unrelated, but is it possible to stroke a path A with another path B, where B does not turn as it transverses path A...like this:
https://i.ytimg.com/vi/Sj64ocyCmRI/maxresdefault.jpg
Some call these "vector brushes"
Alas, no. The closest is adjusting the stroke rotation with the weight nodes, but the "brush" is still just a straight line.
Got it, I figured that. Thanks a lot for the help. Here's hoping for vector brushes someday :-)
So, took an embarrassing amount of time, but finally made a little progress here.
You can now run Laidout with laidout --uiscale 2
, or put a line uiscale 2
in laidoutrc and the default scale of text and various controls in on-canvas interfaces is boosted by the specified number. This currently forces icon scale, which makes them a bit fuzzy, so one would still need to rescale icon files manually for crisper icons at the moment.
I'm working on being able to rescale icon files and set uiscale from a settings window while running Laidout instead of messing with laidoutrc. Hopefully I can make that work in less than 2 years this time!
So, missed the 2 year mark, but a little more progress here!
Laidout can now scale UI a few different ways:
laidout --uiscale (any positive number)
or set uiscale in the laidoutrc file.Also, if you drag a window between screens with different dpi scales, ui scale will change according to what X11 reports as pixel density of the monitor. This feature is also work in progress, as my own monitors aren't really different enough to adequately test.
My goals for this issue:
A lot of this is pretty new code, so there's probably glitches here and there. I'm aiming for doing more testing before this year's Libre Graphics Meeting in May. Otherwise at my rate of progress, further updates will come sometime within the next 4 years!
I have something in the works for live update of the UI scale, but it's not ready yet. Part of a larger overhaul of window theming. Not sure when that will be ready.
As a workaround, there's two main parts to the scaling. First is font size. This used to be adjustable, but I seem to have broken it at some point. Normally, you would specify theme fontsize in ~/.config/laidout/(version)/laidoutrc.
Then there's icons. You will need to rebuild the icons in a larger size. First go to laidout/src/icons, then run:
These new icons can either be built into the install or use them as a custom icon_dir set in the laidoutrc.
Responding to GDK_SCALE or QT_SCREEN_SCALE_FACTOR (or maybe only QT_SCALE_FACTOR) shouldn't be too hard, at least for fonts. I'll add that to my theme todo list.