Why ASP.NET Core 2.2 MVC project require 2 copies of font file (.otf)? !!!HELP!!!

  • Thread starter Thread starter Rusted Wizard
  • Start date Start date
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 font1398526.jpg

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

1398527.jpg

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:1398528.jpgI 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...
 

Similar threads

T
Replies
0
Views
574
This_display_name_is_already_in_use_They_all_are
T
P
Replies
0
Views
232
Piotr Wójcik (Peter)
P
Back
Top