(doc: Document, info: typing.Sequence)
| 22160 | |
| 22161 | |
| 22162 | def UpdateFontInfo(doc: Document, info: typing.Sequence): |
| 22163 | xref = info[0] |
| 22164 | found = False |
| 22165 | for i, fi in enumerate(doc.FontInfos): |
| 22166 | if fi[0] == xref: |
| 22167 | found = True |
| 22168 | break |
| 22169 | if found: |
| 22170 | doc.FontInfos[i] = info |
| 22171 | else: |
| 22172 | doc.FontInfos.append(info) |
| 22173 | |
| 22174 | |
| 22175 | def args_match(args, *types): |
no test coverage detected
searching dependent graphs…