Re: :hardcopy not launching Preview

2023-07-02 Thread Yongwei Wu
No objection at all. I said it was just "some useless info at the weekend". ;-)

On Mon, 3 Jul 2023 at 07:24, Yee Cheng Chin  wrote:
>
> And of course you can configure MacVim / Vim to use whatever tool you want. 
> We are just using pstopdf by default.
>
> On Sun, Jul 2, 2023 at 4:23 PM Yee Cheng Chin  wrote:
>>
>> That's interesting to know about the ps2pdf difference. The default 
>> "pstopdf" tool that Apple ships definitely seems like the bare MVP that 
>> works just for people who have such needs (which is our case here) without 
>> them having to do too much work in supporting. FWIW I actually toyed with 
>> the idea of bundling  "ps2pdf" with MacVim (before I found out about the 
>> Mac-bundled pstopdf) before I saw the binary size… It's a pretty heavy tool.
>>
>> On Sun, Jul 2, 2023 at 4:03 AM Yongwei Wu  wrote:
>>>
>>> I was unaware of the fact that pstopdf came preinstalled, otherwise I
>>> would probably have used it.
>>>
>>> This said, I made a quick comparison, and noticed:
>>>
>>> - While the resulting files look similar (but not identical), the one
>>> generated by ps2pdf is smaller (33537 vs 206104 bytes in my case).
>>> - Ghost ps2pdf defaults to compatibility with PDF v1.4, while Apple
>>> pstopdf generates a file compatible with PDF v1.3 (not configurable).
>>> - They both use the Courier font, but ps2pdf embeds the PostScript
>>> Type 1 font, while pstopdf embeds the TrueType font. This may be the
>>> main reason for the size difference.
>>>
>>> Just some useless info at the weekend. ;-)
>>>
>>> On Thu, 29 Jun 2023 at 19:22, Richard Mitchell  wrote:
>>> >
>>> > Advantages of ps2pdf over pstopdf ?

-- 
Yongwei Wu
URL: http://wyw.dcweb.cn/

-- 
-- 
You received this message from the "vim_mac" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_mac" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_mac+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_mac/CADs46icQ%3Dhp%3DyG2kE3MfcO%3DG6Coi6NAW8CMyjd_%3DR_yzUpAN5g%40mail.gmail.com.


Re: :hardcopy not launching Preview

2023-07-02 Thread Yee Cheng Chin
And of course you can configure MacVim / Vim to use whatever tool you want.
We are just using pstopdf by default.

On Sun, Jul 2, 2023 at 4:23 PM Yee Cheng Chin 
wrote:

> That's interesting to know about the ps2pdf difference. The default
> "pstopdf" tool that Apple ships definitely seems like the bare MVP that
> works just for people who have such needs (which is our case here) without
> them having to do too much work in supporting. FWIW I actually toyed with
> the idea of bundling  "ps2pdf" with MacVim (before I found out about the
> Mac-bundled pstopdf) before I saw the binary size… It's a pretty heavy tool.
>
> On Sun, Jul 2, 2023 at 4:03 AM Yongwei Wu  wrote:
>
>> I was unaware of the fact that pstopdf came preinstalled, otherwise I
>> would probably have used it.
>>
>> This said, I made a quick comparison, and noticed:
>>
>> - While the resulting files look similar (but not identical), the one
>> generated by ps2pdf is smaller (33537 vs 206104 bytes in my case).
>> - Ghost ps2pdf defaults to compatibility with PDF v1.4, while Apple
>> pstopdf generates a file compatible with PDF v1.3 (not configurable).
>> - They both use the Courier font, but ps2pdf embeds the PostScript
>> Type 1 font, while pstopdf embeds the TrueType font. This may be the
>> main reason for the size difference.
>>
>> Just some useless info at the weekend. ;-)
>>
>> On Thu, 29 Jun 2023 at 19:22, Richard Mitchell 
>> wrote:
>> >
>> > Advantages of ps2pdf over pstopdf ?
>>
>>
>> --
>> Yongwei Wu
>> URL: http://wyw.dcweb.cn/
>>
>> --
>> --
>> You received this message from the "vim_mac" maillist.
>> Do not top-post! Type your reply below the text you are replying to.
>> For more information, visit http://www.vim.org/maillist.php
>>
>> ---
>> You received this message because you are subscribed to the Google Groups
>> "vim_mac" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to vim_mac+unsubscr...@googlegroups.com.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/vim_mac/CADs46ic3nLvd%2Bh8NFfWWNXwBqyqiBg7KKMujC_DaRYRTXZ1tgA%40mail.gmail.com
>> .
>>
>

-- 
-- 
You received this message from the "vim_mac" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_mac" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_mac+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_mac/CAHTeOx-tW7hx1h-xNvgiV%3DJWiNUkkGRN4G3u5ugqs%2BuAJVdxBA%40mail.gmail.com.


Re: :hardcopy not launching Preview

2023-07-02 Thread Yee Cheng Chin
That's interesting to know about the ps2pdf difference. The default
"pstopdf" tool that Apple ships definitely seems like the bare MVP that
works just for people who have such needs (which is our case here) without
them having to do too much work in supporting. FWIW I actually toyed with
the idea of bundling  "ps2pdf" with MacVim (before I found out about the
Mac-bundled pstopdf) before I saw the binary size… It's a pretty heavy tool.

On Sun, Jul 2, 2023 at 4:03 AM Yongwei Wu  wrote:

> I was unaware of the fact that pstopdf came preinstalled, otherwise I
> would probably have used it.
>
> This said, I made a quick comparison, and noticed:
>
> - While the resulting files look similar (but not identical), the one
> generated by ps2pdf is smaller (33537 vs 206104 bytes in my case).
> - Ghost ps2pdf defaults to compatibility with PDF v1.4, while Apple
> pstopdf generates a file compatible with PDF v1.3 (not configurable).
> - They both use the Courier font, but ps2pdf embeds the PostScript
> Type 1 font, while pstopdf embeds the TrueType font. This may be the
> main reason for the size difference.
>
> Just some useless info at the weekend. ;-)
>
> On Thu, 29 Jun 2023 at 19:22, Richard Mitchell 
> wrote:
> >
> > Advantages of ps2pdf over pstopdf ?
>
>
> --
> Yongwei Wu
> URL: http://wyw.dcweb.cn/
>
> --
> --
> You received this message from the "vim_mac" maillist.
> Do not top-post! Type your reply below the text you are replying to.
> For more information, visit http://www.vim.org/maillist.php
>
> ---
> You received this message because you are subscribed to the Google Groups
> "vim_mac" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to vim_mac+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/vim_mac/CADs46ic3nLvd%2Bh8NFfWWNXwBqyqiBg7KKMujC_DaRYRTXZ1tgA%40mail.gmail.com
> .
>

-- 
-- 
You received this message from the "vim_mac" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_mac" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_mac+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_mac/CAHTeOx_RoCDsD-gggTv4Ak%2BFNiXkDey%2BCVrNSTNfM6NguO73nQ%40mail.gmail.com.