GithubHelp home page GithubHelp logo

Comments (7)

palemieux avatar palemieux commented on May 28, 2024 1

@TobbeEdgeware My understanding is that the paragraph width fills the entire region's width, and thus the background of the paragraph is that of the region.

from imscjs.

palemieux avatar palemieux commented on May 28, 2024

ebutts:linePadding must be applied to <p> (or an ancestor) and the namespace is xmlns:ebutts="urn:ebu:tt:style"

from imscjs.

TobbeEdgeware avatar TobbeEdgeware commented on May 28, 2024

I see. Makes sense. I updated the first cues in the sample, but now I get far too much padding, not just half a character but ~8 characters on each side. Is there anything else that is wrong?

from imscjs.

palemieux avatar palemieux commented on May 28, 2024

Is there anything else that is wrong?

Try it at http://sandflow.com/imsc1proc/index.html and tell me if it looks as intended.

from imscjs.

TobbeEdgeware avatar TobbeEdgeware commented on May 28, 2024

I did before posting.
screen shot 2017-05-11 at 00 34 32

I even removed the <span> I had before so that there was no whitespace in the paragraph:

     <p xml:id="sub00000" begin="00:00:00.000" end="00:00:01.000" style="s1">swe : 00:00:00.000</p>

from imscjs.

palemieux avatar palemieux commented on May 28, 2024

tts:backgroundColor needs to be applied to the span only, otherwise the entire region background will be colored.

from imscjs.

TobbeEdgeware avatar TobbeEdgeware commented on May 28, 2024

I find it strange that the background can leak from the paragraph into the whole region, but if I change it I can get the behavior I want.

from imscjs.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.