You've already forked libopenshot
mirror of
https://github.com/OpenShot/libopenshot.git
synced 2026-03-02 08:53:52 -08:00
Add ability to apply style sheet/css to format HTML
This commit is contained in:
@@ -45,6 +45,7 @@ int main(int argc, char* argv[]) {
|
||||
5, // y_offset
|
||||
GRAVITY_CENTER, // gravity
|
||||
"<span style=\"font-family:sans-serif; color:#fff;\"><b>Check out</b> this Text!</span>", // html
|
||||
"b { color: #ff0000; }",
|
||||
"#000000" // background_color
|
||||
);
|
||||
r.Open(); // Open the reader
|
||||
|
||||
Reference in New Issue
Block a user