diff --git a/encodings/New-PostscriptEncodingTable.ps1 b/encodings/New-PostscriptEncodingTable.ps1 index 80236092..bd29165b 100644 --- a/encodings/New-PostscriptEncodingTable.ps1 +++ b/encodings/New-PostscriptEncodingTable.ps1 @@ -79,6 +79,8 @@ Get-Content ` $EncodingCode = [int32] $_.EncodingCode; if ( $EncodingCode -lt 0x20 ) { $EncodingTable[ $EncodingCode ] = '.notdef'; + } elseif ( $UnicodeCode -eq 0 ) { + $EncodingTable[ $EncodingCode ] = '.notdef'; } elseif ( $GlyphNames[ $UnicodeCode ] ) { $EncodingTable[ $EncodingCode ] = $GlyphNames[ $UnicodeCode ]; } else { diff --git a/stamps/lib/cp1251.ps b/stamps/lib/cp1251.ps index 08e27fad..4e859911 100644 Binary files a/stamps/lib/cp1251.ps and b/stamps/lib/cp1251.ps differ diff --git a/stamps/lib/cp1253.ps b/stamps/lib/cp1253.ps index 5f6ebd2e..5d81fd83 100644 Binary files a/stamps/lib/cp1253.ps and b/stamps/lib/cp1253.ps differ