css - Fonts become broken -
i have custom font, , rendered when request page local dev host (ubuntu 14.04 in vm via vagrant on windows 8.1). after commit git repo on bitbucket via sourcetree , checkout commit stage server, font becomes broken - isn't rendered in browser. ie gives errors css3111 (unknow error @font-face) , css3112 (deny because of woff inconsistency), other browsers don't anything. can cause problem? encoding transformations?
try setting core.autocrlf
configuration option true. have @ core.safecrlf
option.
actually sounds core.safecrlf might set in repository, because (emphasis mine):
if not case current setting of core.autocrlf, git reject file.
if case, might want check text editor configured use line endings consistently. run problems if text file contains mixture of lf , crlf line endings.
finally, feel recommendation "use you're given" , use lf terminated lines on windows cause more problems solves. git has above options try handle line endings in sensible way, makes sense use them.
credits this question
Comments
Post a Comment