Skip to content

Commit

Permalink
NFC: Remove ToDo comment that appears to be done
Browse files Browse the repository at this point in the history
The comment "@todo identify fonts by their name and not filename" was was
added in solvespace@784f3e5
but seems to have been already implemented at that time since TTF fonts are
sorted and filtered by their font name instead of file name.
  • Loading branch information
ruevs committed Aug 23, 2024
1 parent cec40e2 commit 9dc81f7
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/ttf.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -81,9 +81,6 @@ void TtfFontList::LoadAll() {
[](const TtfFont &a, const TtfFont &b) { return a.name == b.name; });
l.RemoveLast(&l[l.n] - it);

//! @todo identify fonts by their name and not filename, which may change
//! between OSes.

loaded = true;
}

Expand Down

0 comments on commit 9dc81f7

Please sign in to comment.