diff options
Diffstat (limited to 'EdkCompatibilityPkg/Foundation/Library/Dxe/PrintLite')
-rw-r--r-- | EdkCompatibilityPkg/Foundation/Library/Dxe/PrintLite/BoxDraw.c | 114 |
1 files changed, 57 insertions, 57 deletions
diff --git a/EdkCompatibilityPkg/Foundation/Library/Dxe/PrintLite/BoxDraw.c b/EdkCompatibilityPkg/Foundation/Library/Dxe/PrintLite/BoxDraw.c index 0fb537829b..a510a52967 100644 --- a/EdkCompatibilityPkg/Foundation/Library/Dxe/PrintLite/BoxDraw.c +++ b/EdkCompatibilityPkg/Foundation/Library/Dxe/PrintLite/BoxDraw.c @@ -42,64 +42,64 @@ typedef struct { //
static UNICODE_TO_CHAR UnicodeToPcAnsiOrAscii[] = {
- BOXDRAW_HORIZONTAL, 0xc4, L'-',
- BOXDRAW_VERTICAL, 0xb3, L'|',
- BOXDRAW_DOWN_RIGHT, 0xda, L'/',
- BOXDRAW_DOWN_LEFT, 0xbf, L'\\',
- BOXDRAW_UP_RIGHT, 0xc0, L'\\',
- BOXDRAW_UP_LEFT, 0xd9, L'/',
- BOXDRAW_VERTICAL_RIGHT, 0xc3, L'|',
- BOXDRAW_VERTICAL_LEFT, 0xb4, L'|',
- BOXDRAW_DOWN_HORIZONTAL, 0xc2, L'+',
- BOXDRAW_UP_HORIZONTAL, 0xc1, L'+',
- BOXDRAW_VERTICAL_HORIZONTAL, 0xc5, L'+',
- BOXDRAW_DOUBLE_HORIZONTAL, 0xcd, L'-',
- BOXDRAW_DOUBLE_VERTICAL, 0xba, L'|',
- BOXDRAW_DOWN_RIGHT_DOUBLE, 0xd5, L'/',
- BOXDRAW_DOWN_DOUBLE_RIGHT, 0xd6, L'/',
- BOXDRAW_DOUBLE_DOWN_RIGHT, 0xc9, L'/',
- BOXDRAW_DOWN_LEFT_DOUBLE, 0xb8, L'\\',
- BOXDRAW_DOWN_DOUBLE_LEFT, 0xb7, L'\\',
- BOXDRAW_DOUBLE_DOWN_LEFT, 0xbb, L'\\',
- BOXDRAW_UP_RIGHT_DOUBLE, 0xd4, L'\\',
- BOXDRAW_UP_DOUBLE_RIGHT, 0xd3, L'\\',
- BOXDRAW_DOUBLE_UP_RIGHT, 0xc8, L'\\',
- BOXDRAW_UP_LEFT_DOUBLE, 0xbe, L'/',
- BOXDRAW_UP_DOUBLE_LEFT, 0xbd, L'/',
- BOXDRAW_DOUBLE_UP_LEFT, 0xbc, L'/',
- BOXDRAW_VERTICAL_RIGHT_DOUBLE, 0xc6, L'|',
- BOXDRAW_VERTICAL_DOUBLE_RIGHT, 0xc7, L'|',
- BOXDRAW_DOUBLE_VERTICAL_RIGHT, 0xcc, L'|',
- BOXDRAW_VERTICAL_LEFT_DOUBLE, 0xb5, L'|',
- BOXDRAW_VERTICAL_DOUBLE_LEFT, 0xb6, L'|',
- BOXDRAW_DOUBLE_VERTICAL_LEFT, 0xb9, L'|',
- BOXDRAW_DOWN_HORIZONTAL_DOUBLE, 0xd1, L'+',
- BOXDRAW_DOWN_DOUBLE_HORIZONTAL, 0xd2, L'+',
- BOXDRAW_DOUBLE_DOWN_HORIZONTAL, 0xcb, L'+',
- BOXDRAW_UP_HORIZONTAL_DOUBLE, 0xcf, L'+',
- BOXDRAW_UP_DOUBLE_HORIZONTAL, 0xd0, L'+',
- BOXDRAW_DOUBLE_UP_HORIZONTAL, 0xca, L'+',
- BOXDRAW_VERTICAL_HORIZONTAL_DOUBLE, 0xd8, L'+',
- BOXDRAW_VERTICAL_DOUBLE_HORIZONTAL, 0xd7, L'+',
- BOXDRAW_DOUBLE_VERTICAL_HORIZONTAL, 0xce, L'+',
-
- BLOCKELEMENT_FULL_BLOCK, 0xdb, L'*',
- BLOCKELEMENT_LIGHT_SHADE, 0xb0, L'+',
-
- GEOMETRICSHAPE_UP_TRIANGLE, 0x1e, L'^',
- GEOMETRICSHAPE_RIGHT_TRIANGLE, 0x10, L'>',
- GEOMETRICSHAPE_DOWN_TRIANGLE, 0x1f, L'v',
- GEOMETRICSHAPE_LEFT_TRIANGLE,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bc, L'/'},
+ {BOXDRAW_VERTICAL_RIGHT_DOUBLE, 0xc6, L'|'},
+ {BOXDRAW_VERTICAL_DOUBLE_RIGHT, 0xc7, L'|'},
+ {BOXDRAW_DOUBLE_VERTICAL_RIGHT, 0xcc, L'|'},
+ {BOXDRAW_VERTICAL_LEFT_DOUBLE, 0xb5, L'|'},
+ {BOXDRAW_VERTICAL_DOUBLE_LEFT, 0xb6, L'|'},
+ {BOXDRAW_DOUBLE_VERTICAL_LEFT, 0xb9, L'|'},
+ {BOXDRAW_DOWN_HORIZONTAL_DOUBLE, 0xd1, L'+'},
+ {BOXDRAW_DOWN_DOUBLE_HORIZONTAL, 0xd2, L'+'},
+ {BOXDRAW_DOUBLE_DOWN_HORIZONTAL, 0xcb, L'+'},
+ {BOXDRAW_UP_HORIZONTAL_DOUBLE, 0xcf, L'+'},
+ {BOXDRAW_UP_DOUBLE_HORIZONTAL, 0xd0, L'+'},
+ {BOXDRAW_DOUBLE_UP_HORIZONTAL, 0xca, L'+'},
+ {BOXDRAW_VERTICAL_HORIZONTAL_DOUBLE, 0xd8, L'+'},
+ {BOXDRAW_VERTICAL_DOUBLE_HORIZONTAL, 0xd7, L'+'},
+ {BOXDRAW_DOUBLE_VERTICAL_HORIZONTAL, 0xce, L'+'},
+
+ {BLOCKELEMENT_FULL_BLOCK, 0xdb, L'*'},
+ {BLOCKELEMENT_LIGHT_SHADE, 0xb0, L'+'},
+
+ {GEOMETRICSHAPE_UP_TRIANGLE, 0x1e, L'^'},
+ {GEOMETRICSHAPE_RIGHT_TRIANGLE, 0x10, L'>'},
+ {GEOMETRICSHAPE_DOWN_TRIANGLE, 0x1f, L'v'},
+ {GEOMETRICSHAPE_LEFT_TRIANGLE, 0x11, L'<'},
+
+ {ARROW_LEFT, 0x3c, L'<'},
+
+ {ARROW_UP, 0x18, L'^'},
+
+ {ARROW_RIGHT, 0x3e, L'>'},
+
+ {ARROW_DOWN, 0x19, L'v'},
- 0x0000, 0x00
+ {0x0000, 0x00, L'\0'},
};
|