字號與磅值對應關系_終極版式指南:磅值,大寫與小寫,Em和En破折號等

字號與磅值對應關系

Typography is a field that deals with the written word and how letters and characters are presented.

印刷術是處理文字以及字母和字符的顯示方式的領域。

The same letters can be styled in different ways to convey different emotions. And there are all kinds of tradeoffs around style versus readability.

相同的字母可以用不同的方式來表達不同的情感。 在樣式與可讀性之間存在各種折衷。

In this article, we’ll look at some of the smaller - but still important - details related to typography like point size, upper vs lower case letters, em vs en dashes, kerning, and more.

在本文中,我們將介紹一些較小的但仍很重要的與排版有關的細節,例如磅值,大寫與小寫字母,em與破折號,字距調整等。

點大小 (Point Size)

The point size is a way to introduce standardization to typography. The point size is the smallest unit of measurement.

磅數是將標準化引入印刷術的一種方法。 點大小是最小的度量單位。

In metal type, point size refers to the height of the metal body on which a typeface’s character is cast. In digital typefaces, the metal body is replaced by an invisible box known as the em square. Each character fits inside that em square or em box. The em size of a font is equal to its point size.

在金屬類型中,磅值是指將字體字符鑄在其上的金屬體的高度。 在數字字體中,金屬主體被一個稱為em square的不可見盒子代替。 每個字符都適合該em正方形或em框。 字體em大小等于其磅值。

html{font-size:16px;
}body{font-size:1em;  // 1em is equal to 16px
}

The point size is also used to measure leading (line-height), line length and other elements, apart from font size.

除字體大小外,磅值還用于測量行距(行高),行長和其他元素。

In digital typefaces, one point is equal to 1/72 of an inch. Twelve points make one pica. Six picas make one inch. A common way of representing picas and points is as follows:

在數字字體中, 一個點等于1/72英寸 。 一分十二分。 六個十二點活字等于一英寸。 表示異食癖和點的常見方式如下:

  • 1 pica = 1p

    1 pica = 1p
  • 1 point = 1 pts or p1

    1點= 1分或p1
  • 6 picas and 3 points = 6p3

    6點活字和3點= 6p3
  • 7-point Open Sans with 9 points of leading = 7/9 Open Sans

    7分全勝(Sans)領先9分= 7/9全勝

The optimal point size for print is usually between 10-12 points while that for web, the optimal point size is between 15-25 points.

打印的最佳點尺寸通常在10-12點之間,而對于卷筒紙,最佳點尺寸在15-25點之間。

In CSS, you should set font-size in ems or rems than pixels as the former are scalable in nature. Recently, there has been much talk about fluid typography using the newly introduced units vw and vh.

在CSS中,您應該以ems或rems設置字體大小,而不是像素,因為前者本質上是可擴展的。 最近,關于使用新引入的單元vw和vh的流體印刷術的討論很多。

Learn more about it here : Fluid Typography

在此處了解更多信息: 流體印刷術

Remember, different fonts set at the same point size will not appear to be of the same size due to their individual characteristics, namely—x-height, stroke modulation or contrast and character-width.

請記住,設置為相同字體大小的不同字體由于其各自的特征(即x高度,筆劃調制或對比度和字符寬度)而看起來不會具有相同的大小。

大寫和小寫 (Upper and Lower Case)

Uppercase (UC) is alternatively referred to as caps and capital. It is a typeface of larger characters. Lowercase (LC) is a typeface of small characters. As long as the shift key is not being pressed and the Caps lock is not active, everything typed is in lowercase. The Uppercase and Lowercase is often synonymous with Majuscule and Minuscule.

大寫(UC)也稱為上限和大寫。 它是大字體的字體。 小寫(LC)是小寫字母的字體。 只要不按下Shift鍵且Caps鎖不處于活動狀態,鍵入的所有內容均使用小寫字母。 大寫字母和小寫字母通常是Majuscule和Minuscule的同義詞。

Many languages have two different written representations of their letters, upper case and lower case, also known as majuscule and minuscule forms.

許多語言有自己的字母, 大寫小寫 ,也被稱為大寫字母和微不足道形式的兩種不同的書面申述。

Upper case and lower case letters are often mixed in the same piece of text. The use of cases is decided by grammar, but a variety of case styles also exists. Certain case styles are common in computer programming, referred to as naming conventions, like CamelCase and snake_case.

大寫字母和小寫字母通常混合在同一文本中。 案例的使用由語法決定,但是也存在多種案例樣式 。 某些案例樣式在計算機編程中很常見,稱為命名約定 ,例如CamelCase和snake_case。

大寫: (Uppercase:)

A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

ABCDEFGHIJKLMNOPQRSTU VWXYZ

小寫: (Lowercase:)

a b c d e f g h i j k l m n o p q r s t u v w x y z

abcdefghijklmnopqrstu vwxyz

Capitalization is important for the following reasons:

大小寫很重要,原因如下:

  • Passwords: passwords are case sensitive, so capitalization add an extra level of security.

    密碼:密碼區分大小寫,因此大寫字母增加了額外的安全性。
  • Measurements: When dealing with computer measurement, and other measurements, capitalization is important for identifying the exact type of measurement. For example, “Mb” (short for Megabit) and “MB” (short for Megabyte) are two different types of measurements with different values.

    度量:在處理計算機度量和其他度量時,大寫對于確定度量的確切類型很重要。 例如,“ Mb”(兆位的縮寫)和“ MB”(兆位的縮寫)是兩種具有不同值的不同類型的測量。
  • Commands

    指令
  • File names, directories and paths.

    文件名,目錄和路徑。

Ems和Ens (Ems and Ens)

Ems and Ens are a form of the punctuation mark called ‘dash’. Although similar in appearance to a hyphen, they serve different purposes.

Ems和Ens是標點符號的一種形式,稱為“破折號”。 盡管外觀上與連字符相似,但它們具有不同的用途。

Em Dash (Em Dash)

Use an Em dash to denote a break in the sentence. Substitute it for a comma or to denote a pause in a sentence. They are also used to attribute a quote to a speaker. An Em dash is one em wide—the width of a point size of a typeface. Don’t put any spaces before and after an em dash.For example: The noise from the neighbor’s house—it’s killing me.

用破折號表示句子中的中斷。 將其替換為逗號或表示句子中的停頓。 它們還用于將報價單賦予發言人。 破折號是一個em寬度-字體的磅值的寬度。 請勿在破折號之前和之后放置任何空格。例如:鄰居家的聲音—殺死了我。

  • Command for an Em dash on a mac : Shift-Option-Hyphen

    Mac上Em破折號的命令:Shift-Option-連字符
  • Command for an Em dash on Microsoft Word : Alt + Ctrl + (minus)

    在Microsoft Word上使用Em破折號的命令:Alt + Ctrl +(減號)
  • Em dash in HTML : — or —

    HTML中的破折號: ——

恩達什 (En Dash)

Use an En dash as a replacement for the word ‘to’ or to denote a range of numbers. An En dash is half the width of an Em dash. Don’t put any spaces before and after an en dash.For example: The first world war lasted from 1914–1918.

用破折號代替“ to”一詞或表示一系列數字。 破折號是破折號寬度的一半。 在破折號前后不要留任何空格。例如:第一次世界大戰始于1914年至1918年。

  • Command for an En dash on a mac : Option-Hyphen

    Mac上的破折號命令:Option-連字符
  • Command for an En dash on Microsoft Word : Ctrl + (minus)

    Microsoft Word上的破折號命令:Ctrl +(減號)
  • En dash in HTML : – or –

    HTML中的破折號: ––

緊縮和跟蹤 (Kerning and Tracking)

Kerning refers to the spacing between two individual characters within a word.

字距調整是指單詞中兩個單獨字符之間的間距。

Tracking refers to the spacing between words.

跟蹤是指單詞之間的間距。

Some typefaces are not designed to be kerned or tracked too loosely and vice versa. If one kerns or tracks too tightly or too loosely, they risk sacrificing readability and legibility.

某些字體的字距調整或跟蹤設計得不太寬松,反之亦然。 如果一個字距或軌道太緊或太松,它們就有犧牲可讀性和可讀性的風險。

When deciding how tight or loose to kern or track your text, it is advisable to first consider the scale at which the text will be interacted with. If it is to be printed, how far away from the printed text will the viewer be? Will they be driving by? Will it be on read on a backlit screen?

在決定緊緊或松散緊迫或跟蹤文本時,建議首先考慮與文本進行交互的比例。 如果要打印,查看者距離打印文本有多遠? 他們會開車嗎? 可以在背光屏幕上閱讀嗎?

One should also consider the positive and negative ground when tracking and kerning. Tracking too tightly or too loosely can result in awkward figure/ground relations that will distract the user.

跟蹤和字距調整時,還應該考慮正面和負面的基礎。 跟蹤得太緊或太寬松都會導致尷尬的身形/地面關系,從而分散用戶的注意力。

易讀性 (Legibility and Readability)

易讀性 (Legibility)

Legibility means being able to differentiate different characters in a text. Legible text implies it can be easily interpreted. Look at the unique characteristics of a typeface when considering legibility. Some of the considerations are as follows:

易讀性意味著能夠區分文本中的不同字符。 清晰的文字意味著可以輕松地對其進行解釋。 考慮易讀性時,請查看字體的獨特特征。 一些注意事項如下:

  • You should use each typeface according to it’s context and intended usage. Look into it’s history and it’s best use case scenarios. For example : Garamond is best used for large bodies of text on print whereas Georgia for screen.

    您應該根據每種字體的上下文和預期用途來使用它 。 查看它的歷史和最佳用例場景。 例如:Garamond最適合用于打印大量文本,而Georgia用于屏幕。

  • Keep in mind whether the typeface is for display text or body text.

    請記住,字體是用于顯示文本還是用于正文文本

  • The x-height of a typeface is the size of the lowercase ‘x’ in a typeface. A typeface with medium to high x-height results in a text legible at even small sizes.

    字體的x高度是字體中小寫字母'x'的大小。 X高度中等到較高的字體,即使是很小的字體,也可以使文本清晰易讀。

  • Conventionally, serif typefaces are more legible for body text than their sans-serif counterparts.

    按照慣例, 襯線字體的字體比無襯字體更易于理解。

可讀性 (Readability)

Readability means arranging group of words or a blocks of text in such a way to make the text more accessible. The idea is to reduce the amount of effort required to read a body of text.

可讀性意味著以使文本更易于訪問的方式排列單詞或文本塊。 這樣做的目的是減少閱讀正文所需的工作量。

Stephen Coles remarks that readability, not only begs the question of “Can you read it?” but whether ” do you want to read it?”.

斯蒂芬·科爾斯(Stephen Coles)指出,可讀性不僅要提出“您可以閱讀嗎?”的問題。 但是是否“您想閱讀?”

Jason Santa Maria points out in his book On Web Typography that reading is not a linear activity. We read in a back and forth motion called saccades, which is our eyes hopping from one point to another. Also, text with familiar words makes it easier for us to read. Some basic points to remember when considering readability are as follows:

杰森·圣瑪麗亞(Jason Santa Maria)在他的《 網絡印刷術》一書中指出,閱讀不是線性活動。 我們朗讀來回運動,稱為“ saccades” ,這是我們的眼睛從一個點跳到另一個點。 同樣,帶有熟悉單詞的文本使我們更容易閱讀。 在考慮可讀性時要記住的一些基本要點如下:

  • Contrast refers to the change in thickness of the stroke in different parts of the letter. Higher the contrast, higher the change in stroke. Use medium to low contrast typefaces for long bodies of text.

    對比度是指字母不同部分的筆畫粗細的變化。 對比度越高,筆畫變化越大。 對于較長的正文,請使用中低對比度字體。

  • Line Height refers to the distance between two lines of text. You do not want to make the block of text neither too tight nor too loose. You can control line height in CSS by the property ‘line-height’. For most texts, you can set it between 1.2 to 1.5 (without any units).

    行高是指兩行文本之間的距離。 您不想使文本塊既不太緊也不不太松動。 您可以通過屬性“ line-height”控制CSS中的行高。 對于大多數文本,您可以將其設置為1.2到1.5(不帶任何單位)。

  • Line length (measure) refers to the average number of characters in a line of text. A large line length hampers readability by making it difficult for our eyes to scan the text. Usually about 45-75 characters per line is optimal for a body of text. If you plan on increase the line length beyond that, then also take care to increase the line height so that there is enough space between two lines of text. In CSS, you can set the width of the container, and by using the em unit, you can get close to a set number of characters, depending on the width-to-height ratio of the font. Example: width: 35em;

    行長 (度量)是指一行文本中的平均字符數。 較大的行長會導致我們的眼睛難以掃描文本,從而影響可讀性。 通常,每行文本大約45-75個字符是最佳選擇。 如果您計劃增加行長,請注意增加行高,以使兩行文本之間有足夠的空間。 在CSS中,您可以設置容器的寬度,通過使用em單位,您可以接近設置的字符數,具體取決于字體的寬高比。 例如:width:35em;

  • Tracking refers to adjusting the space between characters in a text. Adding tracking means adding white space between characters and vice versa. At small font sizes i.e. less than 10pts, adding tracking helps in improving readability. Similarly, for large headings, use negative tracking to bring the letters closer. You can control tracking in CSS via ‘letter-spacing’ property. For example : letter-spacing: 0.05em;

    跟蹤是指調整文本中字符之間的間隔。 添加跟蹤意味著在字符之間添加空格,反之亦然。 在較小的字體大小(即小于10pts)下,添加跟蹤有助于提高可讀性。 同樣,對于大標題,請使用負向跟蹤使字母更接近。 您可以通過“ letter-spacing”屬性控制CSS中的跟蹤。 例如:字母間距:0.05em;

  • Font size refers to the size of the font used in a text. For mobile display, use sizes of at least 12px. You can control font-size in CSS via ‘font-size’ property. Example: font-size: 48px;

    字體大小是指文本中使用的字體大小。 對于移動顯示,請使用至少12像素的尺寸。 您可以通過'font-size'屬性控制CSS中的字體大小。 例如:font-size:48px;

As you can see, you need to take into account a lot of factors to ensure optimal legibility and readability. Remember, there are no hard and fast rules for any of the above described factors. They are mere guidelines which might help you to train your typographic eye better.

如您所見,您需要考慮很多因素以確保最佳易讀性和可讀性。 請記住,上述任何因素都沒有硬性規定。 它們僅是準則,可以幫助您更好地訓練印刷眼睛。

顏色和色調值 (Color and Tonal Value)

In color theory, a tonal value is produced by adding white, grey, or black to a selected color. This does not change the hue but does alter the colorfullness, also known as saturation. When discussing tonal value, there are three main terms that must be discussed: Tint, Tone, and Shade.

在色彩理論中,通過將白色,灰色或黑色添加到選定的顏色來產生色調值。 這不會改變色調,但會改變色彩度,也稱為飽和度。 在討論音調值時,必須討論三個主要術語:色調,色調和陰影。

Tint is the addition of white to a color. Tint can be used to highlight an area as well as begin to create the illusion of depth on an object.

色調是白色添加到一種顏色。 淡色可用于突出顯示區域以及開始在對象上產生深度幻覺。

Tone is the addition of grey to a color. The tonal color creates a more muted and less saturated color.

色調是將灰色添加到顏色中。 色調顏色創建了更柔和和更不飽和的顏色。

Shade is the addition of black to a color. Shade can be used to darken and area to create the illusion of depth on an object.

陰影是黑色添加到一種顏色。 陰影可用于使區域變暗并在對象上創建深度錯覺。

By altering a colors tonal value, you can create the illusion of depth in images as well as alter the saturation level to better apply color for a desired emotion or mood.

通過更改顏色色調值,您可以在圖像中創建深度幻覺,還可以更改飽和度級別,以更好地將顏色應用于所需的情感或情緒。

有關排版的更多信息: (More on Typography:)

  • Typography: anatomy of letterforms

    字體:字母的解剖

  • 8-point grid: typography on the web

    8點網格:網絡排版

  • Why typography can make or break your design

    為什么排版會影響或破壞您的設計

翻譯自: https://www.freecodecamp.org/news/typography-in-detail-point-size-em/

字號與磅值對應關系

本文來自互聯網用戶投稿,該文觀點僅代表作者本人,不代表本站立場。本站僅提供信息存儲空間服務,不擁有所有權,不承擔相關法律責任。
如若轉載,請注明出處:http://www.pswp.cn/news/390631.shtml
繁體地址,請注明出處:http://hk.pswp.cn/news/390631.shtml
英文地址,請注明出處:http://en.pswp.cn/news/390631.shtml

如若內容造成侵權/違法違規/事實不符,請聯系多彩編程網進行投訴反饋email:809451989@qq.com,一經查實,立即刪除!

相關文章

leetcode 65. 有效數字(正則表達式)

題目 有效數字(按順序)可以分成以下幾個部分: 一個 小數 或者 整數 (可選)一個 ‘e’ 或 ‘E’ ,后面跟著一個 整數 小數(按順序)可以分成以下幾個部分: (…

Swift中的閉包例子

常見的實現, 要熟悉了解, 至于閉包逃逸, 自動閉包這些內容, 可以以后用到時再學吧。 let names ["Chris", "Alex", "Eva", "Barry", "Daniella"]func backward(_ s1: String,…

如何判斷自己的編程水平

有的朋友說:當一段時間后的你,再重新看回以前寫的代碼,會覺得很渣,就證明你有學到新東西了。轉載于:https://www.cnblogs.com/viplued/p/7943405.html

數據科學項目_完整的數據科學組合項目

數據科學項目In this article, I would like to showcase what might be my simplest data science project ever.在本文中,我想展示一下有史以來最簡單的數據科學項目 。 I have spent hours training a much more complex models in the past, and struggled to …

回溯算法和貪心算法_回溯算法介紹

回溯算法和貪心算法回溯算法 (Backtracking Algorithms) Backtracking is a general algorithm for finding all (or some) solutions to some computational problems, notably constraint satisfaction problems. It incrementally builds candidates to the solutions, and …

alpha沖刺day8

項目進展 李明皇 昨天進展 編寫完個人中心頁面今天安排 編寫首頁邏輯層問題困難 開始編寫數據傳遞邏輯,要用到列表渲染和條件渲染心得體會 小程序框架設計的內容有點忘了,而且比較抽象,需要理解文檔舉例和具體案例林翔 昨天進展 黑名單用戶的…

增加 processon 免費文件數

github 地址:github.com/96chh/Upgra… 關于 ProcessOn 非常好用的思維導圖網站,不僅支持思維導圖,還支持流程圖、原型圖、UML 等。比我之前用的百度腦圖強多了。 直接登錄網站就可以編輯,非常適合我在圖書館公用電腦學習使用。 但…

uni-app清理緩存數據_數據清理-從哪里開始?

uni-app清理緩存數據It turns out that Data Scientists and Data Analysts will spend most of their time on data preprocessing and EDA rather than training a machine learning model. As one of the most important job, Data Cleansing is very important indeed.事實…

高級人工智能之群體智能:蟻群算法

群體智能 鳥群: 魚群: 1.基本介紹 蟻群算法(Ant Colony Optimization, ACO)是一種模擬自然界螞蟻覓食行為的優化算法。它通常用于解決路徑優化問題,如旅行商問題(TSP)。 蟻群算法的基本步驟…

JavaScript標準對象:地圖

The Map object is a relatively new standard built-in object that holds [key, value] pairs in the order that theyre inserted. Map對象是一個相對較新的標準內置對象,按插入順序保存[key, value]對。 The keys and values in the Map object can be any val…

leetcode 483. 最小好進制

題目 對于給定的整數 n, 如果n的k(k>2)進制數的所有數位全為1,則稱 k(k>2)是 n 的一個好進制。 以字符串的形式給出 n, 以字符串的形式返回 n 的最小好進制。 示例 1: 輸入:“13” 輸…

圖像灰度變換及圖像數組操作

Python圖像灰度變換及圖像數組操作 作者:MingChaoSun 字體:[增加 減小] 類型:轉載 時間:2016-01-27 我要評論 這篇文章主要介紹了Python圖像灰度變換及圖像數組操作的相關資料,需要的朋友可以參考下使用python以及numpy通過直接操…

npx npm區別_npm vs npx —有什么區別?

npx npm區別If you’ve ever used Node.js, then you must have used npm for sure.如果您曾經使用過Node.js ,那么一定要使用npm 。 npm (node package manager) is the dependency/package manager you get out of the box when you install Node.js. It provide…

找出性能消耗是第一步,如何解決問題才是關鍵

作者最近剛接手一個新項目,在首頁列表滑動時就感到有點不順暢,特別是在滑動到有 ViewPager 部分的時候,如果是熟悉的項目,可能會第一時間會去檢查代碼,但前面說到這個是剛接手的項目,同時首頁的代碼邏輯比較…

bigquery_如何在BigQuery中進行文本相似性搜索和文檔聚類

bigqueryBigQuery offers the ability to load a TensorFlow SavedModel and carry out predictions. This capability is a great way to add text-based similarity and clustering on top of your data warehouse.BigQuery可以加載TensorFlow SavedModel并執行預測。 此功能…

bzoj 1996: [Hnoi2010]chorus 合唱隊

Description 為了在即將到來的晚會上有吏好的演出效果&#xff0c;作為AAA合唱隊負責人的小A需要將合唱隊的人根據他們的身高排出一個隊形。假定合唱隊一共N個人&#xff0c;第i個人的身髙為Hi米(1000<Hi<2000),并已知任何兩個人的身高都不同。假定最終排出的隊形是A 個人…

移動應用程序開發_什么是移動應用程序開發?

移動應用程序開發One of the most popular forms of coding in the last decade has been the creation of apps, or applications, that run on mobile devices.在過去的十年中&#xff0c;最流行的編碼形式之一是創建在移動設備上運行的應用程序。 Today there are two main…

leetcode 1600. 皇位繼承順序(dfs)

題目 一個王國里住著國王、他的孩子們、他的孫子們等等。每一個時間點&#xff0c;這個家庭里有人出生也有人死亡。 這個王國有一個明確規定的皇位繼承順序&#xff0c;第一繼承人總是國王自己。我們定義遞歸函數 Successor(x, curOrder) &#xff0c;給定一個人 x 和當前的繼…

vlookup match_INDEX-MATCH — VLOOKUP功能的升級

vlookup match電子表格/索引匹配 (SPREADSHEETS / INDEX-MATCH) In a previous article, we discussed about how and when to use VLOOKUP functions and what are the issues that we might face while using them. This article, on the other hand, will take you to a jou…

java基礎-BigDecimal類常用方法介紹

java基礎-BigDecimal類常用方法介紹 作者&#xff1a;尹正杰 版權聲明&#xff1a;原創作品&#xff0c;謝絕轉載&#xff01;否則將追究法律責任。 一.BigDecimal類概述 我們知道浮點數的計算結果是未知的。原因是計算機二進制中&#xff0c;表示浮點數不精確造成的。這個時候…