You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: css-fonts-4/Overview.bs
+22-1Lines changed: 22 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1394,12 +1394,33 @@ at least as dark as its predecessor. Only values between 1 - 999 are valid, and
1394
1394
1395
1395
<div class="example">
1396
1396
1397
-
Similar to the <a href="#ascendingstretch">previous example</a>, here is the conceptual distance graph for an element styled with "font-weight: 500":
1397
+
Similar to the <a href="#ascendingstretch">previous example</a>, here is the conceptual distance graph for an element styled with "font-weight: 400":
1398
1398
1399
1399
<img src="styleweight.svg">
1400
1400
1401
1401
As you can see, because font B contains the minimum oblique value across the entire family, font B would be selected by this algorithm. However, if font B were somehow eliminated from the family, font D would then contain the lowest distance in the family, so it would be selected. If D were eliminated, A would be selected, followed by fonts C and then E.
1402
1402
</div>
1403
+
1404
+
<div class="example">
1405
+
1406
+
Similar to the <a href="#ascendingstretch">previous example</a>, here is the conceptual distance graph for an element styled with "font-weight: 500":
1407
+
1408
+
<img src="weightmatching.svg">
1409
+
1410
+
As you can see, because font D contains the minimum oblique value across the entire family, font D would be selected by this algorithm. However, if font D were somehow eliminated from the family, font B would then contain the lowest distance in the family, so it would be selected. If B were eliminated, C would be selected, followed by fonts A and then E.
1411
+
</div>
1412
+
Once the closest matching weight has been determined by this process,
1413
+
faces with weights which do not include this determined width are removed from the matching set.
1414
+
</li>
1415
+
1416
+
<div class="example">
1417
+
1418
+
Similar to the <a href="#ascendingstretch">previous example</a>, here is the conceptual distance graph for an element styled with "font-weight: 300":
1419
+
1420
+
<img src="weightmatching2.svg">
1421
+
1422
+
As you can see, because font B contains the minimum oblique value across the entire family, font B would be selected by this algorithm. However, if font B were somehow eliminated from the family, font A would then contain the lowest distance in the family, so it would be selected. If A were eliminated, C would be selected.
1423
+
</div>
1403
1424
Once the closest matching weight has been determined by this process,
1404
1425
faces with weights which do not include this determined width are removed from the matching set.
0 commit comments