| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2024-06-11 | Simplify the FontIDAllocator a lot (#2827). | Carl Hetherington | |
| This is at the expense of forward compatibility, and the need to re-examine subtitle content (losing custom fonts as we do so). But it does mean that the code is simpler, and there's not this weird growth of IDs where a DCP gets imported with some font, and then the ID becomes 0_font, and if you do it again it's 0_0_font, and so on. | |||
| 2024-06-07 | Fix font ID allocation from DCP when there are subs and ccaps using the same ↵ | Carl Hetherington | |
| IDs (#2822). Previously we would always use <last-reel+1>_id as a disambiguated ID for every case. | |||
| 2023-10-15 | Fix DCP content font ID allocation to cope with DCPs that have multiple fonts | Carl Hetherington | |
| with the same name in the same reel (#2600). Previously we had this id_for_font_in_reel() which would give an ID of N_font-ID. This means we got duplicate font IDs. Here we replace that method with FontAllocator, which gives an ID of N_font-ID for the first font and M_font-ID, where M is a number higher than the highest reel index. The idea is to support the required new IDs without breaking exisiting projects. There is some documentation of how it works in doc/design/fonts | |||
