waddou / libass

Automatically exported from code.google.com/p/libass
1 stars 0 forks source link

Multiple drawing commands per line don't work. #101

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
>What steps will reproduce the problem?
1. try to draw multiple vector-graphics using multiple \p tags in one line
2. Only the first(or last?) sequence will be rendered, all others will be 
ignored

>What is the expected output? What do you see instead?
See attechment #1

>What version of the product are you using? On what operating system?
libass @ ed55e32 in very recent mpv on recent OS X.

>Please provide any additional information below. If relevant, please attach
the ASS/SSA script file and any fonts used in it.
Clip with issue attached.

Example line:
{\blur1\fscy110\fscx160\bord0\p1\c&H333338&\pos(666.971,709.715)}m 0 0 l 80 0 
80 40 0 40 {\p1\c&H505253&}m 50 0 l 130 0 130 40 50 40

Original issue reported on code.google.com by s...@kalania.de on 14 Apr 2013 at 9:32

Attachments:

GoogleCodeExporter commented 8 years ago
With libass, you need to explicitly end a drawing (\p0) before a new one can be 
started. Looks like it is different in VSFilter.

Original comment by g...@chown.ath.cx on 14 Apr 2013 at 9:52

GoogleCodeExporter commented 8 years ago
Ah, yes. adding \p0 before \p1 fixes it. Maybe libass should be able to do that 
on its own internally, for compatibility (I know, I know ...)

Original comment by s...@kalania.de on 15 Apr 2013 at 12:27

GoogleCodeExporter commented 8 years ago
Fixed in git by chortos.

Original comment by nfxjfg@googlemail.com on 14 Jan 2014 at 5:42