Comments (6)
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:
- 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 runffmpeg -v debug put-your-other-options-here 2>&1 | tee -a 691.log
and upload the resulting691.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.
The precise issue is that background is not wrapped correctly around "spaces" between words and at the "period".
from libass.
So this is specific to BorderStyle 3, then?
from libass.
from libass.
So this is specific to BorderStyle 3, then?
Yes, this is specific to BorderStyle 3.
from libass.
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."
from libass.
Related Issues (20)
- Rendering: natural line break punctuation position in RTL languages HOT 2
- Consider adding SHSTK support HOT 4
- [DirectWrite] Does not select the right font when 2 fonts have similar attributes HOT 4
- API to discard older events from memory HOT 2
- Rendering: Different case for a non-ASCII character doesn't find the font
- Rendering: Difference in font size with Roboto Medium in VSFilter and libass HOT 3
- checkasm struggles with PIC on (64-bit) Haiku HOT 13
- Separate muxed/memory fonts from system fonts
- build: Windows 10 + msys2 (with winiconv): passing argument 2 of 'iconv' from incompatible pointer type HOT 2
- warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argumentbuild: HOT 3
- Rendering: Incorrect font variant being selected HOT 13
- Overhaul fontselect: individual, cached, full-detail queries HOT 6
- Rendering: Start Delay Issue in libass Rendering Karaoke Subtitles HOT 10
- Discuss: -ffast-math and other math optimization flags HOT 10
- How to select Cascadia Mono font? HOT 8
- [DirectWrite] libass doesn't always find a fallback font HOT 2
- Artefacts near border corners with specific resolutions HOT 2
- morx substituions aren't ignored in libass HOT 2
- Is there a perspective value for rotates in libass? HOT 5
- Rendering: Incorrect rendering Arabic language HOT 11
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from libass.