Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在使用JEditorPane打印html。我还将 Eclipse SWT 浏览器小部件与 Mozilla Xulrunner 一起使用。从编辑器窗格和浏览器小部件打印都会导致字母重叠,如您在此处看到的:
JEditorPane
使用 css 设置字母间距
letter-spacing: 0.5pt;