Fix font ID allocation from DCP when there are subs and ccaps using the same IDs...
authorCarl Hetherington <cth@carlh.net>
Fri, 7 Jun 2024 19:09:03 +0000 (21:09 +0200)
committerCarl Hetherington <cth@carlh.net>
Fri, 7 Jun 2024 19:09:03 +0000 (21:09 +0200)
commit2d89772ba5b5bc3b2e010b3bbbafe2efa9300353
treec3152df004e3461a43b5059001a1894ca1623671
parent8e89905d0391f2b77253fe04ad1af285b2c6fec4
Fix font ID allocation from DCP when there are subs and ccaps using the same IDs (#2822).

Previously we would always use <last-reel+1>_id as a disambiguated ID
for every case.
src/lib/font_id_allocator.cc
test/font_id_allocator_test.cc