现在,我对2007/2010展望中的上标有了问题。有谁有神奇的编码,以获得注册标志或数字渲染字体正常。目前,当我发送电子邮件从活动监视器到Outlook 2007/2010注册标记或数字呈现字体小,其他电子邮件客户端呈现字体看起来不错。
Lorem Ipsum is simply dummy text of the printing and
typesetting industry<sup style="font-size: 8px;line-height: 6px; vertical-align: top;">4</sup>.
我有一个很长的文本,上面有一些下标和上标标签。示例:
<div>hello <sub>world</sub>, how are you? Translated as logical aggregates or associative compounds, these characters have been interpreted as combining two or more pictographic or ideographic characters to suggest a third meaning.</div>
的实例化示例
现在我可
这是使用Scrapy。
我遇到了以下类型的标记:
<p>Noting the presence of a footnote<sup>1</sup> is one common way for superscripts to be used.</p>
测试页:
测试查询:
response.css('div.render p::text')[0].extract()
测试ItemLoader:
loader.add_css("text", "div.render p::text")
测试结果:
注
我已经生成了文本窗格。我需要上标的文本时,文本是选定的,并在点击上标按钮,我需要上标的文本。如果文本已经上标,则需要取消文本的上标。我的问题是我能够在文本的上标上标,但无法还原回来。我正在检查isSuperscript条件,但每次它都返回值为true并将文本设置为上标。下面是我正在使用的代码,谁能告诉我如何重置上标文本。
SimpleAttributeSet sasText = new SimpleAttributeSet(parentTextPane.getCharacterAttributes());
System.out.println("character set 1