|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Set PrivateFont in browserCan I set Private Fonts in a browser object with the new Visual Basic .net
2005? Thanks! Bob On Sun, 11 Jun 2006 21:47:02 -0700, BobAchgill
<BobAchg***@discussions.microsoft.com> wrote: >Can I set Private Fonts in a browser object with the new Visual Basic .net How would that work? Displayed fonts are usually specified within the>2005? > >Thanks! > >Bob document being viewed in the browser. Gene I'm not sure... but I need to have the browser object use a font that is only
in my application directory. i.e NOT installed in the Windows Font directory. For contractural reasons I need to keep the font only in my application's directory. I use set PrivateFont to do this for other objects that use the subject font but the COM browser object for VB .Net 2003 defaults to look for fonts in Windows fonts directory. :o( I was hoping the managed browser object under VB .Net 2005 might let me specify a font to be in a different location from the Windows font directory. Then again maybe you know of a way in html to do the same?? Bob Show quoteHide quote "gene kelley" wrote: > On Sun, 11 Jun 2006 21:47:02 -0700, BobAchgill > <BobAchg***@discussions.microsoft.com> wrote: > > >Can I set Private Fonts in a browser object with the new Visual Basic .net > >2005? > > > >Thanks! > > > >Bob > > How would that work? Displayed fonts are usually specified within the > document being viewed in the browser. > > Gene > On Mon, 12 Jun 2006 14:39:02 -0700, BobAchgill
<BobAchg***@discussions.microsoft.com> wrote: Show quoteHide quote >I'm not sure... but I need to have the browser object use a font that is only If you are talking about using that font on only certain pages that>in my application directory. i.e NOT installed in the Windows Font directory. > For contractural reasons I need to keep the font only in my application's >directory. > >I use set PrivateFont to do this for other objects that use the subject font >but the COM browser object for VB .Net 2003 defaults to look for fonts in >Windows fonts directory. :o( I was hoping the managed browser object under >VB .Net 2005 might let me specify a font to be in a different location from >the Windows font directory. Then again maybe you know of a way in html to do >the same?? > >Bob > >> you authored, you might look at WEFT which is a tool for enbedding a font object in a web page. As the WebBrowser is essentially a wrapper around IE, this should work. http://www.microsoft.com/typography/web/embedding/weft3/weft01.htm Is this contract specfic to this font, or, does it prohibit installing fonts, period? Gene > Is this contract specfic to this font, YES its a specific font.I tried WEFT and it works with the IE object browser but slow on loading a full font with no subsetting. It would be nice if WEFT was not so restrictive on which html files could use the font. Is there a wild card to let all "roots" share the same font? I don't want to have to recompile the WEFT font file every time I add an html file in another directory just so it can also share the same font. On Tue, 13 Jun 2006 16:57:02 -0700, BobAchgill
<BobAchg***@discussions.microsoft.com> wrote: > It's been a couple of years since I did any web page construction. I>> Is this contract specfic to this font, >YES its a specific font. > >I tried WEFT and it works with the IE object browser but slow on loading a >full font with no subsetting. It would be nice if WEFT was not so >restrictive on which html files could use the font. Is there a wild card to >let all "roots" share the same font? I don't want to have to recompile the >WEFT font file every time I add an html file in another directory just so it >can also share the same font. had that WEFT link, but never actually had a subsequent reason to use the tool. I glancing at the tutorial, I had the impression that any site page with a common root, pages with that common root would use the eot file(s), though sites may contain multiple roots. In other words, if my site had a root, http://www.mysite.com, then all pages on the site with that root could use the eot file without listing all those pages in the eot file. Is that not the case? Last time I made a web site I used an external CSS file where all pages on the site referred to that one file. Might it be possible to use the eot via an external CSS file? Gene Hello gene,
I'm 99.9% positive that the web browser control can not consume fonts which have not been installed. You have two options that I can see.. and I would STRONGLY suggest option 1. 1. Renegotiate the contract. This is your best option from a technical standpoint hands down. 2. Grab the text to be displayed, render it to a graphics object and inject it into the html. This is a rather hacky option that will be buggy at best. -Boo Show quoteHide quote > On Sun, 11 Jun 2006 21:47:02 -0700, BobAchgill > <BobAchg***@discussions.microsoft.com> wrote: >> Can I set Private Fonts in a browser object with the new Visual Basic >> .net 2005? >> >> Thanks! >> >> Bob >> > How would that work? Displayed fonts are usually specified within the > document being viewed in the browser. > > Gene >
richtextbox changing fontstyles for selected text
is it possible to get delegates from properties directly? line breaks control types "Global" objects Parsing the appended data of log file in real time XML-RPC Copying A Control Not As A Reference Tabindex is driving me nuts!!! Screen coordinates of selected datagridview cells left and top borders |
|||||||||||||||||||||||