because i often have to install quickly some fonts for a specific project, so i would like to have a fonts folder in every of my projects folders and a simple batch script that would do the installation. i don't want to install a typemanager.
i have a solution yet, but it could probably be better - i'm not a batch scripting professional...
for a temporarly font installation i use this batch-script:
::----------------------------------
FOR /F "delims=;" %%a IN ('Dir .\Fonts /B /A-D-H-S /S') DO CMDOW /RUN /HID fontview %%a
::----------------------------------
the script opens every font in every subfolder with windows-fontview. i used "cmdow"-tool (http://www.commandline.co.uk/cmdow/) to hide the fontview window. if you open a font with fontview, the font is loaded into memory and you can use it in every application.
i don't like this solution very much, because for every font i open an own instance of fontview and i don't think that's very memory-efficient...
somebody has a better idea???
for temporarly deinstallation i just taskkill fontview:
::-----------------------------------
taskkill.exe /F /IM fontview.exe
::-----------------------------------
for a permanent font installation i use this batch-script:
::-----------------------------------
FOR /F "delims=;" %%a IN ('Dir .\Fonts /B /A-D-H-S /S') DO COPY "%%a" "%WINDIR%\Fonts"
::-----------------------------------
i just copy all fonts to the windows fonts directory.
the negative: you have to do a restart before you can use these fonts, because their have some registry entries to be done.(http://www.jsiinc.co...0500/rh0527.htm)
i would like to do the registry entry myself after copying the fonts(so i assume that i don't need to restart?!), but i don't know how to get the font-name. the font name is not the font-file-name.
for example:
font-name: "Bitstream Cyberbit (TrueType)"
font-file-name:"CYBERBIT.TTF"
(and this batch don't work for postscript-fonts, but that's ok for me)
If somebody has a good idea, you can make me happy!!!



Help
Back to top









