diff --git a/pdfminer/layout.py b/pdfminer/layout.py
index <HASH>..<HASH> 100644
--- a/pdfminer/layout.py
+++ b/pdfminer/layout.py
@@ -215,7 +215,7 @@ class LTChar(LTComponent, LTText):
             width = font.get_width() * fontsize
             (vx, vy) = textdisp
             if vx is None:
-                vx = width//2
+                vx = width * 0.5
             else:
                 vx = vx * fontsize * .001
             vy = (1000 - vy) * fontsize * .001
Fixed a layout bug introduced at c<I>ec<I>.