Summary: | Xedit should work with '-xrm *international: false' | ||
---|---|---|---|
Product: | xorg | Reporter: | Paulo César Pereira de Andrade <pcpa> |
Component: | App/xedit | Assignee: | Xorg Project Team <xorg-team> |
Status: | RESOLVED FIXED | QA Contact: | Xorg Project Team <xorg-team> |
Severity: | normal | ||
Priority: | high | CC: | roland.mainz |
Version: | unspecified | ||
Hardware: | x86 (IA32) | ||
OS: | Linux (All) | ||
Whiteboard: | |||
i915 platform: | i915 features: |
Description
Paulo César Pereira de Andrade
2004-11-30 15:13:52 UTC
Unfortunately the patch won't work that way as parts of the Xedit code assume they can pass a FontSet to the textWidget object used by Xedit. The problem: FontSets only work with '*international: True' ... ;-( I assume this code you talk about is the new Xprint support. Maybe I am the only person in the world that uses xedit. And I used it daily for the last 6 years. The changes in the xorg tree just disables almost all the code I wrote for xedit in those years (like syntax highlight, regex search, etc). I am sure it should be possible to have a flag to allow it to work in non "international" mode. Please correct this problem, I just found it accidentally because the (closed source) project I am working on now needs to run in Suse 9.2, and found the problem when trying to edit some C source files. I know Xaw/xedit is not that great at support of languages that require multibyte, etc Maybe you will do it properly now :-). But for editing program files with no accented chars (or iso-xxx) it was very good before these changes. Sorry about the phenomenal bug spam, guys. Adding xorg-team@ to the QA contact so bugs don't get lost in future. This bug can be considered closed now because xedit now defaults to compile without Xprint support; if compiled wit Xprint support, should default to state of bug report. But the problem is not really Xprint, but the fact that Xaw doesn't have a TextWidget that transparently supports multibyte characters (it is either single byte or wide byte characters), but all the "cool" features I use (and developed) like syntax highlight, auto indentation, regex only works with the "single byte" text widgets. Shouldn't really be a huge of a problem to implement Utf8* widgets as "subclasses" of of Ascii*, as well as Render/Composite/etc aware widgets, but, at least "prototypes" should be implemented in some client, like xedit. But I don't think this will ever be made, as there is no demand for it. |
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.