feat: improved text width measuring (#322)
This commit is contained in:

committed by
GitHub

parent
26648f081a
commit
bef4a77139
@@ -142,6 +142,9 @@ ui_scale=1
|
||||
font_scale=1
|
||||
# Border of text and icons when drawn directly on top of video
|
||||
text_border=1.2
|
||||
# Use a faster estimation method instead of accurate measurement
|
||||
# setting this to `no` might have a noticable impact on performance, especially in large menus.
|
||||
text_width_estimation=yes
|
||||
# Execute command for background clicks shorter than this number of milliseconds, 0 to disable
|
||||
# Execution always waits for `input-doubleclick-time` to filter out double-clicks
|
||||
click_threshold=0
|
||||
@@ -176,10 +179,6 @@ stream_quality_options=4320,2160,1440,1080,720,480,360,240,144
|
||||
media_types=3g2,3gp,aac,aiff,ape,apng,asf,au,avi,avif,bmp,dsf,f4v,flac,flv,gif,h264,h265,j2k,jp2,jfif,jpeg,jpg,jxl,m2ts,m4a,m4v,mid,midi,mj2,mka,mkv,mov,mp3,mp4,mp4a,mp4v,mpeg,mpg,oga,ogg,ogm,ogv,opus,png,rm,rmvb,spx,svg,tak,tga,tta,tif,tiff,ts,vob,wav,weba,webm,webp,wma,wmv,wv,y4m
|
||||
# File types to look for when loading external subtitles
|
||||
subtitle_types=aqt,ass,gsub,idx,jss,lrc,mks,pgs,pjs,psb,rt,slt,smi,sub,sup,srt,ssa,ssf,ttxt,txt,usf,vt,vtt
|
||||
# Used to approximate text width
|
||||
# If you are using some wide font and see a lot of right side clipping in menus,
|
||||
# try bumping this up.
|
||||
font_height_to_letter_width_ratio=0.5
|
||||
# Default open-file menu directory
|
||||
default_directory=~/
|
||||
|
||||
|
Reference in New Issue
Block a user