Skip to content
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

error in font builder when building fonts #265

Open
AdventurerRussia opened this issue Jan 4, 2025 · 6 comments
Open

error in font builder when building fonts #265

AdventurerRussia opened this issue Jan 4, 2025 · 6 comments

Comments

@AdventurerRussia
Copy link

AdventurerRussia commented Jan 4, 2025

When selecting to export fonts, any item in this menu causes an error, I have tried different locations for the subtitle file and made it a simple name. But the error still occurs. I also checked different subtitle files that extracted fonts normally before. But the error is everywhere.

image

• Aegisub 3.4.1

@arch1t3cht
Copy link
Member

I can't reproduce this. Do you have any more information? Does this happen to you with any subtitle file, or only with some? (If it's only for some, I'd suspect this is another problem with special characters.) Does it maybe depend on the fonts involved? Does it also error when you select "Check fonts for availability"?

Also, could you check if this still happens on the latest version (https://github.com/TypesettingTools/Aegisub/actions/runs/12619633523), or if this was maybe fixed together with #261 ?

@AdventurerRussia
Copy link
Author

AdventurerRussia commented Jan 5, 2025

  1. occurs with any subtitles I have. Regardless of the subtitle file names. I took the English subtitles to check, and it's the same.
  2. yes, the error is there if you just check the fonts for accessibility.
  3. I also removed all files from the user's folders to make sure nothing is in the way. it had no effect.

C:\Users\Name\AppData\Local
C:\Users\Name\AppData\Roaming

  1. I checked the version you gave and there is no error as before, however I will say that this function is unstable, when checking or building the program window reads the file, compared to when the program in normal mode did it, now when you start building fonts reading the file takes 10-15 seconds, when before it was 2-3 seconds, also during reading the program window stops working, says that the program is not responding, and also sometimes gives an error.
    Here the program just displays a message where the arrow that it does not respond and then builds fonts, or hangs and gives an error.
    at the moment of the message - reading the file, the program is very unstable.

image

@AdventurerRussia
Copy link
Author

AdventurerRussia commented Jan 5, 2025

upd
hangs on subtitles with a lot of fonts and complex captions. no problem with simpler subtitles, the program works as it should.

sub
[MTBB] Oshi no Ko - 01 [BDRip 1080p x265 FLAC].Starsugen.en.zip
Fonts
[Starsugen] Oshi no Ko (My Star) - 01 (WEB 1080p AAC) [FF62C69C]_attachments.zip

@arch1t3cht
Copy link
Member

Thanks for the data and your investigation. Unfortunately, I still can't reproduce the error (on 3.4.1, I even tried changing the language to Russian), but if you say it's fixed on the latest version I'll take that. At least I can find parts of the code that might have caused problems in the past and are fixed now.

I'm afraid I also don't know why the font collector would hang so much for you, and that doesn't happen for me either (the one explanation I have would be having a very large amount of fonts installed, but even then I don't know why it'd be slower than before), but on my fork there is a rework of the Windows font collector by moi15moi that will also be merged here soon. That should hopefully make things faster.

@AdventurerRussia
Copy link
Author

AdventurerRussia commented Jan 6, 2025

@arch1t3cht
I deleted all third-party fonts from the system and installed only the fonts from the subtitles that I attached above, but now the file is read instantly, no errors occur, so the problem is a large number of fonts, I had 500 fonts somewhere additional, I think this problem is not only me, but also also, people who make complex inscriptions and who also have a huge number of fonts for these purposes.

@Takcsik24
Copy link

Takcsik24 commented Jan 6, 2025

I recommend use fontbase https://fontba.se/ , create collections and activate the font collections with fontbase instead install all fonts on your system. This not solve the Aegi's bug, but it's so much better than install many fonts.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants