Jump to content

XML talk:TSFF: Difference between revisions

link fix and two new comments on the subject
No edit summary
(link fix and two new comments on the subject)
Line 2: Line 2:
Taking notes...
Taking notes...


http://www.devasp.net/net/articles/display/139.html
http://web.archive.org/web/20180117132342/http://www.devasp.net/net/articles/display/139.html


You could probably generate images of every glyph.
You could probably generate images of every glyph.
Line 11: Line 11:
::Paradox is talking about a way to generate arrays of ints to represent the glyphs' pixels. If you export TSFFTahoma to XML, you'll see that OniSplit generates a raw list of ints which could be replaced with the ints generated by that VB code. It also takes that XML back in with the -create command and generates the TSFF.oni file again. It's not elegant, but it might work.
::Paradox is talking about a way to generate arrays of ints to represent the glyphs' pixels. If you export TSFFTahoma to XML, you'll see that OniSplit generates a raw list of ints which could be replaced with the ints generated by that VB code. It also takes that XML back in with the -create command and generates the TSFF.oni file again. It's not elegant, but it might work.
::As for OniSplit handling a font file automatically, I don't think we can count on Neo adding frivolous functionality like that to OniSplit. I don't know if he is even planning on making any more releases. This is the sort of thing that normally a community would add to their primary modding tool, but in our case we don't even have a direct release of a recent version of the source code. That's why we would be better off trying to get Neo to open-source OniSplit than asking him for new features. I tried to contact him about this, but I don't think he checks his Yahoo email anymore. --[[User:Iritscen|Iritscen]] ([[User talk:Iritscen|talk]]) 17:15, 30 November 2016 (CET)
::As for OniSplit handling a font file automatically, I don't think we can count on Neo adding frivolous functionality like that to OniSplit. I don't know if he is even planning on making any more releases. This is the sort of thing that normally a community would add to their primary modding tool, but in our case we don't even have a direct release of a recent version of the source code. That's why we would be better off trying to get Neo to open-source OniSplit than asking him for new features. I tried to contact him about this, but I don't think he checks his Yahoo email anymore. --[[User:Iritscen|Iritscen]] ([[User talk:Iritscen|talk]]) 17:15, 30 November 2016 (CET)
 
::''[Update: We finally got his OniSplit source in 2020. See [http://websvn.illy.bz/listing.php?repname=Oni2&path=%2FOniSplit%2F here]. --Iritscen]''
: Oni supports only '''bitmap''' fonts. (Or is that wrong??) So not even Neo can bring a '''vector''' based font to Oni because that would mean changing Oni's or Daodan.dll's code and not OniSplit.
: Oni supports only '''bitmap''' fonts. (Or is that wrong??) So not even Neo can bring a '''vector''' based font to Oni because that would mean changing Oni's or Daodan.dll's code and not OniSplit.


Line 22: Line 22:
:I think that copyrighted fonts contain a flag that can be read by programs such as InDesign so that the user gets notified when he tries to 'summarize' all files or attempts to embed it into a PDF. That could be used to reject font use in this hypothetical Oni tool. --[[User:Paradox-01|paradox-01]] ([[User talk:Paradox-01|talk]]) 20:22, 5 December 2016 (CET)
:I think that copyrighted fonts contain a flag that can be read by programs such as InDesign so that the user gets notified when he tries to 'summarize' all files or attempts to embed it into a PDF. That could be used to reject font use in this hypothetical Oni tool. --[[User:Paradox-01|paradox-01]] ([[User talk:Paradox-01|talk]]) 20:22, 5 December 2016 (CET)
:If want to look further into this, maybe look here too, Google's top hit for "font bit flags": http://www.derwok.de/downloads/ttfpatch/ --[[User:Paradox-01|paradox-01]] ([[User talk:Paradox-01|talk]]) 20:33, 5 December 2016 (CET)
:If want to look further into this, maybe look here too, Google's top hit for "font bit flags": http://www.derwok.de/downloads/ttfpatch/ --[[User:Paradox-01|paradox-01]] ([[User talk:Paradox-01|talk]]) 20:33, 5 December 2016 (CET)
----
Just want to make a new note here about the fact that some localizations of Oni did add new fonts to the game. This was necessary in order to display foreign characters. See Japanese Oni, which has .fnt files in its GameDataFolder and a patched Oni.exe that reads them into memory. --[[User:Iritscen|Iritscen]] ([[User talk:Iritscen|talk]]) 16:03, 21 August 2020 (CEST)