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. General Programming
  3. C / C++ / MFC
  4. Font accent char and Win2000!

Font accent char and Win2000!

Scheduled Pinned Locked Moved C / C++ / MFC
tutorialquestionc++help
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.
  • K Offline
    K Offline
    Kalai Kandasamy
    wrote on last edited by
    #1

    I am building application in Win98 using RichEdit it works fine on Win98,Win95 and Win Nt 4.0 but it gives the follwing problem in Win 2000. My program uses a font which has a accent like charecter. What is accent charecter? Accent char is a char drawn on a main char like (A`) here main char is "A" and accent char is "`" drawn on top of "A". Now combained main and accent char is one char. In Win95/98/NT 4.0/ it works fine but in Win2000 I am seeing the following display problem: Whenever a accent char is diplayed in Win2000 I am seeing an Extra space. (example: this should displayed like "A`a" instead in Win2000 it displayed like "A` a") Here is how to reproduced the problem: To reproduce this problem I am attaching a TTF font(which is availabale for free from www.tamilnet99.org) 0) download font from: http://www.tamilnet99.org/font.htm 1) Install TABAnna.ttf into Win98 and Win2000. 2) use Charecter Map tool and choose the main charecter says ("a")[U+0061] then choose the dot char (.)[U+00A2] (i.e third char from "~") 3) Now it will display "a" and "dot" on top of it. But if you choose one more char (say "b") now you will see the extra SPACE between charecters. 4) It should be:"a(dot on top)b" but itdisplayes: "a(dot on top)b" 5)From charecter map tool copy and past the string to WordPad it also shows the extra space between chareters. 6)Even a simple MFC (generated) program which uses CRichEditView shows this problem. 7)Copy/past to MS word it looks FINE 8)If I display the string in a dialog, Edit Box or combo box it looks fine. Again this diaplay problem appears only of Win2000 not on Win98 or Win NT 4.0. NOTE: This is not a UNICODE program and enableing and disabling _MBCS does not make any difference! Thanks... Kalai :)

    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