summaryrefslogtreecommitdiff
path: root/mkvlib/ass.go
diff options
context:
space:
mode:
authorac79b0c6 <[email protected]>2022-05-12 15:46:37 +0800
committerac79b0c6 <[email protected]>2022-05-12 15:46:37 +0800
commitbd3b316f2ede0c865bb563c5e59cf0b85bfcc897 (patch)
tree9eafdb5a65b44538948afa7c03bce84a46e88fdb /mkvlib/ass.go
parent5a10125ee80132b5e192907e08131dcf7abf6526 (diff)
update mkvlib:long log
Diffstat (limited to 'mkvlib/ass.go')
-rw-r--r--mkvlib/ass.go7
1 files changed, 5 insertions, 2 deletions
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
}