Add strikethrough support for fonts defined in XRC

Handle this attribute as well as "underlined" for completeness.
This commit is contained in:
Vadim Zeitlin
2018-09-15 13:51:36 +02:00
parent ca164bb4ca
commit f085981601
5 changed files with 14 additions and 1 deletions

View File

@@ -462,6 +462,7 @@ t_font = (
[xrc:p="o"] element family {_, ("roman" | "script" | "decorative" | "swiss" |
"modern" | "teletype") }* &
[xrc:p="o"] element underlined {_, t_bool }* &
[xrc:p="o"] element strikethrough{_, t_bool }* &
[xrc:p="o"] element face {_, t_text }* &
[xrc:p="o"] element encoding {_, t_text }* &
[xrc:p="o"] element sysfont {_, ("wxSYS_OEM_FIXED_FONT" | "wxSYS_ANSI_FIXED_FONT" |