Hi Eric, > On Dec 17, 2019, at 10:30 AM, Eric Auer <[email protected]> wrote: > > > Hi Jerome, > >> FDI itself can switch display font’s and for reasons I don’t >> feel like going in to at the moment, it does not use >> the codepage system. It uses transient bitmapped text mode >> fonts... > > Does that mean FDI can only work in graphics mode? If it does > work in text mode, then why does it re-invent DISPLAY and MODE?
Text mode not graphics. FDI only runs in text mode. It does not re-invent anything. It does overlap a little. It needs to quickly swap fonts an infinite number of times with the lowest disk, memory and code footprint possible. It does not use a TSR and they do not survive a mode reset. > I suggest to make FDI able to at least use existing fonts from > DISPLAY data files, either on the fly or using a set of pre-made > converted files, although using DISPLAY itself seems easier :-) Not easier than a “vfont /f16 ru866.v8f” to load and “vfont /d” to unload with no side effects. The vfont Utility can load both V8F and flat bitmap fonts like those in http://www.ibiblio.org/pub/micro/pc-stuff/freedos/files/repositories/latest/pkg-html/gnufonts.html But, the V8F is a streamlined (only contains characters that require changed) converted bitmap. Space on the floppy is at a very high premium. Storing 8k if only 40 bytes are required for a font is unacceptable. Take the Russian font as an example. It is completely different than English. But, it is only 1.25k. Not 8k. On top of all that, only the fonts required and supported by FDI need be present on the diskette. > >> Create a normal flat bitmap font file with the entire character set > > Already exists: Take the one from the DISPLAY codepage data file. That is what I would recommend. It is where the Russian V8F originated. > >> 1) Provide a V8F font file. > > I do not know VBPower Tools, but you already suggest a converter. > Having to confirm 216 times sounds very tedious for known fonts. It is a little. But not too bad. I thought about having the conversion program do it automatically. But, if the CP differs in the shape of a character in an irrelevant way, detection would fail. So, it just relies on manual curation. >> 2) Include a TXT file. This file should contain information >> regarding the origin, licensing and any other important info > > All fonts used by DISPLAY are free for your intended use :-) Yep, they are GPL. > > Regarding the final conversion of the text from UTF8 to a DOS > codepage of your choice: The free open source tool "recode" is > able to do exactly that, even for multiple files in one run :-) Yep. But since I don’t read Turkish... They would need to do and verify the conversion. > > Regards, Eric > > > > _______________________________________________ > Freedos-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/freedos-devel
_______________________________________________ Freedos-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/freedos-devel
