Summary: | weston-terminal too wide in Asian locales | ||
---|---|---|---|
Product: | Wayland | Reporter: | Jens Petersen <petersen> |
Component: | weston | Assignee: | Wayland bug list <wayland-bugs> |
Status: | RESOLVED FIXED | QA Contact: | |
Severity: | normal | ||
Priority: | medium | ||
Version: | unspecified | ||
Hardware: | Other | ||
OS: | All | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Attachments: |
screenshot
screenshot |
Created attachment 78351 [details]
screenshot
Peng Wu posted some patches onto the list which should address this issue. commit f291f2055367cbb1e4f00f269c2c298c642d3ba6 Author: Peng Wu <peng.e.wu@gmail.com> Date: Thu Jun 6 15:32:41 2013 +0800 Use the average width of ASCII glyphs for cell width As some CJK fonts are dual-width, calculate the average width of ASCII glyphs and use that instead of the max_x_advance of the font. This is what VTE does too. https://bugs.freedesktop.org/show_bug.cgi?id=63796 |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.
Created attachment 78320 [details] screenshot When I start weston-terminal in Japanese locale the terminal is too wide. I think it needs to be able to handle fonts with wide-characters better. (Also it seems only able to use a single font.) This is with weston-1.1.0 (in current Fedora 19 development).