• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

behdad / harfbuzz
59%
master: 34%

Build:
Build:
LAST BUILD BRANCH: travis-docs
DEFAULT BRANCH: master
Repo Added 01 Oct 2014 07:54PM UTC
Files 163
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

LAST BUILD ON BRANCH unsupported_whitespace
branch: unsupported_whitespace
CHANGE BRANCH
x
Reset
  • unsupported_whitespace
  • 0.9.36
  • 0.9.37
  • 0.9.38
  • 0.9.40
  • 0.9.41
  • 1.0.0
  • 1.0.1
  • 1.0.2
  • 1.0.3
  • 1.0.4
  • 1.0.5
  • 1.0.6
  • 1.1.1
  • 1.1.2
  • fallback_position_patch
  • font-extents
  • hb-fc
  • hb-private-Windows
  • insertion-sort
  • jfkthame-stch
  • load-flags
  • master
  • missing-braces
  • normalize-patch1
  • travis-docs
  • use

pending completion
478

push

travis-ci

behdad
Replace unsupported whitespace with space glyph

This follows the word of the Unicode standard:
http://unicode.org/faq/unsup_char.html
"""
Q: Which characters should be displayed as a visible but blank space?

A: This is the easy one: all the characters that have the White_Space
   property, also generically known as “whitespace characters”. This
   set includes SPACE, of course, but also such characters as the tab
   control character, NO-BREAK SPACE, LINE SEPARATOR, and so on. For
   the full list, see the White_Space values in PropList.txt.
"""

However, I'm not sure if we want to do this this way.  Note that
White_Space, as of Unicode 7.0, includes:

$ grep '; White_Space' PropList.txt
0009..000D    ; White_Space # Cc   [5] <control-0009>..<control-000D>
0020          ; White_Space # Zs       SPACE
0085          ; White_Space # Cc       <control-0085>
00A0          ; White_Space # Zs       NO-BREAK SPACE
1680          ; White_Space # Zs       OGHAM SPACE MARK
2000..200A    ; White_Space # Zs  [11] EN QUAD..HAIR SPACE
2028          ; White_Space # Zl       LINE SEPARATOR
2029          ; White_Space # Zp       PARAGRAPH SEPARATOR
202F          ; White_Space # Zs       NARROW NO-BREAK SPACE
205F          ; White_Space # Zs       MEDIUM MATHEMATICAL SPACE
3000          ; White_Space # Zs       IDEOGRAPHIC SPACE

That's in fact all of GC=Zs/Zp/Zl plus U+0009..000D and U+0085.
Of those, all the GC=Zs ones have a compatibility decomposition
to space already, so they were getting this treatment already,
with the benefit that client could override that fallback by
overriding decompose_compatibility() function, and in fact
LibreOffice already does that.  If we commit this change, clients
wouldn't be able to override that anymore.

So this change is essentially about ASCII control chars 9..D and
U+0085 NEL as well as U+2028/U+2029 LINE/PARAGRAPH SEPARATOR.
Perhaps I should limit this change to just those?

My personal feeling is that those characters are act... (continued)

6624 of 11242 relevant lines covered (58.92%)

268.51 hits per line

Relevant lines Covered
Build:
Build:
11242 RELEVANT LINES 6624 COVERED LINES
268.51 HITS PER LINE
Source Files on unsupported_whitespace
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
478 unsupported_whitespace Replace unsupported whitespace with space glyph This follows the word of the Unicode standard: http://unicode.org/faq/unsup_char.html """ Q: Which characters should be displayed as a visible but blank space? A: This is the easy one: all the char... push 27 Jan 2015 09:15PM UTC behdad travis-ci pending completion  
See All Builds (421)
  • Repo on GitHub
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc