Giter Site home page Giter Site logo

Comments (6)

TheOneric avatar TheOneric commented on September 26, 2024

Thanks for your report! Unfortunately though, it is not immedeatily obvious to me what issue you are referring to and you will need to be a bit more precise.
Checking against Google’s online rendering nothing stands out to me on first glance:
grafik

  • Describe in detail what exactly appears wrong to you? What result were you expecting instead?
  • Replace put-your-other-options-here to match your example (using the real video and subtitle file used to produce the screenshot) and then run ffmpeg -v debug put-your-other-options-here 2>&1 | tee -a 691.log and upload the resulting 691.log file. This is important to see which fonts get actually selected and gives more info about your libass version.
  • Please provide the exact command line options you were using (you can redact file paths)
  • If you have access to a MS Windows installation, have you checked if VSFilter produces the same result? (ideally xy-VSFilter and mention what version of Windows you were testing on)

from libass.

rahulshivajipawar avatar rahulshivajipawar commented on September 26, 2024

The precise issue is that background is not wrapped correctly around "spaces" between words and at the "period".

from libass.

rcombs avatar rcombs commented on September 26, 2024

So this is specific to BorderStyle 3, then?

from libass.

astiob avatar astiob commented on September 26, 2024

from libass.

rahulshivajipawar avatar rahulshivajipawar commented on September 26, 2024

So this is specific to BorderStyle 3, then?

Yes, this is specific to BorderStyle 3.

from libass.

rahulshivajipawar avatar rahulshivajipawar commented on September 26, 2024

Based on the screenshots, looks like a case where the named font doesn't contain Kannada (but does contain spaces and full stops) and a substitute font with different metrics is selected.We render BorderStyle 3 for each glyph, but it should be rendered for each glyph run using the main font's metrics. In fact, the metrics of glyphwise substitute fonts should not affect anything, not only BorderStyle 3. For example, line height/spacing suffers as well.

You are correct. I tried changing the font type from "Noto Sans" to "Noto Sans Kannada" in ass file, then all the glyphs are rendered consistently. During the original rendering, "spaces" and "period" were probably rendered using "Noto Sans" font while the rest of the glyphs were rendered using the substitute font "Noto Sans Kannada."
Screenshot 2023-05-03 at 9 05 28 AM

from libass.

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.