gpt4 book ai didi

sketch-3 - sketch app 使用 pt 仅用于文本大小,而似乎用于其他所有内容?

转载 作者:行者123 更新时间:2023-12-02 03:02:58 26 4
gpt4 key购买 nike

素描字体在PT中设置

现在我想使用 bootstrap 4 编写一个网络应用程序。所以我习惯使用 pixels/em/rem 来表示字体和距离。我使用 PT 看不到值。积分似乎是针对打印媒体的

那么将 pt 转换为像素的正确方法是什么?我在网上找到的东西似乎并不正确。

当然,Sketch 应用程序是一些仅限 Mac 的工具。而且 afaik 似乎无法将其导出到其他应用程序,如 adobe illustrator 或 photoshop。至少,它不会有用。

奖励问题:在 sketch 中滚动很糟糕,没有滚动条而且滚动非常慢。有什么建议吗?

最佳答案

有趣的阅读:https://graphicdesign.stackexchange.com/questions/199/point-vs-pixel-what-is-the-difference

In CSS

A pt is 1/72 of an in, and a px is 1/96 of an in.

A px is therefore 0.75 pt [source].

In CSS, everything is somewhat abstracted, so a unit such as a "pt" is not necessarily one point in physical size, especially on a screen, an "in" is not necessarily one inch in size, and so forth. Even a "px" is no longer necessarily one pixel in size anymore: Everything is scaled to be consistent with a hypothetical 96 ppi device viewed at normal reading distance, meaning that on screens that differ significantly from 96 ppi or from normal reading distance, everything will be scaled, but still maintain the same relationships ie a pt will still be 1.33334 px units and still be 1/72 of an in unit.

In print

In print, a point was traditionally somewhere from around 1/67 of an inch to 1/72.5 of an inch.

In digital mediums, it has become a de-facto standard for a point to be exactly 1/72 of an inch nowadays, though there are still alternative measurements in less common use which vary slightly from 1/72, but not by much.

In print, you don't usually measure in pixels, because they are a technical detail about the target printer or device that are not an absolute measurement. For instance, a design may be printed at 125 dpi, 300 dpi or at 1200 dpi and still be the same physical dimensions.

至于在 sketch 中滚动,您是否尝试在拖动(手动工具)时按住空格键?

关于sketch-3 - sketch app 使用 pt 仅用于文本大小,而似乎用于其他所有内容?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/44730718/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com