Closed bobh0303 closed 3 years ago
This still isn't right -- and as far as I can tell probably isn't working correctly as is.
The line used to read:
@font-face {font-family: TestFont; src: url(<xsl:value-of select="$fontsrc"/>); }
and now reads:
@font-face {font-family: TestFont; src: (<xsl:value-of select="$fontsrc"/>); }
which causes an error in the CSS processing:
and you probably aren't seeing what you want in the ftml test results.
Where we want to be is as I put in the initial description: the line should read:
@font-face {font-family: TestFont; src: <xsl:value-of select="$fontsrc"/>; }
HOWEVER this will require a change to smith.
bin/ftml.xsl
, which is intended to render ftml files in a browser, contains the following:which, because of the presence of the
url(...)
wrapper, implies that thefontsrc
parameter is expected to be a path to a file.However, the ftml specification says that the
fontsrc
elementwhich means that
fontsrc
will already contain theurl(...)
wrapper around the path (or might containlocal(...)
, etc.)Thus that
@font-face
line should read:I assume this implies a change to the way
smith test
works.