BSD Ports

textproc/ruby-unicode-display_width 3.2.0 NetBSD

Monospace Unicode character width in Ruby

System
NetBSD
Repository
pkgsrc
Maintainer
[email protected]
Last update
Commit
cbed427ae3
License
mit
Categories
textproc, ruby
Package size
36.2 KiB, 88.7 KiB installed

Description

Determines the monospace display width of a string in Ruby. Implementation based on EastAsianWidth.txt and other data, 100% in Ruby. Other than wcwidth(), which fulfills a similar purpose, it does not rely on the OS vendor to provide an up-to-date method for measuring string width.

Install

Binary package:

pkgin install ruby33-unicode-display_width

From pkgsrc:

cd /usr/pkgsrc/textproc/ruby-unicode-display_width && make install clean

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

RepositoryVersion
NetBSD 10.1 x86_643.2.0
NetBSD 10.1 aarch643.2.0
SmartOS / illumos x86_643.3.0
macOS 15 arm643.3.0

Dependencies

Run dependencies 2

Configuration

No options to configure.

Service scripts
none
Flavors
ruby34-unicode-display_width-3.2.0, ruby40-unicode-display_width-3.2.0

Commit history 1

DateCommitCreditsLog message
cbed427ae3 taca textproc/ruby-unicode-display_width: update to 3.3.0
3.3.0 (2026-09-20) * Unicode 18.0 * Fix bug that emoji handling could not be deactivated when using config object * Fix edge case to not modify string when failing parsing binary input as UTF-8