-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fonts are too wide / wrong size in some games compared to original system (PSP) fonts #2788
Comments
You need the actual PSP font I think. It's illegal for the emulator authors to distribute. |
It is as @TallgeeseHeaven has mentioned. Rip your own PSP's original fonts, or live with it for now. |
We could probably make a custom font file that looked better, but it's a lot of work so I haven't really prioritized it. |
You can also try one of the various PGF font packs out there on the web, but there are no promises they'll look good or work well with PPSSPP. |
We need to know what games use PSP fonts. In the last versions, the fonts in Phantasy Star are acceptable, despite they are not perfect. The fonts in Lunar continue bad. @unknownbrackets |
Some games I know of that use (or at least link) sceFont to one degree or another:
(Marked with * means very limited usage afaik.) They are raster, yes. This is a tool to generate PGF fonts: As far as the fonts, I don't remember which one is Lunar. You can tell relatively easily by renaming I guess. IIRC it's a large one, probably 0? 0 is Latin large 8-15 are the same again, but Latin small. Lunar uses one of the small ones in the initial intro, iirc, and large ones in dialogs. The small one is too large, but the ascenders/etc. are approximately correct. The large one is too large also, but the ascenders are also wrong. -[Unknown] |
Thanks. |
Width is also an issue. All the characters need to basically fit neatly within their box. Th is i s wh yyou get bad kerni ng i n Di ssi di a, or at least used to. IIRC the width is not far off (which can matter since some games hard wrap, including Lunar) but the height is too much. -[Unknown] |
I resized some bmp files and I need to test them. |
Is there much of a point keeping this open anymore? We've been through various fonts, and if the user doesn't like the ones we supply, it's not difficult to swap them out for real PSP fonts (though IIRC Android/iOS users are still out of luck). |
You can swap out on all platforms, but it'd be nice to improve the fonts shipped by default to have a similar size... -[Unknown] |
Actually, I've managed to successfully swap the real PSP fonts in PPSSPP on my JB'ed Ipad 3 retina by manually going to where the program has been installed by Cydia, and using FTP (OpenSSL on the Ipad 3 and winscp551 on the Windows 7 laptop), transferring it from my the ppsspp folder on my PC to that particular folder. The font folder on the JB'ed iOS Cydia ppsspp installation (using angelxwind's repo) is located in
The only issue with this method is that once I remove that version of PPSSPP to upgrade it to the latest one on her repo, I have to replace the font files again, since they are considered to be a part of the orignal package. The ini files are actually saved in between installations, so are the games on the iOS device (obviously). |
@solarmystic you don't have to do that. You can place them in a flash0 directory inside the PSP folder. Specifically, it looks for a folder This works on all platforms. -[Unknown] |
The only thing about what you suggested that does not quite work out is the fact that the iPad (and indeed all iOS devices) don't use/have any external storage that would use the ms0: (memory stick) moniker. Hmm... |
Well, assuming that you can save games on your iPad, it means there is a PSP directory somewhere. That is what I'm referring to. On Windows, "ms0:/" means "memstick/ in either the PPSSPP directory or My Documents". On Android, "ms0:" typically means "/sdcard/". On Linux, "ms0:" typically means "~/.config/ppsspp/PSP/". I don't remember what it means on iOS. But it is the same place your savedata and savestates reside. -[Unknown] |
Ahh, I see what you mean, but the location is different for the JB'ed iOS PPSSPP installation. It's over here instead:- I have to create the flash0 and font folders manually. And yes, it does work that way, thanks for the heads up. |
Right. Like the ini files and your savedata, this won't be deleted when you upgrade. -[Unknown] |
Probably this one should be closed ? I think @thedax ask the same question 3 months ago :) |
If you think this should be closed, you haven't played many games with the default fonts. -[Unknown] |
We definitely need to ship a better default font before this can be worthy of closing. The current one isn't that great. |
So, I'm implementing a little font editor. I'm thinking this will be the best way to get correct metrics. So far it can load pgf fonts and display characters for editing, but can't save yet, shadows not supported yet, and the character map is not implemented yet. For simplicity, I'm just implementing it for the web browser (client side only.) Anyway, I'm thinking to allow loading a font to work on, and a "reference font". The reference font would show the metrics (advance, w/h, etc.) for next to your glyph's metrics. Need to allow editing those, and maybe ideally visualizing them but I'm probably not gonna do that. Also need to add a "palette" or something. There's 16 colors, dragging over each box 15 times to make it 100% is kinda too much, heh. -[Unknown] |
Very cool! Could generate the shadows automatically with a little darken + blur, too. |
I've been using the texture replacement feature to replace the individual characters for specific titles, and the results are quite good, but it is extremely labor intensive and has to be done on a per-game, per-language basis. Would it be possible to have a similar dump -> load feature for the entire system font? If the entire font could be dumped-to / loaded-from a single texture it would be ideal. |
Essentially, that is what a PGF is - the font textures, plus numbers about how big and how wide each character is. Of course, only a fraction of games use PGFs (system fonts.) A lot of games don't. There's no way to just do it once for those. I'd guess around 15%, but lower if you don't count minis. But note that PGFs are rendered to RAM and the way the API works - it's much more complicated to upscale them than regular textures. We could try to track as they are copied around in RAM or something, but it might become per-game and labor intensive for that to work everywhere too. -[Unknown] |
Fixed these PGF font below. I can't make "ltn8~15" (Small size English PGF font) now. |
This modified fonts will solved hrydgard#9466.(QIX++) And,It will solved the few part of hrydgard#2788 too.(Example:LUNAR)
I made Small Fonts. Test Target) |
and ALL This issue is started 8 years ago. How do you think about it? @unknownbrackets |
Just disabled my own font dumps and tested the new ones out on Jeanne d'Arc (one of the sensitive titles). Gotta say, it looks fantastic, and damn close to the real fonts. The prior experience without those dumps was... unpleasant to say the least. |
Even if there was a conversion tool, font making was handwork. |
Thanks again for your great work @nassau-tk :) |
See screenshot than you see the Problem.
The text was updated successfully, but these errors were encountered: