R
Rusted Wizard
Guest
Hello:
I am having a very strange problem, I am developing a simple ASP.Net 2.2 MVC Project here. I need to use custom font and I have a .otf file. However I am having a wired problem here. As you can see in following screencast, I am using following CSS declare the usage of the font
And here is my folder structure and files of the project:

As I highlighted in screen cast I have to have the one copy of font file in wwwroot folder and in project root directory in order for the font to be found and correctly shows on the webpage, delete either of those two, the webpage will not show correct file. By the way I have static file enabled in the program:
I have tried to change the path of the otf file in css to point to the font file under wwwroot so I can have only one copy of font file, but it does not work.
This problem is not a big deal for me now. Having two copy of font file doesn't really hurt anything. I am just wondering if I did this in proper way (may be I did not have correct configuration ?) or this is a bug?
Anyone has any idea?
Thank you
Continue reading...
I am having a very strange problem, I am developing a simple ASP.Net 2.2 MVC Project here. I need to use custom font and I have a .otf file. However I am having a wired problem here. As you can see in following screencast, I am using following CSS declare the usage of the font

And here is my folder structure and files of the project:

As I highlighted in screen cast I have to have the one copy of font file in wwwroot folder and in project root directory in order for the font to be found and correctly shows on the webpage, delete either of those two, the webpage will not show correct file. By the way I have static file enabled in the program:

This problem is not a big deal for me now. Having two copy of font file doesn't really hurt anything. I am just wondering if I did this in proper way (may be I did not have correct configuration ?) or this is a bug?
Anyone has any idea?
Thank you
Continue reading...