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

Use libxml2 to get info from svg files for frame counts since librsvg doesn't let you access the description anymore. #5

Closed
wants to merge 1 commit into from

Conversation

phuff
Copy link
Contributor

@phuff phuff commented May 2, 2019

Librsvg doesn't give access to the internal xml structure of an SVG any more, and since frame counts are embedded in the attribute of the svg's in tuxmath, we need to switch to libxml2 to get framecounts when loading svg sprites.

… doesn't let you access the description anymore.
@phuff
Copy link
Contributor Author

phuff commented May 2, 2019

Oh -- and I also included a change necessary to get builds to work.

wjt added a commit to wjt/com.tux4kids.tuxmath that referenced this pull request Nov 20, 2019
Includes a backport of tux4kids/t4kcommon#5 to
deal with rsvg_handle_get_desc() always returning NULL in modern
librsvg.
wjt added a commit to wjt/com.tux4kids.tuxtype that referenced this pull request Nov 21, 2019
Includes a backport of tux4kids/t4kcommon#5 to
deal with rsvg_handle_get_desc() always returning NULL in modern
librsvg.
@h01ger
Copy link
Contributor

h01ger commented May 25, 2020

thanks, merged

@h01ger h01ger closed this May 25, 2020
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.

None yet

2 participants