【问题标题】:How to darken postscript text produced by emacs如何使 emacs 生成的后记文本变暗
【发布时间】:2012-07-02 14:34:15
【问题描述】:

我正在使用 emacs 命令 ps-spool-buffer-with-faces 命令来制作一些我正在处理的代码的后记文件。问题是字体颜色似乎是浅灰色而不是黑色。我已经浏览了 postscript 文件并在 Google 上搜索了一下,但没有找到任何解决方案。有谁知道如何将我的灰色字体变成黑色?

【问题讨论】:

    标签: emacs postscript


    【解决方案1】:

    假设您只想打印黑白,请尝试:

    (setq ps-print-color-p nil)
    

    否则,您可能会查看 ps-print-color-p 的其他值:

    ps-print-color-p is a variable defined in `ps-print.el'.
    Its value is t
    
    Documentation:
    Specify how buffer's text color is printed.
    
    Valid values are:
    
       nil        Do not print colors.
    
       t      Print colors.
    
       black-white    Print colors on black/white printer.
          See also `ps-black-white-faces'.
    
    Any other value is treated as t.
    
    You can customize this variable.
    

    您可以使用 M-xcustomize-variableRETps-print-color-p 进行自定义RET

    【讨论】:

    • 谢谢....我最终找到了一个网页建议 (setq ps-print-color-p nil),我把它放在我的 .emacs 文件中,但这是 far 比我发现的更多信息/有用。
    猜你喜欢
    • 2014-05-12
    • 1970-01-01
    • 1970-01-01
    • 2021-12-10
    • 2013-06-05
    • 2011-04-17
    • 2013-06-24
    • 2015-04-08
    • 1970-01-01
    相关资源
    最近更新 更多