That should work, and works for me on linux. Perhaps on windows you need
"C:\" instead of "/" as the root?

- Alon



On Fri, Jul 25, 2014 at 1:14 PM, Mark Meier <[email protected]> wrote:

> I am running my application from browsers (iexplore, firefox and chrome).
> I am currently using --embed--file to drag along a group of font file
> (*.fnt) from freetype.  I would like to access all the font file under the
> C:\Windows\Fonts.  I have tried to use NODEFS.
>
>     EM_ASM(
>         FS.mkdir('/c');
>         FS.mount(NODEFS, { root: '/' }, '/c');
>     );
>
> to mount Windows C:\ to Emscripten /c, to no avail.  What am I missing?
>
> Thanks.
> Mark
>
>
>  --
> You received this message because you are subscribed to the Google Groups
> "emscripten-discuss" 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/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"emscripten-discuss" 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/d/optout.

Reply via email to