Can I use libsvg-android for Webkit?

Asked by Zhaoliyuan

libsvg-android Can do for a plug-in to display SVG format files for webkit?How to embed the webkit in it?

Question information

Language:
English Edit question
Status:
Solved
For:
libsvg-android Edit question
Assignee:
No assignee Edit question
Solved by:
pltxtra
Solved:
Last query:
Last reply:
Revision history for this message
pltxtra (pltxtra) said :
#1

I am afraid I do not know how to do that; I have not worked with the webkit parts of Android.

It should probably work in theory, however libsvg is not a complete SVG implementation. Maybe it is better to take the source for webkit from the Android project and rebuild it with the SVG parts enabled? (Webkit source comes with a complete SVG implementation, if I recall correctly.)

Revision history for this message
Zhaoliyuan (yy85220) said :
#2

Thank you for your answer in a timely fashion。That is libsvg-android is specifically for application development,Is right?

Revision history for this message
Best pltxtra (pltxtra) said :
#3

Yes - the specific purpose is to be able to rasterize static SVG images in Android applications. (i.e. libsvg-android does not support embedded scripts in the SVG file.)

Revision history for this message
Zhaoliyuan (yy85220) said :
#4

Thanks pltxtra, that solved my question.