Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support text line through decoration #329

Merged
merged 2 commits into from
Oct 24, 2023
Merged

Conversation

tinchodias
Copy link
Collaborator

First commit is about strikeout / line through... Fixes #327

No test yet. Try with:

aText := 'Hello' asRopedText.
aText fontName: 'Source Code Pro'.
aText fontSize: 122.
aText foreground: Color red.
aText decorationDo: [ :d |
	d underline.
	d color: Color green ].
aText decorationDo: [ :d |
	d lineThrough.
	d color: Color blue ].
aText asElement openInNewSpace

No test yet. Try with:
aText := 'Hello' asRopedText.
aText fontName: 'Source Code Pro'.
aText fontSize: 122.
aText foreground: Color red.
aText decorationDo: [ :d |
	d underline.
	d color: Color green ].
aText decorationDo: [ :d |
	d lineThrough.
	d color: Color blue ].
aText asElement openInNewSpace
@tinchodias tinchodias changed the title Support text decorations (WIP) Support text line through decoration Oct 24, 2023
@tinchodias tinchodias marked this pull request as ready for review October 24, 2023 05:09
@tinchodias tinchodias merged commit 203b85f into dev-1.0 Oct 24, 2023
6 checks passed
@tinchodias tinchodias deleted the text_decorations_fix branch October 24, 2023 05:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

BlRopedText's lineThrough is NotYetImplemented in Bloc-Alexandrie
1 participant