| 1878 | } |
| 1879 | |
| 1880 | bool IMGUIManager::LoadFont(FixedString const& name, char const* path, float size) |
| 1881 | { |
| 1882 | auto curFont = fonts_.find(name); |
| 1883 | if (curFont != fonts_.end() |
| 1884 | && curFont->Value().Path == path |
| 1885 | && curFont->Value().SizePixels == size) { |
| 1886 | return true; |
| 1887 | } |
| 1888 | |
| 1889 | FontData font{ |
| 1890 | .Key = name, |
| 1891 | .Path = path, |
| 1892 | .SizePixels = size |
| 1893 | }; |
| 1894 | if (LoadFont(font)) { |
| 1895 | fonts_.set(name, font); |
| 1896 | return true; |
| 1897 | } else { |
| 1898 | return false; |
| 1899 | } |
| 1900 | } |
| 1901 | |
| 1902 | const ImWchar* GetGlyphRangesTurkish() |
| 1903 | { |
nothing calls this directly
no test coverage detected