文本在 Outlook 2013 120DPI 上的 VML CTA 中被截断

Text is getting cut off in VML CTA on Outlook 2013 120DPI

我正在使用 VML 使我的防弹 CTA 在 Outlook 中工作,它们似乎在任何地方都运行良好,除了在 Outlook 2013 120DPI 上 CTA 中的文本被截断:

它在其他任何地方都工作正常:

这是 VML:

<!--[if mso]>
    <v:roundrect xmlns:v="urn:schemas-microsoft-com:vml" xmlns:w="urn:schemas-microsoft-com:office:word" href="https://epredia.com/" style="height:34px;v-text-anchor:middle;width:176px;" arcsize="33.5px" strokecolor="#E5E5E6" fillcolor="#E5E5E6">
    <w:anchorlock/>
        <center style="color:#58595B;font-family:Helvetica, HelveticaArial, sans-serif, HelveticaNeueLTStd-Bd;font-size:18px;line-height:18px;">
            <b style='font-family:Helvetica, HelveticaArial, sans-serif, HelveticaNeueLTStd-Bd;'>
                Mini CTA
                                                    
            </b>
        /center>
    </v:roundrect>
<![endif]-->

您需要设置缩放比例。

让你的 HTML 标签像这样(你可能有不同的语言或其他属性):

<html lang="en" xml:lang="en" xmlns="http://www.w3.org/1999/xhtml"  xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office">

然后在您的 <head> 中添加:

<!--[if gte mso 9]><xml>
  <o:OfficeDocumentSettings>
    <o:AllowPNG/>
    <o:PixelsPerInch>96</o:PixelsPerInch>
  </o:OfficeDocumentSettings>
</xml><![endif]-->