Skip to content

Commit 9cd04bf

Browse files
committed
Tweak README
1 parent a99f595 commit 9cd04bf

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

README.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ Please note that using overwrites disables some perfomance optimizations of this
8080

8181
### Emoji Options
8282

83-
The RGI Emoji set is automatically detected to adjust the width of the string. This can be disabled by passing `emoji: false` as fourth parameter:
83+
The [RGI Emoji set](https://www.unicode.org/reports/tr51/#def_rgi_set) is automatically detected to adjust the width of the string. This can be disabled by passing `emoji: false` as fourth parameter:
8484

8585
```ruby
8686
Unicode::DisplayWidth.of "🤾🏽‍♀️" # => 2
@@ -99,11 +99,9 @@ Unicode::DisplayWidth.of "string", 1, {}, emoji: { wide_text_presentation: false
9999

100100
There are many Emoji which get constructed by combining other Emoji in a sequence. This makes measuring the width complicated, since terminals might either display the combined Emoji or the separate parts of the Emoji individually.
101101

102-
**Char Width** = No special handling, uses mechanism from table above
103-
104102
Emoji Type | Width / Comment | Configuration Options
105103
------------|-----------------|----------------------
106-
Basic/Single Emoji character without Variation Selector or with VS15 (Text) | Char Width | Use option `wide_text_presentation: true` to force textual Emoji to always be of width 2
104+
Basic/Single Emoji character without Variation Selector<br><br>Basic/Single Emoji character with VS15 (Text) | No special handling, uses mechanism from table above | Use option `wide_text_presentation: true` to force textual Emoji to always be of width 2
107105
Basic/Single Emoji character with VS16 (Emoji) | 2 | -
108106
Emoji Sequence | Recommended Emoji sequences: 2, above rules otherwise | Option `sequences:` explained below
109107

0 commit comments

Comments
 (0)