µ±Ç°Î»ÖãºLinux½Ì³Ì - Linux - ÂÒ̸ linux ÖÐÎÄ´òÓ¡

ÂÒ̸ linux ÖÐÎÄ´òÓ¡



        
    ×÷ÕߣºRigel

    ÂÒ³¶¼¸¾äÖÐÎÄ´òÓ¡....

    ˵Õý¾­µÄ, Ï£Íû´ËÎĶԴó¼ÒÓÐÓÃ. ÕâÖ»ÊÇÒ»¸ö³õ¸å, Ò²ÐíÎÒ»á½øÒ»²½Ð޸ı¾ÎÄ, Ï£ÍûÌýµ½ÄúµÄÒâ¼û.

    ÁíÍâ˳±ã½è´ËÉùÃ÷, ±ð¸øÎÒÂÛ̳Õʺŷ¢Ë½ÐÅ, ÎÒºÜÉÙ²é, ¿Ï¶¨µ¢ÎóÄúµÄÊÂ. Èç¹ûÊÇÒ»°ãÎÊÌâ, ×îºÃÖ±½ÓÌùµ½Ì³×ÓÉÏÀ´, ´ó¼ÒÒ»Æë»Ø´ðÆñ²»¸üºÃ? Èç¹û Äú¾õµÄÓбØÒªºÍÎÒ˽Ͻ»Á÷, Çë·¢µ½ [email protected]. ²»¹ýÎҿɲ»±£Ö¤ ÿÐűظ´ßÏ :)

    ÑÔ¹éÕýת,ÔÚ linux Ï´òÓ¡ÊǼþÂé·³ÊÂ, ÖÐÎÄ´òÓ¡ÓÉÉõ. ΪʲôÄÄ? ½«ÆÁÄ»ÉÏ¿´µ½µÄÎÄ×Ö Ó¡µ½Ö½ÉÏ, Òª¾­¹ýÁ½²½: 1. Ó¦ÓóÌÐòÉú³É postscript Îļþ; 2. ½«¸ÃÎļþËÍ µ½´òÓ¡»ú (Ö±½Ó»òͨ¹ý ghostscript). ÈÃÎÒÃÇÏÈ´ÓµÚ¶þ²½¿´Æð.
    Ò». ÈçºÎ´òÓ¡ÖÐÎÄ postscript Îļþ?

    ×î´óµÄÎÊÌâÊÇÒ»°ã´òÓ¡»ú²»Ö§³Ö»ò²»´øÖÐÎÄ×ÖÌå. Ò»°ãÎÒÃÇʹÓà ghostscript, µ« ghostscript ¶ÔÖÐÎÄ×ÖÌåµÄÖ§³ÖÒ²²»ÊǺÜÍêÃÀ. ´ó¶àÊýÇé¿öÏÂÐèÒª´ò²¹¶¡. Ä¿Ç°ÓÐÒÔϼ¸ÖÖ½â¾ö·½°¸, ¸ù¾ÝÎÒ¸öÈ˵ÄÆ«°®³Ì¶ÈΪÐò.

    1. Ö±½Ó patch ghostscript ʹÆäÖ§³Ö truetype ×ÖÌå. ¿É²Î¿´¸ÃÍøÕ¾. ÕâÊÇÄ¿Ç° ×îΪ¼òµ¥µÄ·½·¨. ȱµãÊÇÐèÒª > 6.0 °æµÄ ghostscript, ¸Ã°æÄ¿Ç°»¹Ã»ÓÐÒÔ GPL Ê©·Å, ÈκΠlinux¶¼²»»áԤװ, ÐèÒª×Ô¼ºÏÂÔØ°²×°.

    2. ʹÓà CID ×ÖÌå. CID ÊÇ adobe ΪÑÇÖÞÎÄ×ÖÉè¼ÆµÄ×ÖÌå, ´òÆÆÁË type1 ×ÖÌåÖ» ÄÜÈÝÄÉ 256 ¸ö×Ö·ûµÄÏÞÖÆ. ghostscript (> V5.5?) Ö±½ÓÖ§³Ö CID ×ÖÌå, ÎÞÐè ²¹¶¡. ¿É²Î¿´Í¬Ò»ÍøÕ¾ÈçºÎÉèÖÃ. ±¾À´ÕâÓ¦¸ÃÊÇ×îºÃµÄ·½°¸, ÒòΪ²»Òª´ò²¹¶¡.¿Éϧ CID ×ÖÌåÌ«ÉÙÁË, ¹ÊÎÒ½«´ËÁÐΪµÚ¶þ.

    3. Patch ghostscript ʹÆäÖ§³Ö VFlib, ͨ¹ý VFlib Ö§³Ö truetype ×ÖÌå. Óŵã ÊÇÖ§³ÖÀ쵀 ghostscript °æ±¾ (ÖÐÎÄÓÐ for 5.5 µÄ patch, ÈÕÎÄÉõÖÁÓÐ for 4.x µÄ), Ö§³Ö×ÖÌå±äÐεÈ. ȱµãÊÇÐèÒª¶îÍâ°²×° VFlib. Turbolinux 6.0 ÒÔÉϼ° CLE v0.9p1ÒÔÉϾùʹÓÃÁ˸÷½·¨. ¿ÉÒÔµ½ËüÃÇÏàÓ¦µÄÈí¼þ°üÖÐÕÒ²¹¶¡.

    4. ³ÂÏòÑôµÄ gbpfb °ü, ½«ÖÐÎÄ truetype ×ÖÌåת»»³É type1 pfb ×ÖÌå, ÓÉÓÚ type1 ×ÖÌåÖ»ÄÜÈÝÄÉ 256 ¸ö×Ö·ûµÄÏÞÖÆ, Ò»¸ö truetype ×ÖÌ彫»áÉú³É 30-40¸ö pfb ×Ö Ìå, ÔÙÓÉÒ»¸öÇ°¶ËÎļþ¿ØÖÆ. µ±ÄêÕâÊÇÎÒÃÇÖйúÈËΨһ֪µ½µÄ´òÓ¡ÖÐÎÄ postscript ÎļþµÄ·½·¨. ÎÒ»¹¼ÇµÃÓô˷¨µÚÒ»´Î´Ó netscape ´òÓ¡³öÖÐÎĵľªÏ². Turbolinux 4.x ÒÔϼ°À¶µãµÈÖÐÎÄ·¢²¼¾ùʹÓÃÁ˸÷½·¨. µ«ÏÖÔÚÓëÇ°ÊöµÄ 1-3 ·¨Ïà±È, ÏÔµÃÓРЩ¼òª, ´æÔÚһЩÄÑÒÔ¿Ë·þµÄ벡, ÒѾ­Ô½À´Ô½Éٵı»Ê¹ÓÃÁË. Èç¹ûÄúÏëÒª¿ÉÒÔÔÚ ÉÏÃæÌáµ½µÄ¼¸¸öÖÐÎÄ linux ÖÐÕÒµ½.

    5. ÔÚ postscript ÎļþÖÐÄÚǶÖÐÎĵãÕó×ÖÌå. ÓŵãÊÇÁ¬ ghostscript ¶¼²»ÐèÒªÁË, Ö±½ÓË͵½ÈκÎÖ§³Ö postscript µÄ´òÓ¡»úÉϾͿɴòÓ¡. ȱµãÊÇÉú³ÉµÄÎļþÅÓ´ó, ´òÓ¡³öµÄÖÊÁ¿Ç·¼Ñ. Latex CJK Éú³ÉµÄ postscript Îļþ¼´²ÉÓô˷¨. Ç°¼¸Ìì ¼ûÍøÓѵÄÌù×Ó, ˵¿ÉÒÔÖ±½Ó´òÓ¡ÎÄ½ÜµÄ postscript Îļþ, ÎÒÓÐЩ»³ÒÉËüÒ²ÊÇÓà ¸Ã·¨. ×îºó, ʹÓà 1-4 ·¨¶¼ÐèҪͨ¹ý ghostscript ½«Îļþ·¢Íù´òÓ¡»ú. ÓÐÁ½ÖÖÓ÷¨:

    Ö±½ÓʹÓÃ, Èç: gs -q -dBATCH -sDEVICE=printer-type -sOutputFile=\lpr - »òÉèÖà filter ʹ lpr ×Ô¶¯µ÷Óà ghostscript, ¿´ ghostscript µÄÎĵµ°É, ÎÒ ÀÁµÃдÁË :)

    ¶þ. ÎÒÄÜ´òÓ¡ÖÐÎÄ postscript Îļþ, ¿ÉÊÇ»¹ÊDz»ÄÜ´Ó xxx ³ÌÐòÖдòÓ¡ÖÐÎÄ!?

    Õâ¾ÍÐèÒªÎÒÃÇ¿´¿´´òÓ¡¹ý³ÌµÄµÚÒ»²½, ¼´Ó¦ÓóÌÐòÉú³Épostscript Îļþ. Ä¿Ç°ÓжàÉÙ linux ϵijÌÐòÄÜÉú³ÉÖ§³ÖÖÐÎÄµÄ postscript Îļþ? ÉÙÖ»ÓÖÉÙ, ÕæÕý²»ÐèÒªÈκβ¹¶¡¾ÍÄÜ work µÄÎÒÖªµÀµÄÓÐÈý¸ö: netscape/mozilla/abiword(>=0.12).Ö÷ÒªÎÊÌâÊǺÜÉÙÓгÌÐòÄÜÕýÈ·´¦ÀíÖÐÎÄ font. ÔÚ UNIX/LINUX ÊÀ½çûÓÐͳһµÄ´òÓ¡API, ÈκγÌÐòÏë´òÓ¡, ±ØÐë×Ô¼ºÐ´ code Éú³É postscript Îļþ, ºÜÄÑÏëÏñËùÓгÌÐòÔ±¶¼Ô­Òâ²¢ÓÐÄÜÁ¦¿¼ÂÇÖÐÎÄ postscript ×ÖÌåÎÊÌâ. ÏÖÔÚ gnome-print ºÍ QTprinter class ¶¼ÊÇÊÔͼ²úÉúÒ»¸ö¹«Óà API ÒÔ±ãÓ¦ÓóÌÐò²»±Ø×Ô¼º´¦ÀíÉú³É postscriptµÄÎÊÌâ. ¿Éϧ¶þÕ߶¼´¦ÓÚÆ𲽽׶Î, ½ö½ö¾Û½¹ÓÚ type1 ×ÖÌå, »¹Ã»¹ËµÄÉÏ¿¼ÂÇÖÐÎĵÄÎÊÌâ. Ò²¾ÍÊÇ˵ĿǰËùÓÐ GNOME/KDE Ó¦ÓóÌÐò, ֻҪʹÓÃÕâÁ½¸ö API, ¶¼²»ÄÜÉú³ÉÕýÈ·µÄÖÐÎÄ postscript Îļþ, ²»ÄÜÓ¡³öÖÐÎÄ×Ö. ̨ÍåÓÐÈË(¼ûCLEµÄQT°ü)дÁË QT printer µÄpatch, µ«»¹²»ÊǺÜÍêÉÆ; ûÌý˵ÓÐ gnome-print µÄÖÐÎÄ patch.




    ·¢²¼ÈË:netbull À´×Ô:LinuxKD