Opened 19 months ago

Last modified 19 months ago

#9935 new defect

glyphs is broken at drawtext filter

Reported by: zenix Owned by:
Priority: wish Component: avfilter
Version: 4.3.5 Keywords: font
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

Summary of the bug:
glyphs is broken at drawtext filter
when a sentence is mixed other character set
(ex. english+korean)
I ran ffmpeg on windows 10

However I found the solution at libass library
You have to set the substitution font by FcConfigSubstitute function when ffmpeg sets font on drawtext filter.

How to reproduce:

% ffplay -i anything -vf "[in]drawtext=font='Arial':text='ffmpeg 에프에프엠펙'"
ffmpeg version 4.3
built on ... msys2 

Patches should be submitted to the ffmpeg-devel mailing list and not this bug tracker.

Attachments (1)

Cap 2022-09-22 14-47-34-621.jpg (162.3 KB ) - added by zenix 19 months ago.

Download all attachments as: .zip

Change History (3)

comment:1 by zenix, 19 months ago

Component: undeterminedavcodec
Version: unspecified4.3.3

comment:2 by zenix, 19 months ago

Component: avcodecavfilter
Note: See TracTickets for help on using tickets.