From 14eca8703c65bd3d20f8b603264e5181db00b866 Mon Sep 17 00:00:00 2001 From: Vincent Wei Date: Tue, 9 Apr 2019 15:26:07 +0800 Subject: [PATCH] debug --- src/newgdi/layout.c | 4 ---- src/newgdi/shape-glyphs-complex.c | 1 + 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/src/newgdi/layout.c b/src/newgdi/layout.c index cd7673b4..dc5269c7 100644 --- a/src/newgdi/layout.c +++ b/src/newgdi/layout.c @@ -1847,10 +1847,6 @@ static Uint32 get_line_alignment(const LAYOUT *layout, else alignment = GRF_ALIGN_RIGHT; break; - - default: - alignment = GRF_ALIGN_LEFT; - break; } return alignment; diff --git a/src/newgdi/shape-glyphs-complex.c b/src/newgdi/shape-glyphs-complex.c index 188b3423..8f1187c6 100644 --- a/src/newgdi/shape-glyphs-complex.c +++ b/src/newgdi/shape-glyphs-complex.c @@ -305,6 +305,7 @@ error: BOOL GUIAPI InitComplexShapingEngine(TEXTRUNS* truns) { + // TODO: check using ttf fonts truns->sei.inst = create_instance(); truns->sei.shape = shape_layout_run; truns->sei.free = destroy_instance;