Debian Bug report logs 318854 ttfbengali,devanagari,gujarati,punjabi,tamilfonts defoma errors on install.Cant install any packages on Debian 7.Reading package lists.Done Building dependency tree Reading state.How to set login screen resolution in debian.My Debian install.Debian wrong login and TTY resolution on 4K screen.Debian Wiki. Is removing defoma safe for ghostscript If not, how can we fix a problem Summaryghostscripts fontconfig support is very limited.CIDFnmap is obsolete.Lets remove it. CMap can be merged into poppler data or cmap adobe instead of using defoma.But it needs alternative symlinks.How to handle Fontmapcidfmap, especially aliasesDebian ghostscript 8.But unfortunately, it wont work as we expected.PSFont. Name returns a UTF 8 name, for example IPA Unknown.Such UTF 8 characters is probihited by the Postscript definition.If we run gs without LANG setting, it will return safe ASCII only name IPAMincho Unknown.PSFont. Name. So should we insert unsetenvLANG into zfontenum Well, even the fontname matches a target PSfont of PS file, it wont work yet.Install Debian From UsbIPA article.RYUMIN IPAMincho Unknown findfont exch dup.Cant find or cant open font file usrshareghostscript8.ResourceFontIPAMincho Unknown.Cant find or cant open font file IPAMincho Unknown.Didnt find this font on the system Substituting font Courier for IPAMincho Unknown.Debian Net Install' title='Debian Net Install' />I suspect the fontconfig support works.There is no way to get any alias lists.This will become a problem to make a fontmap from fontconfig informations.FedoraGentoo uses the fontconfig support.Fedora. Gentoo After observation, there isnt any new techniques, at least for CJK fonts cidfmap.FAPI FAPI is a freetype rendering structure and is disabled by default on Debian.It is quite different from the fontconfig font management and seems very beginning, doesnt reach the product level.CIDFnmap This fontmap is absolutely obsolete, because the patch to use this file is dropped from Debian source.I dont know what this fontmap and patch made at the first.CMap. CMap is a table between some encoding characters and CID code points, mainly for ChineseJapaneseKorean.They had been distributed under Adobes restricted license.Fortunatelly now they are relicensed under BSD license.There are some packages have CMap poppler data, cmap adobe japan.They include completely same files.The difference is only their locations.ResourceCMap. Currently this directory links varlibdefomags.CMap. Because ghostscript doesnt find subdirectories, just linking to poppler data wont work.Flat symlinking is needed.CMaps from cmap Fontmap.Fontmap is a map for Latin Type.There are 2 types.PS Fontname real fontpath PS Fontname Alias fontpath is absolute or relative path.Because ghostscript finds usrsharefontstype.Fontmap isnt necessary to define.On the other hand, Fontmap is important key to define aliases.Currently these aliases are managed by defoma.So we have to make them by another way.Helvetica. Narrow Bold.Oblique Nimbus. San.L Bold. Cond. Ital.Times Bold Nimbus.Rom. No. 9L Medi.Courier Oblique Nimbus.Mon. L Regu. Obli.Palatino Italic URWPalladio.L Ital. Helvetica Nimbus.San. L Regu. Helvetica Narrow Bold.Oblique Nimbus. San.L Bold. Cond. Ital.New. Century. Schlbk Bold.Italic Century. Sch.L Bold. Ital. Helvetica Bold.Oblique Nimbus. San.L Bold. Ital. Avant.Garde Book URWGothic.L Book. New. Century.Schlbk Roman Century.Sch. L Roma. Times Bold.Italic Nimbus. Rom.No. 9L Medi. Ital.Courier Bold Nimbus.Mon. L Bold. Palatino Bold URWPalladio.L Bold. Avant. Garde Book.Oblique URWGothic.L Book. Obli. Avant.Garde Demi URWGothic.L Demi. Bookman Demi URWBookman.L Demi. Bold. Courier Nimbus.Mon. L Regu. Helvetica.Narrow Oblique Nimbus.San. L Regu. Cond.Ital. Bookman Light.Italic URWBookman.L Ligh. Ital. New.Century. Schlbk Bold Century.Sch. L Bold. Helvetica Oblique Nimbus.San. L Regu. Ital.Helvetica Narrow Bold Nimbus.San. L Bold. Cond.Avant. Garde Demi.Oblique URWGothic.L Demi. Obli. Helvetica.Narrow Nimbus. San.L Regu. Cond. New.Century. Schlbk Italic Century.Sch. L Ital. Palatino Bold.Italic URWPalladio.L Bold. Ital. Times Roman Nimbus.Rom. No. 9L Regu.Palatino Roman URWPalladio.L Roma. Helvetica Narrow Oblique Nimbus.San. L Regu. Cond.Ital. Helvetica. Narrow Bold Nimbus.San. L Bold. Cond.Times Italic Nimbus.Rom. No. 9L Regu.Ital. Bookman Demi.Italic URWBookman.L Demi. Bold. Ital.Helvetica Bold Nimbus.San. L Bold. Zapf.Dingbats Dingbats.Courier Bold. Oblique Nimbus.Mon. L Bold. Obli.Bookman Light URWBookman.L Ligh. Zapf. Chancery Medium.Italic URWChancery.L Medi. Ital. Helvetica Narrow Nimbus.San. L Regu. Cond gsfonts provides core fonts.Te. X fonts. cidfmapcidfmap is a map for True.TypeCID fonts. There are some types but we use only two types as usual.PS Fontname lt lt File.Type True. Type Path real fontpath Subfont.ID 0 CSI LANGV VERSION PS Fontname Alias Subfont.ID is for TTCOTF and chooses which font will be used from such multiple fonts collection.LANGV is a CMap group such as Japan.Japan. 2, CNS1, GB1, or Korea.VERSION is a character set version.Larger version includes more glyphs.Japan. 1 font will take from 1 to 6, but it is very rare that free Japanese font supports 5 or 6.Well, what does 0 mean It would be nice if we can get this number automatically from the font file.VL PGothic Regular lt lt File.Type True. Type Path usrsharefontstruetypevlgothicVL PGothic Regular.Subfont. ID 0 CSI Japan.IPA Mincho Regular lt lt File.Type True. Type Path usrsharefontsopentypeipafontipam.Subfont. ID 0 CSI Japan.Sazanami. Gothic Regular Ja.H lt lt File. Type True.Type Path usrsharefontstruetypesazanamisazanami gothic.Subfont. ID 0 CSI Japan.Sazanami. Gothic Regular lt lt File.Type True. Type Path usrsharefontstruetypesazanamisazanami gothic.Subfont. ID 0 CSI Japan.Adobe Japan. 1 Bold VL PGothic Regular.Ryumin Light Sazanami.Mincho Regular. Gothic.BBB Medium VL PGothic Regular.Adobe Japan. 1 VL PGothic Regular.Heisei. Kaku. Go W5 VL PGothic Regular.Heisei. Min W3 Sazanami.Mincho Regular There are some important aliases for Japanese language Ryumin Light Japanese standard serif font for Postscript.Japanese Te. X normally uses this.Gothic. BBB Medium Japanese standard sans serif font for Postscript.Japanese Te. X normally uses this.Adobe Japan. 1 Acrobat PDF uses.Adobe Japan. 1 Bold Acrobat PDF uses.Heisei. Kaku. Go W5, Heisei.Min W3 Acrobat PDF may use.Chinese CNS1 MOESung Regular MSung Light MSung Medium MHei Medium MKai Medium Adobe CNS1 Adobe CNS1 Bold Chinese GB1 Song Medium STSong Light STFangsong Light STHeiti Regular STKaiti Regular Adobe GB1 Adobe GB1 Bold Korean HYSMyeong.Jo Medium HYGo. Thic Medium HYRGo.Thic Medium Adobe Korea.Adobe Korea. 1 Bold So how can we indicate this alias to proper TTFOTF font Here is a separeted cidfmap sample. Big Show Entrance Music Mp3 Download . Dont change following line.We should ensure that the original one is surely loaded.GS. runlibfile. CJK fonts.CN. runlibfileifexists.TW. runlibfileifexists.Unfortunatelly maintaining cidmap.Gentoo and Fedora simply provides static files.Kochi Gothic lt lt File.Type True. Type Path usrsharefontskochi substitutekochi gothic subst.CSI Japan. 1 6. Kochi Gothic Regular Kochi Gothic.Kochi Gothic Ja. H lt lt File.Type True. Type Path usrsharefontskochi substitutekochi gothic subst.CSI Japan. 2 0. Kochi Gothic Regular Ja.H Kochi Gothic Ja.H. Kochi Mincho lt lt File.Type True. Type Path usrsharefontskochi substitutekochi mincho subst.CSI Japan. 1 6. Kochi Mincho Regular Kochi Mincho.Kochi Mincho Ja. H lt lt File.Type True. Type Path usrsharefontskochi substitutekochi mincho subst.CSI Japan. 2 0. Kochi Mincho Regular Ja.H Kochi Mincho Ja.H. Ryumin Light Kochi Mincho.Gothic. BBB Medium Kochi Gothic.Adobe Japan. 1 Kochi Gothic.Adobe Japan. 2 Kochi Gothic Ja.H update gsfontmapkmutos personal idea Implemantation http people.Link CMap files flatly under varlibghostscriptCMap.The ResourceCMap of ghostscript links varlibghostscriptCMap.Because ghostscript Resource directory has a volatile version name, it will be better to use static directory to keep CMap files.Fontmap and cidfmap.
|
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
November 2017
Categories |