Re: [XXE] Query about "View|XML Source" menu item
Kazuko O. wrote: 4) First try: in the "Font and Colors" dialog box, select item [14], uncheck "Bold", click check icon ("Apply") then click "Close". See attached try1.png. I did the above first try, and then the issue was fixed and I could get the appropriate source view (see attached file). Even without replacing the jar file, Yes, that's right. Note that in v7.2, we'll keep the new feature implemented in the patched edit_source_text_docformat.jar we sent you: --- It's now possible to choose a font family other than "Monospaced" for the XML source view. This is done using the "Tree view fonts and colors" dialog box. --- it seems the view is displayed correctly by making the font normal. I will use the above workaround to display the source view correctly in the company. OK. Note that the workaround may be implemented automatically by forcing user preference treeViewFontsAndColors. This is done by starting XXE this way (everything on 1 line): --- xxe -putpref treeViewFontsAndColors "SansSerif;SansSerif;Monospaced;ff;e0f0f0;808080;8b008b;008b8b;8b;00;8b1c62;006400;f0f0f0;ffe0e0;e0ffe0" --- See -putpref in http://www.xmlmind.com/xmleditor/_distrib/doc/help/command_line_usage.html See treeViewFontsAndColors in http://www.xmlmind.com/xmleditor/_distrib/doc/help/preferenceKeys.html I appreciate your cooperation and I expect the issue will be completely fixed in the future version. I'm really sorry but we don't see how to completely fix this issue as we don't have a way to reproduce the issue here at XMLmind. I understand very well that this workaround makes both the tree view and source view less readable. Sorry again. -- XMLmind XML Editor Support List xmleditor-support@xmlmind.com http://www.xmlmind.com/mailman/listinfo/xmleditor-support
Re: [XXE] Query about "View|XML Source" menu item
Kazuko O. wrote: In 6.7 XXE, the XML source view works correctly like the attached image "67_xml_source_view.jpg." I also attached the image "71_xml_source_view.jp" captured in the XXE v7.1. Other users in the company also says 6.7 has no problem in terms of XML source view. OK. One more question: are there similar problems in the styled view or in the tree view? Or it is just the source view? I think it is just the XML source view. OK. I'll see what I can do and I'll get back to you in the next few days. In the image which you attached in the previous e-mail, the used font is different from the one in my source view. I did the screenshot on my Linux box. See new attached screenshot on Windows. Still no problem. My XXE use "MS Gothic" font. Standard Japanese fonts are different depending on the Windows versions. If I can change the font in the source view, I want to try other fonts. If possible, would you let me know how to change fonts. In principle, you cannot do that. The XML source view uses a "logical font" called "Monospaced". A "logical font" may comprise several physical fonts (like "MS Gothic"). A "logical font" is specified in a system file which is part of the Java runtime. Excerpts from "C:\Program Files\Java\jre1.8.0_102\lib\fontconfig.properties.src": --- ... monospaced.plain.alphabetic=Courier New monospaced.plain.chinese-ms950=MingLiU monospaced.plain.chinese-ms950-extb=MingLiU-ExtB monospaced.plain.hebrew=Courier New monospaced.plain.japanese=MS Gothic monospaced.plain.korean=GulimChe monospaced.bold.alphabetic=Courier New Bold monospaced.bold.chinese-ms950=PMingLiU monospaced.bold.chinese-ms950-extb=PMingLiU-ExtB monospaced.bold.hebrew=Courier New Bold monospaced.bold.japanese=MS Gothic monospaced.bold.korean=GulimChe ... --- More information in https://docs.oracle.com/javase/8/docs/technotes/guides/intl/fontconfig.html -- XMLmind XML Editor Support List xmleditor-support@xmlmind.com http://www.xmlmind.com/mailman/listinfo/xmleditor-support
Re: [XXE] Query about "View|XML Source" menu item
Kazuko O. wrote: I updated JRE to "Java(TM) SE Runtime Environment 1.8.0_101", but the issue was not fixed. OK. And I think I did not do specific sequence of actions after installing XXE. OK. This issue was not found for XXE v.6.7 with the same JRE. This issue happens only for XXE v.7.1. My co-worker says that font size calculation of XXE may have problem under the Japanese environment. Yes. I think you can reproduce the problem if you can try on the Japanese environment. I attached a sample DITA file which contains Japanese characters, and the jpg file which was captured when it was displayed in the XML source view. But I am not sure whether this file helps to reproduce the problem. Not when you don't use the Japanese environment. See attached screenshot. Works fine for me, even when I use ja-JP as my default locale. I have no access to the Japanese environment. (In fact, I have no idea of what is the Japanese environment. Sorry. Is it Japanese Windows? Japanese Java?) If you are 100% sure that it worked in XXE v.6.7, then I may try to find what has changed in the source view between 6.7 and 7.1 in terms of font management. If I find something, I'll send you a patched xxe.jar for you to try it in your working environment. Please confirm that you are 100% sure that it worked in XXE v.6.7. One more question: are there similar problems in the styled view or in the tree view? Or it is just the source view? -- XMLmind XML Editor Support List xmleditor-support@xmlmind.com http://www.xmlmind.com/mailman/listinfo/xmleditor-support
Re: [XXE] Query about "View|XML Source" menu item
Kazuko O. wrote: Thank you for your prompt replay. Please find the attached text file which was copied from the "Help|About XMLmind XML Editor" dialog box. Could this issue be solved in the version 7.1 or later of XXE? --> I didn't manage to reproduce the problem here, using our Windows 7, 64-bit, en-US computer running the very latest Java 8 runtime (1.8.0_102). Everything worked fine for me. May be this happens in the XML source view only after you do a specific sequence of actions? If this case, please tell us how to reproduce this issue here at XMLmind. --> For now, this problem has been reported only on a Mac, having a non-Retina screen, running Apple Java 1.6. The suggested (and tested) workaround was to upgrade to latest Java 8 runtime. Mailing list thread: http://www.xmlmind.com/pipermail/xmleditor-support/2016-September/011569.html Therefore I'll suggest that you upgrade your Windows computer to the very latest Java 8 runtime. (You are currently using older 1.8.0_66.) If this does not fix the problem, please send us another email and we'll try something else. -- XMLmind XML Editor Support List xmleditor-support@xmlmind.com http://www.xmlmind.com/mailman/listinfo/xmleditor-support
Re: [XXE] Query about "View|XML Source" menu item
Kazuko O. wrote: I am a user of XXE Version 7.1 and I use it under the Japanese Windows 7 environment. When selecting menu item "View|XML Source," the document view is displayed like the attached "xml_source_view.jpg". In this picture, some text and tags are overlapped and I have difficulty reading and adding text strings. Is this a normal symptom even in the English environment? No, this is a clearly bug and almost certainly a Java bug. Which Java runtime are you using? The simplest is to send us the contents of the "Help|About XMLmind XML Editor" dialog box. How to do this is explained here: http://www.xmlmind.com/xmleditor/_distrib/doc/help/helpMenu.html --- About XMLmind XML Editor Displays the customary About dialog box. The Copy button found in the About dialog box copies to the clipboard extensive information about the runtime environment of XXE. Please do not forget to attach this information to the bug reports you send us. --- -- XMLmind XML Editor Support List xmleditor-support@xmlmind.com http://www.xmlmind.com/mailman/listinfo/xmleditor-support