Lotus Forms 中点 (pt) 的确切长度是多少?
我要将几个 Lotus Forms 表单转换为网页。所以我检查了它用于字体大小的内容。是pt,这让我觉得这是重点。我尝试了相同的字体大小值,例如 Arial、Bold、7pt。但, 网页中的文本比 Lotus Forms 中的文本小。而且很容易聊天,不是需要放大镜的区别。
这导致 Lotus Forms 和浏览器使用不同类型的点。我搜索了一下,发现可能有不同的点。 http://www.cl.cam.ac.uk/~mgk25 /度量拼写错误/ 那么Lotus Forms 的重点是什么以及浏览器的重点是什么?
i am going to convert couple Lotus Forms forms to web pages. So i checked what it uses for font size. It is pt, which make me think that it is point. I tried same values for font sizes, like Arial,Bold,7pt. BUT,
text in webpage is smaller than text in Lotus Forms. and it is easy to chatch, not a difference that requires magnifier.
Which leads to that, Lotus Forms and browsers use different kind of point(s). I have searched and found that there might be different point(s).
http://www.cl.cam.ac.uk/~mgk25/metric-typo/
So what is Lotus Forms's point and what is browser's point?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
只需在浏览器中检查生成的 HTML 代码(查看 - 源代码)即可。你会发现,Lotus Notes中的“点”被转换为“字体” - 标签大小= 1(8点),大小= 2(9点)......
此外,在Lotus Notes中使用“默认字体”导致浏览器中出现不可预测的结果(取决于浏览器运行的操作系统或浏览器的默认字体)。
如果您确实想让文本在 Lotus Notes 和浏览器中看起来相同,那么您必须使用 CSS(层叠样式表)来定义字体大小、字体系列等。
您可以直接在每个块元素中执行此操作,方法是编辑样式属性(属性中的@选项卡,不幸的是,不适用于未包含在表或其他元素中的文本),或者通过在形式。
如果您还不熟悉 CSS,最好先熟悉一下。
Just check the resulting HTML- Code (View - Source) in the browser. And you will find, that the "Points" in Lotus Notes are converted to "font"- Tags with size=1 (8 Point), size=2 (9 Point) ...
In Addition Using "Default Font" in lotus Notes results in a unpredictable result in the browser (Depending on the default Fonts of the OS the Browser runs or of the Browser).
if you really want to have Text looking identical in Lotus Notes and the Browser, then you have to use CSS (Cascading Style Sheets) to define Font- Size, Font- Family, etc.
You can do this directly in every Block- Element by editiing the Style- Properties (The @ Tab in the properties, unfortunately not available for text that is not contained in a table or another Element), or by inserting a CSS- Resource in the Form.
better get Familiar with CSS if you aren't already.