Commit Graph
73 Commits
Author SHA1 Message Date
djsrv 40c8ab4724 GRAPHICS: MACGUI: Fix registering font to preferred ID 2021-08-06 08:56:32 -04:00
djsrv ad780d761c GRAPHICS: MACGUI: Handle TTF fonts with slant 2021-07-30 16:43:57 -04:00
djsrv 29197c191c GRAPHICS: MACGUI: Fix font memory leaks 2021-07-30 16:43:57 -04:00
ysj1173886760 3d0b7d5130 GRAPHICS: MACGUI: modify the parameter of scaleFont in macFont 2021-07-23 17:06:38 +08:00
djsrv ea7d098913 GRAPHICS: MACGUI: Clean up comments 2021-07-12 18:02:56 -04:00
djsrv 6621b6121d GRAPHICS: MACGUI: Fix ID at which Japanese fonts start 2021-07-12 18:02:56 -04:00
djsrv de929228c4 GRAPHICS: MACGUI: Add Japanese mode 2021-07-12 18:02:56 -04:00
djsrv ad79812cc6 GRAPHICS: MACGUI: Introduce font aliases
Easy way of adding more font IDs and names for the same font.
2021-07-12 18:02:56 -04:00
djsrv 0c053d20ba GRAPHICS: MACGUI: Replace kMacCentralEurope with kMacRoman 2021-07-12 15:41:21 -04:00
djsrv 354e344b4d GRAPHICS: MACGUI: Start IDs for new font registrations at 100
Makes it clearer that these are not system fonts.
2021-07-12 15:41:21 -04:00
djsrv 68426370f3 GRAPHICS: MACGUI: Don't register font name in loadFonts
We don't know a font's preferred ID at this point. We must get that from
the Director movie's font map.
2021-07-12 15:41:15 -04:00
djsrv 9fe78bc54d GRAPHICS: MACGUI: Fix unregistered font segfault 2021-07-12 01:33:16 -04:00
djsrv f4d2b75342 GRAPHICS: MACGUI: Set default encodings in registerFontName 2021-07-12 00:38:05 -04:00
djsrv 2e3b08017f GRAPHICS: MACGUI: Whitespace cleanup 2021-07-12 00:38:05 -04:00
djsrv acb3ace45e GRAPHICS: MACGUI: Detect Japanese fonts from preferred ID 2021-07-12 00:38:05 -04:00
djsrv 71d4127b8a GRAPHICS: MACGUI: Store font lang and encoding 2021-07-12 00:38:05 -04:00
djsrv ed406150c2 GRAPHICS: MACGUI: Add font name from Alan Kay demo 2021-07-12 00:38:05 -04:00
djsrv 53f600846b GRAPHICS: MACGUI: Fix fallback of Japanese fonts to Osaka 2021-07-12 00:38:05 -04:00
djsrv b57f6d8b7f GRAPHICS: MACGUI: Allow fonts to be registered to a preferred ID 2021-07-12 00:38:05 -04:00
djsrv f39e6eaac7 GRAPHICS: MACGUI: Add Japanese font info 2021-07-12 00:38:05 -04:00
djsrv b7c40b3d37 GRAPHICS: MACGUI: Create font info dictionary 2021-07-12 00:38:05 -04:00
djsrv e9d9b9f569 DIRECTOR: Revert FXmp handling
This reverts commit 4dabee7e8b.
This reverts commit 3fda461d5f.
This reverts commit 831c014f9e.
This reverts commit b3b55e59e9.
2021-07-06 16:47:20 -04:00
djsrv 3fda461d5f GRAPHICS: MACGUI: Handle FontXPlatformMap in MacFontManager::getFont 2021-07-05 22:54:14 -04:00
djsrv 58ab956d72 GRAPHICS: MACGUI: Don't allow font IDs to be overridden
New fonts are automatically assigned a unique ID.
2021-07-02 18:08:21 -04:00
ysj1173886760 93421af649 GRAPHICS: MACGUI: clean the code and write comments for readability 2021-06-20 14:33:53 +02:00
ysj1173886760 3098ff11b4 GRAPHICS: MACGUI: parse slant directly from name when we didn't get any slants. 2021-06-20 14:33:53 +02:00
Henrik "Henke37" Andersson 2300f0a7d4 MACGUI: Use getValOrDefault 2021-02-12 00:41:23 +01:00
Eugene Sandulenko 952c4c98ee GRAPHICS: MACGUI: Try to generate different font slant first 2020-07-05 22:45:46 +02:00
Eugene Sandulenko 25c1e4a590 MACGUI: Restrict TTF font generation to regular fonts only 2020-07-05 22:45:07 +02:00
Eugene Sandulenko 561052c476 GRAPHICS: MACGUI: Fix bug when we stopped loading font family after TTF font 2020-07-05 22:42:49 +02:00
djsrv 20e29b2198 GRAPHICS: MACGUI: Load TrueType fonts 2020-06-29 22:11:13 -04:00
Eugene Sandulenko dd21ddbe15 GRAPHICS: MACGUI: Plug potential memory leak 2020-04-27 13:57:35 +02:00
Eugene Sandulenko d9a11fdf76 GRAPHICS: MACGUI: Fix searching for next bigger font in MacFontManager 2020-04-27 13:57:35 +02:00
Eugene Sandulenko 39ad4d4e02 GRAPHICS: MACGUI: Request outline fonts generation 2020-03-22 17:40:59 +01:00
Eugene Sandulenko 988daefade GRAPHICS: MACGUI: Parse slant in extra fonts too 2020-02-16 15:53:19 +02:00
Eugene Sandulenko 8df4d8a339 GRAPHICS: MACGUI: Proper processing of font slant names 2020-02-16 15:53:19 +02:00
Eugene Sandulenko 96912ee3f1 GRAPHICS: MACGUI: Moved Font::setName() method implementation out of the header 2020-02-10 15:05:46 +01:00
Eugene Sandulenko 8c8a710d80 GRAPHICS: MACGUI: Generate bold font substitutes in MacFontManager 2020-01-07 21:57:12 +01:00
Eugene Sandulenko bfd796fec2 GRAPHICS: MACGUI: Use regular slant as font substitutes 2020-01-07 21:57:12 +01:00
Eugene Sandulenko c47c9eaad4 GRAPHICS: MACGUI: Improved fallback processing for mac font families 2019-12-24 16:28:02 +01:00
Eugene Sandulenko 8f7df6230e MACGUI: Recognise the fact that Geneva font lives with 2 IDs 2019-11-24 18:42:45 +01:00
Eugene Sandulenko 8bb261abba MACGUI: Temporary fix for Geneva font duality 2019-11-24 15:57:08 +01:00
Eugene Sandulenko 2d1dc5d1c4 GRAPHICS: MACGUI: Added default font for MacText 2019-10-19 17:43:47 +02:00
Eugene Sandulenko 4d8a0f22f2 GRAPHICS: MACGUI: Fix compilation without freetype 2019-10-18 09:27:33 +02:00
Eugene Sandulenko 3ae526dfed GRAPHICS: MACGUI: Added support for Unicode fonts in menu 2019-10-18 00:20:54 +02:00
Eugene Sandulenko 6100de0b3a GRAPHICS: MACGUI: Add possibility to set WM mode right away
This lets us to not load mac fonts when the built-in mode in enforced
2019-10-17 01:42:44 +02:00
Cameron Cawley 2097c33b57 GRAPHICS: MACGUI: Make use of Common::String::format (#1454) 2018-12-23 15:57:20 +02:00
Eugene Sandulenko e13d567eb9 GRAPHICS: MACGUI: Improved debug output in MacFontManager 2017-08-22 10:25:00 +02:00
Eugene Sandulenko 319bbcfbf1 GRAPHICS: Hid noisy warning in MacFontManager 2017-03-12 16:20:00 +01:00
Eugene Sandulenko 1a4be95aaa GRAPHICS: Try to generate font names from slant in MacFontManager 2017-02-04 16:04:36 +01:00