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

make-xges: Perform a simplistic conversion of text annotations #9

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

jhenstridge
Copy link
Member

@jhenstridge jhenstridge commented Apr 7, 2021

Here's a first attempt to get text annotations working. It is enough to get @symptog's presentation to render the text (at about the 50 second mark):

annotations-test2.mp4

... however it has some limitations. Namely it will not wrap long lines to fit the bounding box of the original HTML text. The positioning is not quite the same either, since the SVG text is positioned by the baseline rather than top left of bounding box.

I needed to convert the color CSS property to fill for colour to be applied. It's possible some other properties might need adjusting too.

@defnull
Copy link

defnull commented Apr 16, 2021

Proper text rendering could be don with pango. I'm working on that. Unfortunately, my fork already diverged too much to make a PR feasible :/

@Zorlin
Copy link

Zorlin commented Apr 16, 2021 via email

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.

3 participants