+ out = io.open(output, 'w', encoding='utf_8', newline='\n')
+ GuiName = re.compile(r'^[^#]*GuiName\s+(.*)', re.IGNORECASE)
+
+ for src in input_files:
+ descStartLine = -1
+ descLines = []
+ lineno = 0
+ for line in io.open(src, encoding='utf_8').readlines():
+ lineno += 1
+ res = GuiName.search(line)
+ if res != None:
+ string = res.group(1)
+ writeString(out, src, base, lineno, string)
+ continue
+
+ out.close()
+
+
+def latexfonts_l10n(input_files, output, base):
+ '''Generate pot file from lib/latexfonts'''
+ out = io.open(output, 'w', encoding='utf_8', newline='\n')