Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
DEVTOOLS: BLADERUNNER: Full cp-1252 support for subtitles
And additional bug fixes for font creation and detection of error cases
- Loading branch information
1 parent
3a7219f
commit cfee64e
Showing
6 changed files
with
318 additions
and
301 deletions.
There are no files selected for viewing
508 changes: 257 additions & 251 deletions
508
devtools/create_bladerunner/subtitles/fontCreator/grabberFromPNG17BR.py
Large diffs are not rendered by default.
Oops, something went wrong.
9 changes: 4 additions & 5 deletions
9
devtools/create_bladerunner/subtitles/fontCreator/samples/overrideEncodingSUBLTS.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,6 @@ | ||
targetEncoding=windows-1253 | ||
asciiCharList=!!"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~…Ά£¥¦§ΈΉΊΌΎΏΐΑΒΓΔΕΖΗΘΙΚΛΜΝΞΟΠΡΣΤΥΦΧΨΩΪΫάέήίΰαβγδεζηθικλμνξοπρςστυφχψωϊϋόύώ | ||
explicitKerningList=i:-1 | ||
targetEncoding=windows-1252 | ||
asciiCharList=!!"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—™š›œžŸ¡¢£¤¥¦§¨©ª«¬®¯°±²³´µ¶·¸¹º»¼½¾¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖ×ØÙÚÛÜÝÞßàáâãäåæçèéêëìíîïðñòóôõö÷øùúûüýþ | ||
explicitKerningList=i:-1,ì:-1,í:-1,î:-1,ï:-1,u:-1 | ||
explicitWidthIncrement=i:0,j:1,l:1 | ||
originalFontName=SUBLTS | ||
specialOutOfOrderGlyphsUTF8ToAsciiTargetEncoding=í:Ά,ñ:¥,â:¦,é:§,Ά:£ | ||
|
||
specialOutOfOrderGlyphsUTF8ToAsciiTargetEncoding=ÿ:€ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
devtools/create_bladerunner/subtitles/sampleInput/configureFontsTranslation.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
fontNameAndOutOfOrderGlyphs=SUBTLS_E#windows-1253#í:Ά,ñ:¥,â:¦,é:§,Ά:£ | ||
fontNameAndOutOfOrderGlyphs=SUBTLS_E#windows-1252#ÿ:€ | ||
fontNameAndOutOfOrderGlyphs=KIA6PT#cp437# | ||
fontNameAndOutOfOrderGlyphs=TAHOMA#cp437# | ||
fontNameAndOutOfOrderGlyphs=SYSTEM#latin-1# |
9 changes: 4 additions & 5 deletions
9
devtools/create_bladerunner/subtitles/sampleInput/overrideEncodingSUBLTS.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,6 @@ | ||
targetEncoding=windows-1253 | ||
asciiCharList=!!"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~…Ά£¥¦§ΈΉΊΌΎΏΐΑΒΓΔΕΖΗΘΙΚΛΜΝΞΟΠΡΣΤΥΦΧΨΩΪΫάέήίΰαβγδεζηθικλμνξοπρςστυφχψωϊϋόύώ | ||
explicitKerningList=i:-1 | ||
targetEncoding=windows-1252 | ||
asciiCharList=!!"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—™š›œžŸ¡¢£¤¥¦§¨©ª«¬®¯°±²³´µ¶·¸¹º»¼½¾¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖ×ØÙÚÛÜÝÞßàáâãäåæçèéêëìíîïðñòóôõö÷øùúûüýþ | ||
explicitKerningList=i:-1,ì:-1,í:-1,î:-1,ï:-1,u:-1 | ||
explicitWidthIncrement=i:0,j:1,l:1 | ||
originalFontName=SUBLTS | ||
specialOutOfOrderGlyphsUTF8ToAsciiTargetEncoding=í:Ά,ñ:¥,â:¦,é:§,Ά:£ | ||
|
||
specialOutOfOrderGlyphsUTF8ToAsciiTargetEncoding=ÿ:€ |
Binary file modified
BIN
+13.2 KB
(150%)
devtools/create_bladerunner/subtitles/sampleInput/subtitlesFont.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.