Loading ...
Sorry, an error occurred while loading the content.

Re: using DirectX/DirectWrite for rendering text.

Expand Messages
  • KF Leong
    I ve issue with this patch on my computer. Compiled using MSVC 2010. When rop is turn on, the characters display moved down, causing letters with ascenders
    Message 1 of 58 , Mar 29, 2013
    • 0 Attachment
      I've issue with this patch on my computer. Compiled using MSVC 2010.

      When rop is turn on, the characters display "moved" down, causing
      letters with ascenders clipped, i.e. j, q, p etc. Font is Consolas;
      encoding is UTF-8.

      Image with rop turned off:
      http://i.imgur.com/zYIZo6s.png

      Image with rop turned on:
      http://i.imgur.com/lssJh3p.png

      Version string:
      <<<<
      VIM - Vi IMproved 7.3 (2010 Aug 15, compiled Mar 30 2013 13:06:46)
      MS-Windows 32-bit GUI version with OLE support
      Included patches: 1-875
      Compiled by kfleong@personal
      Huge version with GUI. Features included (+) or not (-):
      +arabic +ex_extra +multi_byte_ime/dyn
      +tag_old_static
      +autocmd +extra_search +multi_lang -
      tag_any_white
      +balloon_eval +farsi -mzscheme -tcl
      +browse +file_in_path +netbeans_intg -tgetent
      ++builtin_terms +find_in_path +ole -
      termresponse
      +byte_offset +float +path_extra
      +textobjects
      +cindent +folding +perl/dyn +title
      +clientserver -footer +persistent_undo +toolbar
      +clipboard +gettext/dyn -postscript
      +user_commands
      +cmdline_compl -hangul_input +printer +vertsplit
      +cmdline_hist +iconv/dyn +profile
      +virtualedit
      +cmdline_info +insert_expand +python/dyn +visual
      +comments +jumplist +python3/dyn
      +visualextra
      +conceal +keymap +quickfix +viminfo
      +cryptv +langmap +reltime +vreplace
      +cscope +libcall +rightleft
      +wildignore
      +cursorbind +linebreak +ruby/dyn +wildmenu
      +cursorshape +lispindent +scrollbind +windows
      +dialog_con_gui +listcmds +signs
      +writebackup
      +diff +localmap +smartindent -xfontset
      +digraphs +lua/dyn -sniff -xim
      +directx +menu +startuptime -
      xterm_save
      -dnd +mksession +statusline +xpm_w32
      -ebcdic +modify_fname -sun_workshop
      +emacs_tags +mouse +syntax
      +eval +mouseshape +tag_binary
      system vimrc file: "$VIM\vimrc"
      user vimrc file: "$HOME\_vimrc"
      2nd user vimrc file: "$VIM\_vimrc"
      user exrc file: "$HOME\_exrc"
      2nd user exrc file: "$VIM\_exrc"
      system gvimrc file: "$VIM\gvimrc"
      user gvimrc file: "$HOME\_gvimrc"
      2nd user gvimrc file: "$VIM\_gvimrc"
      system menu file: "$VIMRUNTIME\menu.vim"
      Compilation: cl -c /W3 /nologo -I. -Iproto -DHAVE_PATHDEF -DWIN32 -
      DFEAT_CSCOPE -DFEAT_NETBEANS_INTG -DFEAT_XPM_W32 -DWINVER=0x0400 -
      D_WIN32_WINNT=0x0400 /Fo.\ObjGXOULYHRi386/ /Ox /GL -DNDEBUG /Zl /MT -
      DFEAT_OLE -DFEAT_MBYTE_IME -DDYNAMIC_IME -DGLOBAL_IME -DFEAT_MBYTE -
      DFEAT_GUI_W32 -DFEAT_DIRECTX -DDYNAMIC_DIRECTX -DDYNAMIC_ICONV -
      DDYNAMIC_GETTEXT -DFEAT_LUA -DDYNAMIC_LUA -DDYNAMIC_LUA_DLL=
      \"lua51.dll\" -DFEAT_PYTHON -DDYNAMIC_PYTHON -DDYNAMIC_PYTHON_DLL=
      \"python27.dll\" -DFEAT_PYTHON3 -DDYNAMIC_PYTHON3 -
      DDYNAMIC_PYTHON3_DLL=\"python33.dll\" -DFEAT_PERL -DDYNAMIC_PERL -
      DDYNAMIC_PERL_DLL=\"perl514.dll\" -DFEAT_RUBY -DDYNAMIC_RUBY -
      DDYNAMIC_RUBY_VER=191 -DDYNAMIC_RUBY_DLL=\"msvcrt-ruby191.dll\" -
      DFEAT_HUGE /Fd.\ObjGXOULYHRi386/ /Zi
      Linking: link /RELEASE /nologo /subsystem:windows /LTCG:STATUS
      oldnames.lib kernel32.lib advapi32.lib shell32.lib gdi32.lib
      comdlg32.lib ole32.lib uuid.lib /machine:i386 /nodefaultlib gdi32.lib
      version.lib winspool.lib comctl32.lib advapi32.lib shell32.lib /
      machine:i386 /nodefaultlib libcmt.lib oleaut32.lib user32.lib /
      nodefaultlib:lua51.lib /nodefaultlib:python27.lib /
      nodefaultlib:python33.lib WSock32.lib xpm\x86\lib\libXpm.lib /
      PDB:gvim.pdb -debug
      >>>>

      What settings should I use to make it display properly?

      KF

      --
      --
      You received this message from the "vim_dev" maillist.
      Do not top-post! Type your reply below the text you are replying to.
      For more information, visit http://www.vim.org/maillist.php

      ---
      You received this message because you are subscribed to the Google Groups "vim_dev" group.
      To unsubscribe from this group and stop receiving emails from it, send an email to vim_dev+unsubscribe@....
      For more options, visit https://groups.google.com/groups/opt_out.
    • Peter Prohaska
      Pasting text produces inconstisten screen state. Looks like a mixture of monospaced and proportional font. Resetting rop to empty fixes the problem--and
      Message 58 of 58 , Aug 20, 2013
      • 0 Attachment
        Pasting text produces inconstisten screen state. Looks like a mixture of
        monospaced and proportional font. Resetting rop to empty fixes the
        problem--and reintroduces the missing char glyphs.

        Attached is screenshot with the lines showing
        1) state right after paste (cursor was aligned above the 2nd-row tsu
        2) state after moving one character to the left ("h")
        3) state after moving left till column 1 ("hhh")

        Yank and paste, scroll off screen and back in, all produce state (1).
        Selections mark the full width as in state (3). Moving the cursor over a
        position triggers the update as seen in state (2).

        Test settings:
        rop=type:directx
        guifont=DejaVu_Sans_Mono:h10:cANSI

        Test Build: VC10; Win8; nmake -f Make_mvc.mak GUI=yes DIRECTX=yes


        Aside:
        It should definitely make it into vim.

        Skimmed through the code. Don't know much about the specific job. Looks
        solid enough. Patch currelty produces a rejected hunk against hg due to the
        addition of 'regexpengine' option.

        My user experience: Try a few dozen fonts, find a hadfull that works
        acceptable. Pre patch: rest is unusable. Post patch: rest works good or
        great. Editing terminological datasets often, i hearty recommend this
        pain-killer (or a different OS).

        Regards,
        Peter.

        --
        --
        You received this message from the "vim_dev" maillist.
        Do not top-post! Type your reply below the text you are replying to.
        For more information, visit http://www.vim.org/maillist.php

        ---
        You received this message because you are subscribed to the Google Groups "vim_dev" group.
        To unsubscribe from this group and stop receiving emails from it, send an email to vim_dev+unsubscribe@....
        For more options, visit https://groups.google.com/groups/opt_out.
      Your message has been successfully submitted and would be delivered to recipients shortly.