From bd3b316f2ede0c865bb563c5e59cf0b85bfcc897 Mon Sep 17 00:00:00 2001 From: ac79b0c6 <105047743+ac79b0c6@users.noreply.github.com> Date: Thu, 12 May 2022 15:46:37 +0800 Subject: update mkvlib:long log --- mkvlib/ass.go | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'mkvlib/ass.go') diff --git a/mkvlib/ass.go b/mkvlib/ass.go index ae54e12..71d8807 100644 --- a/mkvlib/ass.go +++ b/mkvlib/ass.go @@ -394,7 +394,7 @@ func (self *assProcessor) checkFontMissing(f *fontInfo, i int, c bool) bool { } if _str != "" { _str = stringDeduplication(_str) - printLog(self.lcb, `{%s%02d}Font [%s] missing normal char(s): "%s"`, h, i, f.oldName, _str) + printLog(self.lcb, `{%s%02d}Font [%s] -> "%s"[%d] missing normal char(s): "%s"`, h, i, f.oldName, f.file, f.index, _str) } if len(_runes) > 0 { _str = "" @@ -402,7 +402,7 @@ func (self *assProcessor) checkFontMissing(f *fontInfo, i int, c bool) bool { _str += fmt.Sprintf(`,0x%x`, _rune) } _str = _str[1:] - printLog(self.lcb, `{%s%02d}Font [%s] missing special char(s): "%s"`, h, i, f.oldName, _str) + printLog(self.lcb, `{%s%02d}Font [%s] -> "%s"[%d] missing special char(s): "%s"`, h, i, f.oldName, f.file, f.index, _str) } return _str == "" && len(_runes) == 0 } @@ -543,6 +543,9 @@ func (self *assProcessor) reMap() { m[v.file].runes = append(m[v.file].runes, v.runes...) } } + for _, v := range m { + printLog(self.lcb, `Font selected:[%s] -> "%s"[%d]`, v.oldName, v.file, v.index) + } self.m = m } -- cgit v1.2.1