Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. MSHTML:Font toggling [modified]

MSHTML:Font toggling [modified]

Scheduled Pinned Locked Moved Web Development
csharpdesignhelpquestion
1 Posts 1 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • L Offline
    L Offline
    Leonhardt Wille
    wrote on last edited by
    #1

    Hello there, I am developing a CMS Software using MSHTML for about three years, and I get this behavior since I started using MSHTML. Please excuse that I write such a big text but I think I can't express this in a shorter way. The text pages are solely using the TiresiasScreenfont, the user has no option to change the font (this is mainly due to restrictions on the target platform). Now sometimes, the font changes to Times within a line and back to Tiresias in the next line. I have also seen lines of text where the upper half of the line is in times and the lower half in Tiresias, which really looks terribly. The only solution is to cut the complete content of the page, paste it into notepad and copy and paste it back again so that default formatting is applied. The behavior occurs somehow randomly but has always something to do with the text - e.g. overlapping font tags in connection with German umlauts, like <font color="#CCCCCC>Hauptmenü<font color="#EEEEEE"> / </font> Information</font>. (Here, the Renderer seems to switch to Times at the word Information) I use a derivate of CHtmlEditView with two DocHoistUIHandler interfaces which I use to prevent the user from making not allowed changes (i.e. inserting more than one picture per page). I assume that the problem is either with the MSHTML editing control or with the Tiresias font. Has anybody experienced something like that? Here's a screenshot of the editing area: http://www.leoloewe.net/cp-screenshot.gif[^] Would be nice if somebody with more experience would answer my post... ;) Thanks in advance, Leo Thou Shalt Process Messages If Thee Wishes Thine UI To Behave Properly (Gary R. Wheeler) -- modified at 2:52 Thursday 20th July, 2006 P.S. As the behavior doesn't occur with any other font, I assume that the Tiresias is responsible for that. If somebody read this, please don't use the quite expensive Tiresias ($17000 each) fonts in your projects if you plan using MSHTML.

    1 Reply Last reply
    0
    Reply
    • Reply as topic
    Log in to reply
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes


    • Login

    • Don't have an account? Register

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • World
    • Users
    • Groups