Delete smiley and playing card suits from Noto Serif LGC.

Previously, the existance of the five characters in the Noto Serif
LGC fonts was causing them to override the versions in the Noto Color
Emoji font when a serif style was specified for text, leading to
inconsistent use of emoji in sans versus serif text.

The characters were removed using the following script:

import glob
from nototools import subset

CHARS_TO_DELETE = {
  0x263A, # WHITE SMILING FACE
  0x2660, # BLACK SPADE SUIT
  0x2663, # BLACK CLUB SUIT
  0x2665, # BLACK HEART SUIT
  0x2666, # BLACK DIAMOND SUIT
}

for font_file in glob.glob('NotoSerif-*.ttf'):
  subset.subset_font(
      font_file,
      'touched/' + font_file,
      exclude=CHARS_TO_DELETE)

Bug: 24740612
Change-Id: I0fa61a6035996a598fad59b86760cffc6d7ec350
4 files changed
tree: cb3a515885d67a6fcedea39dcf3c7283ac79afe0
  1. Android.mk
  2. CleanSpec.mk
  3. README.android
  4. cjk/
  5. fonts.mk
  6. other/