Implement pangotext.c functions
Add new files src/pangotext.c and src/pangotext.h. Add these files to src/Makefile.am and po/POTFILES.in
In pangotext.c, #include at least "support.h" and "main.h", "colourspace.h" and (for now) plugins.h
create various new functions:
char **get_font_
gboolean render_
You will need to use some functions from colourspace.c
lives_text_mode_t should be defined in pangotext.h, like this:
typedef enum {
LIVES_
LIVES_
LIVES_
} lives_textmode_t;
- should work identically to the plugin scribbler function (except we have a layer instead of a channel). If layer "pixel_data" is NULL, create it and act like the generator version of the plugin. Otherwise act like the effect version. Return FALSE on error and TRUE on success.
- convert the layer palette to WEED_PALETTE_RGB24, unless the palette is BGR24 or BGRA32 (then convert it to BGR24)
char *get_srt_text(int fd, double xtime) - pull text from .srt file for time xtime (seconds) and return it
(see: http://
Blueprint information
- Status:
- Not started
- Approver:
- None
- Priority:
- Undefined
- Drafter:
- salsaman
- Direction:
- Needs approval
- Assignee:
- Aleksej Penkov
- Definition:
- New
- Series goal:
- None
- Implementation:
- Unknown
- Milestone target:
- None
- Started by
- Completed by