Adobe Font Metrics
Adobe Font Metrics(As for AFM and アドビ font metrics), アドビシステムズ you lectured,PostScript fontThe mechanism which handles information in printing.TeX andDTP and the like, computer hypothetical font.
Here mainly, you express concerning handling the hypothetical font.
Table of contents |
The font environment which becomes prerequisite
With present computer environment usually,Word processorAnd DTP software (not just everything which utilizes letterApplication) With, it is loaded onto that computer font. (However,Printer driverIn case of the software which utilizes information,PrinterThere are also some which can utilize the font which is loaded.)
Moving the data to the computer where the font which we would like to use is installed, there is also a method of replacing the font, but proportional font layout deteriorates from the difference of information between letter. In addition,Group editionPutting, from demand and the like in regard to design, interval of letter the processing which is made narrower than the normality ("it stuffs and" with you say) there are times when it does. In case of Japanese group edition, hiragana・ katakana (especially, "kana it stuffs" this and with says). Judging the stuffing quantity where the designer and the operator are appropriate, it does, ' the manual stuffing (forced liquidation) ' with, the font it hasStuffing informationIt utilizes ' automatic operation to stuff, ' it is, but because which the shape of character (the typeface) it differs in every calligraphic style, when it replaces the font, it was the above-mentioned example similar for layout to deteriorate. Because of that, with the work kind of flow which replaces the font, everythingAnd so on width fontSo, furthermore without stuffing altogether, when the measure that it designs, is taken, it was. Copying research converter ( copying research, it corresponds to this basically.
The function which is actualized by AFM
As for Adobe Font Metrics, the hypothetical font environment which can do the kana stuffing and the like freely in the application which corresponds to that, is offered. If only the AFM file which records, the stuffing information of width height and the like of each letter of a certain font you prepare, it is possible, also the extremely automatic operation stuffing of the floor can do to handle that font hypothetically even with the environment which does not have the particular font. However, the shape of character which is used for picture indication differs from any actual things largely,WYSIWYG. Because of that, doing with just intuition, the manual stuffing which responds to the shape of character of almost excluding the space between letters adjustment and the like several percent which do not have hindrance, means to be impossible principlly.
The AFM file is not the font. Simply, name of a certain font is executed, vertical uniting、 side uniting. The stuffing information which differs at length and breadth can explain necessity, from example below. For example as for "one" of Chinese numbers, in case of side unitingHypothetical bodyBecause letter is designed to last, it is not stuffed, but in case of the vertical uniting it is possible approximately nine tenths to stuff the interval of letter front and back. On the one hand Arabic figures "1" is, it becomes opposite. As for substance of AFM file mere text data, when it cannot procure the AFM file of the font which we would like to use, it means that also it is possible with respect to reason to make by your.
Output of the data which uses AFM
Because AFM file itself is not the font, when "dynamic download (the system which transmits the shape of character from the computer)" you use from the computer which does not stack that font, it is not output with the correct shape of character. Because of that, it outputs from the computer which stacks that font, or it outputs from the printer where the printer itself has loaded that font. In this both case, correct layout is maintained by the effect of AFM.
As the application which utilizes AFM, the DTP softwareEDICOLOR and the like.WindowsMacintosh, but with this mechanism both operating system, there are no times when layout deteriorates, in addition, from Windows they can output the PostScript font of printer loading, when it is processed such as kana stuffing. If the kana stuffing and the like is not done, if font name (name because the printer recognizes) only it has done securely, it is good. Furthermore in Macintosh edition EDICOLOR as for AFM it is the single file, but in Windows edition extensionAFM and extension RSR.
AFM file
Contents itself of the AFM file do not become extreme simple. As contents, letter width, information of kerning and the バウンディング box etc.ASCII character string. It is something which is similar to け る TFM in Tex. Temporarily, you call here "Wiki Gothic ー medium", assuming that the PostScript font for Macintosh and vertical uniting correspondence exists, it shows that AFM file how becomes.
StartFontMetrics 3.0 MetricsSets 0 FontName WikiGothic-Medium-83pv-RKSJ-H IsBaseFont false Characters 2502 FontBBox 0 -140 1000 880 EncodingScheme FontSpecific MappingScheme 6 StartCharMetrics 2502 CH <20> ; W0X 250 ; B 0 0 0 0 ; CH <21> ; W0X 333 ; B 109 -14 224 665 ; CH <22> ; W0X 408 ; B 69 439 325 670 ; CH <23> ; W0X 500 ; B 4 0 500 681 ; CH <24> ; W0X 500 ; B 41 -82 406 699 ; CH <25> ; W0X 833 ; B 61 -14 782 711 ; CH <26> ; W0X 778 ; B 42 -19 750 676 ; CH <27> ; W0X 180 ; B 45 430 124 685 ; CH <28> ; W0X 333 ; B 48 -176 309 679 ; CH <29> ; W0X 333 ; B 29 -175 284 680 ; CH <2A> ; W0X 500 ; B 64 264 463 628 ; CH <2B> ; W0X 564 ; B 65 5 543 321 ; CH <2C> ; W0X 250 ; B 63 -123 234 110 ; (中略) CH <8140> ; W0X 1000 ; B 0 0 0 0 ; CH <8141> ; W0X 1000 ; B 80 -74 329 176 ; CH <8142> ; W0X 1000 ; B 80 -75 330 210 ; CH <8143> ; W0X 1000 ; B 94 -130 245 121 ; CH <8144> ; W0X 1000 ; B 100 -20 240 120 ; CH <8145> ; W0X 1000 ; B 420 288 561 429 ; CH <8146> ; W0X 1000 ; B 429 -21 525 687 ; CH <8147> ; W0X 1000 ; B 423 -95 574 666 ; CH <8148> ; W0X 1000 ; B 299 -39 702 750 ; CH <8149> ; W0X 1000 ; B 440 -40 565 781 ; CH <814A> ; W0X 1000 ; B 72 596 320 798 ; CH <814B> ; W0X 1000 ; B 75 625 285 815 ; (中略) CH <EB71> ; W0X 1000 ; B 178 75 863 380 ; CH <EB72> ; W0X 1000 ; B 172 366 813 665 ; CH <EB73> ; W0X 1000 ; B 20 -37 925 352 ; CH <EB74> ; W0X 1000 ; B 24 410 960 780 ; CH <EB75> ; W0X 1000 ; B 63 -80 995 232 ; CH <EB76> ; W0X 1000 ; B 18 510 930 831 ; CH <EB77> ; W0X 1000 ; B 70 -55 990 220 ; CH <EB78> ; W0X 1000 ; B 10 515 940 865 ; CH <EB79> ; W0X 1000 ; B 18 -37 902 213 ; CH <EB7A> ; W0X 1000 ; B 12 456 987 789 ; (中略) CH <EFF6> ; W0X 1000 ; B 0 0 0 0 ; CH <EFF7> ; W0X 1000 ; B 0 0 0 0 ; CH <EFF8> ; W0X 1000 ; B 0 0 0 0 ; CH <EFF9> ; W0X 1000 ; B 0 0 0 0 ; CH <EFFA> ; W0X 1000 ; B 0 0 0 0 ; CH <EFFB> ; W0X 1000 ; B 0 0 0 0 ; CH <EFFC> ; W0X 1000 ; B 0 0 0 0 ; EndCharMetrics EndFontMetrics
※なおこのAFM情報は、モリサワの和文PostScriptフォント、リュウミンL-KLのファイルを元に書き換えて作成したもので、数値はかなり無意味なものになっている。
