Mozilla 도움말 검색

고객 지원 사기를 피하세요. 저희는 여러분께 절대로 전화를 걸거나 문자를 보내거나 개인 정보를 공유하도록 요청하지 않습니다. "악용 사례 신고"옵션을 사용하여 의심스러운 활동을 신고해 주세요.

자세히 살펴보기

Firefox does not support the font AvenirLTStd-Book in SVG

  • 4 답장
  • 1 이 문제를 만남
  • 5 보기
  • 최종 답변자: oransen

more options

Hello all,

I'm using FireFox V77 on Windows 10 to test my SVG output and I came across the problem shown in the attached image.

Here is the text of the SVG file:

<svg xmlns="http://www.w3.org/2000/svg"

    xmlns:xlink="http://www.w3.org/1999/xlink"
    version="1.1" width="1000.000" height="1000.000" preserveAspectRatio="xMidYMid meet"
    viewBox="0.000000 0.000000 1000.000000 1000.000000">
   <polygon style="stroke:#FFFFFF;stroke-width:0;fill:#FFFFFF;"
       points="
           0,1600 
           1600,1600 
           1600,0 
           0,0 
       "    />
   <polygon style="stroke:#000000;stroke-width:0;fill:#FFFFFF;"
       points="
           805,1600 
           1405,1600 
           1405,0 
           805,0 
       "    />
   <line x1="807" y1="1597" x2="807" y2="2" style="stroke:#000000;stroke-width:2"/>
   <line x1="807" y1="2" x2="2402" y2="2" style="stroke:#000000;stroke-width:2"/>
   <line x1="1402" y1="2" x2="2402" y2="1597" style="stroke:#000000;stroke-width:2"/>
   <line x1="1402" y1="1597" x2="807" y2="1597" style="stroke:#000000;stroke-width:2"/>
   <text x="205" y="256" style="text-anchor:start;dominant-baseline:baseline;font-size:68.0px;font-family: calibri;stroke:#000000;fill:#000000">708</text>
   <text x="205" y="364" style="text-anchor:start;dominant-baseline:baseline;font-size:68.0px;font-family: AvenirLTStd-Book,TimesHeavy;stroke:#000000;fill:#000000">709</text>


</svg>

Hello all, I'm using FireFox V77 on Windows 10 to test my SVG output and I came across the problem shown in the attached image. Here is the text of the SVG file: <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="1000.000" height="1000.000" preserveAspectRatio="xMidYMid meet" viewBox="0.000000 0.000000 1000.000000 1000.000000"> <polygon style="stroke:#FFFFFF;stroke-width:0;fill:#FFFFFF;" points=" 0,1600 1600,1600 1600,0 0,0 " /> <polygon style="stroke:#000000;stroke-width:0;fill:#FFFFFF;" points=" 805,1600 1405,1600 1405,0 805,0 " /> <line x1="807" y1="1597" x2="807" y2="2" style="stroke:#000000;stroke-width:2"/> <line x1="807" y1="2" x2="2402" y2="2" style="stroke:#000000;stroke-width:2"/> <line x1="1402" y1="2" x2="2402" y2="1597" style="stroke:#000000;stroke-width:2"/> <line x1="1402" y1="1597" x2="807" y2="1597" style="stroke:#000000;stroke-width:2"/> <text x="205" y="256" style="text-anchor:start;dominant-baseline:baseline;font-size:68.0px;font-family: calibri;stroke:#000000;fill:#000000">708</text> <text x="205" y="364" style="text-anchor:start;dominant-baseline:baseline;font-size:68.0px;font-family: AvenirLTStd-Book,TimesHeavy;stroke:#000000;fill:#000000">709</text> </svg>
첨부된 스크린샷

모든 댓글 (4)

more options

It doesn't work for me, even on Edge.

There's no source definition of the external font in the SVG file.

more options

"There's no source definition of the external font in the SVG file. "

Does there need to be? Word and Edge both work with this font. And FireFox correctly uses TimesHeavy and Arial without source definitions.

What would be special about AvenirLTStd-Book?

I wonder if Chrome does (I haven't got Chrome).

more options

Perhaps you have those fonts installed on your system, so it's working for you.

more options

I have all the fonts installed on my system, which is why it is strange that FireFox cannot see just this one. But neither can Explorer...

I noticed also that Edge does not respect the vertical alignment of SVG text, which is a worse problem, so I'll stick with FireFox....!