OSDN Git Service

Check the count of the families in a default collection.
authorSeigo Nonaka <nona@google.com>
Fri, 6 Jan 2017 07:54:52 +0000 (16:54 +0900)
committerSeigo Nonaka <nona@google.com>
Wed, 11 Jan 2017 08:46:52 +0000 (17:46 +0900)
commit9092dc2fa8457858a8e9eab10d91e36225359f5a
treef2ac11185210459e311106ee1941f7ab3d94d750
parent3b6bcfb65d3a869ac36f5fea9a78820e1268470a
Check the count of the families in a default collection.

After I9e01d237c9adcb05e200932401cb1a4780049f86, Minikin can
accept up to 254 font families. To make sure we don't exeed this limit,
introduce an assertion to fontchain_lint.py

Bug: 33562608
Test: m fontchain_lint
Change-Id: I35fc104fd4763f77145bef0e7c5facf30fa99644
tools/fonts/fontchain_lint.py