Hi,
Does anybody have Arial.ttf smaller than 640kb? I have checked my PCs and Macs at work and they are all above that size...
QC sadly rejects it otherwise and client insists on using Arial...
Thanks!
Arial Font <640kb
-
Carsten
- Posts: 3036
- Joined: Tue Apr 15, 2014 9:11 pm
- Location: Germany
Re: Arial Font <640kb
Do you have access to subtitled IOP DCPs?
-
IoannisSyrogiannis
- Posts: 317
- Joined: Mon Nov 13, 2017 8:40 pm
- Location: Iceland
Re: Arial Font <640kb
Using the fonts from an Interop DCP may or may not work, depending on whether the fonts are "compressed", where glyphs will be missing.
More info here: https://dcpomatic.com/forum/viewtopic.php?t=2508
The way towards the compressor from Texas Instruments as well.
Some professional subtitling programs offer that function as well. To the best of my knowledge, Subtitle Edit does not.
More info here: https://dcpomatic.com/forum/viewtopic.php?t=2508
The way towards the compressor from Texas Instruments as well.
Some professional subtitling programs offer that function as well. To the best of my knowledge, Subtitle Edit does not.
-
cvila
- Posts: 22
- Joined: Tue Jul 16, 2024 11:54 am
Re: Arial Font <640kb
Hi I have now resolved the issue, but just as a note of caution I checked 3 or 4 "arial.ttf" from commercial DCPs I received at my work and they all showed several degrees of missing glyphs that I potentilally need at some point. They were certainly "trimmed" for English language.
While my subtitles are mostly in Spanish, I like to keep foreign names (German, Polish, Czech...) in their native form.
Cheers
While my subtitles are mostly in Spanish, I like to keep foreign names (German, Polish, Czech...) in their native form.
Cheers
-
Carsten
- Posts: 3036
- Joined: Tue Apr 15, 2014 9:11 pm
- Location: Germany
Re: Arial Font <640kb
Hmm, that's a difficult problem. You may find versions of ARIAL matching your needs, but in the long run, you may simply need to resort to font compressor.
-
IoannisSyrogiannis
- Posts: 317
- Joined: Mon Nov 13, 2017 8:40 pm
- Location: Iceland
Re: Arial Font <640kb
It's not exactly „compressing“ or „trimming“, if you will, for English language. The compressor is going through the subtitle file, in order to determine which glyphs are used and which not. Then, it removes the non-used. That is the reason that different reels may have different font file sizes of the same typeface (Arial, for instance).
Therefore, if you make a subtitle file that uses all the glyphs you care for and run a compressor in accordance to that, you may get a compressed font file that would cover your needs without it being full size. Yet, the truth is that the optimal solution would be to apply this sifting of unused glyphs on each individual subtitle file.
There is a program, font-forge that probably can remove glyphs. Also, a python program called pyftsubset.
From what I read (I haven't used it) a command like the following would do the job according to a text file:
That will demand installing "fonttools" on python.
If you figure a way to go, drop a line so we can learn something out of it as well.
Edit: I read that the program ignores whatever is after a #, on the text lines...
Therefore, if you make a subtitle file that uses all the glyphs you care for and run a compressor in accordance to that, you may get a compressed font file that would cover your needs without it being full size. Yet, the truth is that the optimal solution would be to apply this sifting of unused glyphs on each individual subtitle file.
There is a program, font-forge that probably can remove glyphs. Also, a python program called pyftsubset.
From what I read (I haven't used it) a command like the following would do the job according to a text file:
Code: Select all
pyftsubset input_font.ttf --text=characters.txt --output-file=subset_font.ttfIf you figure a way to go, drop a line so we can learn something out of it as well.
Edit: I read that the program ignores whatever is after a #, on the text lines...
-
Carsten
- Posts: 3036
- Joined: Tue Apr 15, 2014 9:11 pm
- Location: Germany
Re: Arial Font <640kb
Maybe you can digest your personal Arial with all necessary glyphs by creating a special subtitle file using full glyph sets for the languages you need, then run it through font compressor together with a full ARIAL TTF. Even covering the languages you mentioned, this should still be a small file.
A bit of work, but, you should be able to find the necessary char tables on the internet. Maybe even ChatGPT can create them for you
- Carsten
A bit of work, but, you should be able to find the necessary char tables on the internet. Maybe even ChatGPT can create them for you
- Carsten