Oh, I found the problem. When I uploaded the files, all the hyphens in the 
file names were converted to underscores automatically.

Is it by design or bug?

On Friday, September 6, 2013 1:44:08 AM UTC+8, k0aun9 wrote:
>
> I'm trying to come up with my own layout.html
>
> Instead of using web2py_bootstrap.css, I'm using the bootstrap.css (3.0) 
> because I want to learn how things were built up and the differences.
> I uploaded the glyphicon fonts and svg etc (which comes with bootstrap 
> dist) to /[myapp]/static/fonts/ 
>
> In the bootstrap.css,
>
> @font-face {
>   font-family: 'Glyphicons Halflings';
>   src: url('../fonts/glyphicons-halflings-regular.eot');
>   src: url('../fonts/glyphicons-halflings-regular.eot?#iefix') 
> format('embedded-opentype'), 
> url('../fonts/glyphicons-halflings-regular.woff') format('woff'), 
> url('../fonts/glyphicons-halflings-regular.ttf') format('truetype'), 
> url('../fonts/glyphicons-halflings-regular.svg#glyphicons-halflingsregular') 
> format('svg');
> }
>
> I'm seeing squares instead of icons. From the Chrome Developer Tools, I 
> noticed that they're served as 'text/html' and getting HTTP 404.
>
>
>
> <https://lh3.googleusercontent.com/-iPANv3IuNb4/UijA-8AzaRI/AAAAAAAAB2c/zagi1G9ZhPg/s1600/font-get-texthtml.png>
>
>
> <https://lh4.googleusercontent.com/-xH7sZou0oAE/UijCewGMdDI/AAAAAAAAB2o/o1X7uDmNgi0/s1600/static_fonts.png>
>
>
> Am I doing something wrong?
>
>
>

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to