172 for subs_idx in range(subs_count): |
172 for subs_idx in range(subs_count): |
173 styleIsUsed[subs_idx - subs_start] = True |
173 styleIsUsed[subs_idx - subs_start] = True |
174 font = lex.font(subs_start + subs_idx) |
174 font = lex.font(subs_start + subs_idx) |
175 colour = lex.color(subs_start + subs_idx) |
175 colour = lex.color(subs_start + subs_idx) |
176 paper = lex.paper(subs_start + subs_idx) |
176 paper = lex.paper(subs_start + subs_idx) |
177 html += '.S{0:d} {{\n'.format(subs_idx - subs_start) |
177 html += '.S{0:d} {{\n'.format( |
|
178 subs_idx - subs_start) |
178 if font.italic(): |
179 if font.italic(): |
179 html += ' font-style: italic;\n' |
180 html += ' font-style: italic;\n' |
180 if font.bold(): |
181 if font.bold(): |
181 html += ' font-weight: bold;\n' |
182 html += ' font-weight: bold;\n' |
182 if wysiwyg: |
183 if wysiwyg: |