asp.net - ReportViewer and font-family -


i implemented web-portal in .net integrate reportviewer control load ssrs reports. in order customize reports use own font in rdl report file. font dynamically loaded on client side font-family declaration in css it:

@font-face{ font-family: 'helvetica 35 thin'; src:url('../fonts/helvneue35_w1g.eot?#iefix'); src:url('../fonts/helvneue35_w1g.eot?#iefix') format('eot'), url('../fonts/helvneue35_w1g.woff2') format('woff2'), url('../fonts/helvneue35_w1g.woff') format('woff'), url('../fonts/helvneue35_w1g.ttf') format('truetype'), url('../fonts/helvneue35_w1g.svg') format('svg'); 

}

all work perfectily on localy visual studio iis express : font it's correctly loaded on each web browser , correctly displayed in report. works on development server. sincei deployed on integration server, font not displayed. specify use same ssrs server on local visual , on integration platform.

i investigated, , noticed difference between ssrs code generated reportviewer control iis express , iis 8.

in fact visual studio execution found :

    .a6b8151803b1943dc956fcd4b577a57f413{word-wrap:break-word;     white-space:pre-wrap;padding-left:2pt;padding-top:2pt;     padding-right:2pt;padding-bottom:2pt;border:1pt none black;     background-color:transparent;font-style:normal;     font-family:'helvetica 35 thin'; 

and iis 8 found :

    .a87918d1b077d4156abf69d70d7bd400213{word-wrap:break-word;     white-space:pre-wrap;padding-left:2pt;padding-top:2pt;     padding-right:2pt;padding-bottom:2pt;border:1pt none black;     background-color:transparent;font-style:normal;     font-family:helvetica 35 thin; 

the quotes have been removed iis 8. font name contains space character, explain why font not found browser.

now need explain why quote removed platform. have encountered issue?

thank help.

we've experienced issue. fixed using expression font name , setting

="'font space in name'"

if using ie using compatibility mode may fix issue you.


Comments

Popular posts from this blog

Hatching array of circles in AutoCAD using c# -

ios - UITEXTFIELD InputView Uipicker not working in swift -

Python Pig Latin Translator -