Skip to content

Update sctk-adwaita#2438

Merged
kchibisov merged 2 commits into
rust-windowing:masterfrom
daxpedda:update-sctk-adwaita
Aug 24, 2022
Merged

Update sctk-adwaita#2438
kchibisov merged 2 commits into
rust-windowing:masterfrom
daxpedda:update-sctk-adwaita

Conversation

@daxpedda
Copy link
Copy Markdown
Member

sctk-adwaita now uses ab_glyph instead of crossfont. As far as I can tell this isn't a breaking change.

I'm not sure if some users would prefer crossfont over ab_glyph. Alternatively we could add another crate feature for that? I think it would have been better to remove wayland-csd-adwaita-notitle and add wayland-csd-adwaita-ab-glyph and wayland-csd-adwaita-crossfont instead, but it's too late for that now.

Fixes #2373.

Copy link
Copy Markdown
Member

@kchibisov kchibisov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We could add as an option, but I'd prefer crossfont to have native looks of the fonts instead of whatever ab_glyph is using. I agree that we should change default for that. It also uses some random hardcoded font instead of system font, like crossfont does.

But for default rust windowing library using rust font renderer is likely easier to test and cross build since most of the users don't care.

Also you should update the CI script to remove all the extra deps installing.

Comment thread Cargo.toml Outdated
@daxpedda daxpedda force-pushed the update-sctk-adwaita branch from 3dfa1bd to 83c9d3f Compare August 23, 2022 19:41
Comment thread Cargo.toml
@daxpedda daxpedda requested a review from kchibisov August 23, 2022 20:02
Comment thread CHANGELOG.md Outdated
@daxpedda daxpedda force-pushed the update-sctk-adwaita branch from 336b7e3 to 3fae355 Compare August 23, 2022 20:25
@daxpedda daxpedda requested a review from kchibisov August 23, 2022 20:26
Comment thread CHANGELOG.md Outdated
Comment thread CHANGELOG.md Outdated
@daxpedda daxpedda force-pushed the update-sctk-adwaita branch from 3fae355 to 967ec6e Compare August 23, 2022 20:31
@daxpedda daxpedda requested review from kchibisov and removed request for kchibisov August 23, 2022 20:32
Copy link
Copy Markdown
Member

@kchibisov kchibisov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should be fine that way, I guess.

@daxpedda daxpedda force-pushed the update-sctk-adwaita branch from 967ec6e to 46f6bc9 Compare August 23, 2022 20:37
Comment thread Cargo.toml Outdated
Copy link
Copy Markdown
Member

@kchibisov kchibisov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should add default-features = false to sctk-adwaita.

@daxpedda daxpedda force-pushed the update-sctk-adwaita branch from 46f6bc9 to eec92b5 Compare August 24, 2022 03:49
@daxpedda daxpedda requested review from alexheretic and kchibisov and removed request for alexheretic and kchibisov August 24, 2022 03:50
@daxpedda daxpedda requested a review from kchibisov August 24, 2022 03:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

winit suddenly requires cmake dependency

3 participants