• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

k-takata / vim
80%
master: 84%

Build:
Build:
LAST BUILD BRANCH: use-check-commands
DEFAULT BRANCH: master
Repo Added 26 Aug 2015 04:34PM UTC
Files 129
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

LAST BUILD ON BRANCH fix-average-font-width
branch: fix-average-font-width
CHANGE BRANCH
x
Reset
  • fix-average-font-width
  • Milly-fix-unix_fullname
  • add-check-terminal
  • add-tinytests
  • adjust-timeout-handling
  • adjust-version-format
  • analyze-on-debug-build
  • appveyor-release
  • appveyor-temp
  • appveyor-test
  • appveyor-update-to-python36
  • blob-clear-vlock
  • chrisbra-appveyor-build
  • chrisbra-appveyor-build-temp2
  • chrisbra-appveyor-build-temp4
  • chrisbra-appveyor-build-temp5
  • chrisbra-appveyor-build-temp6
  • cmdidxs-target
  • color256-better-approx
  • cygwin-warning
  • debug-test_autocmd
  • define-S_IS_macros
  • delete-make_dvc_ivc
  • dosinst-nocp-help
  • dosinst-use-userprofile
  • drop-support-for-old-msvc
  • drop-support-for-vista
  • drop-x-perm
  • dwrite-adjust-linespace
  • dwrite-redraw-after-recreate-target
  • enable-ci
  • enable-sgr-on-mintty
  • fix-16-color-on-terminal-on-vim.exe
  • fix-1698-3520
  • fix-4369
  • fix-4681
  • fix-5026
  • fix-5523
  • fix-5597
  • fix-5602-adjust-scrollbar-position
  • fix-5688
  • fix-5819
  • fix-5986
  • fix-696
  • fix-7053
  • fix-8.1.1239
  • fix-8.1.1417
  • fix-8.2.0179
  • fix-8.2.0249
  • fix-8.2.0329-vimdll
  • fix-8.2.0578
  • fix-8.2.1107-with-vimdll
  • fix-Test_terminal_shell_option
  • fix-bri-sbr
  • fix-buffer-size
  • fix-chdir
  • fix-conpty-version-detection
  • fix-cproto
  • fix-crash-conpty
  • fix-cursor-on-terminal
  • fix-doc-ver8
  • fix-dos-mapping
  • fix-executable-longname
  • fix-gvimext-base-address-on-x64
  • fix-if_perl532-msvc
  • fix-indent
  • fix-lbr-block-visual
  • fix-lua-warning
  • fix-lua53-on-win32
  • fix-mac-mapping
  • fix-mainerr-dialogbox
  • fix-msvc-deprecated
  • fix-netrw-gx
  • fix-nsis-comment
  • fix-optwin
  • fix-optwin-message
  • fix-pathdef
  • fix-python3-redirect
  • fix-python3-stdin
  • fix-readdir
  • fix-return-type
  • fix-rop-check
  • fix-scrool-at-topline
  • fix-src-po-makefiles
  • fix-terminal-memleak
  • fix-terminal-tests
  • fix-test-5150
  • fix-test_lua-on-win32
  • fix-test_ruby_p
  • fix-test_textformat
  • fix-tutor
  • fix-tutors
  • fix-uninst-bat
  • fix-usercmd
  • fix-vimdll
  • fix-vimdll-feedkeys
  • fix-vimdll-gui-command
  • fix-vimdll-input-kanji
  • fix-vimdll-mbyte-input
  • fix-vimdll-solarized
  • fix-vimdll-subsystem
  • fix-vimrun
  • fix-vtp-background
  • fix-win32-tests
  • fix-window-pos
  • fix-winsowsversion
  • gha-fix-filetype-detection
  • gha-improve
  • gha-skip-tags
  • github-actions
  • gtk-remove-if
  • gvimext-restore-lang
  • gvimext-submenu
  • if_perl-out-to-autodir
  • if_ruby-revise-version-checking
  • installer-fix-default-settings
  • installer-lua
  • installer-use-logiclib
  • make-installer-faster
  • make-utf8-as-default
  • master
  • mingw-coverage
  • mingw-coverage-local
  • mingw-create-mapfile
  • mingw-lua-dir
  • mitigate-tempfilename-confliction
  • msvc-add-sed-again
  • msvc-auto-dir
  • msvc-enable-ime-by-default
  • msvc-objdir
  • msvc-suppress-warnings
  • nsis-dont-delete-vimrc
  • nsis-fix-typos
  • nsis-readonly
  • nsis-use-r-option
  • o-octal
  • optimize-lambda
  • origin/master
  • pr5688
  • readdirex
  • reduce-test-log
  • register-more-info-in-installer
  • remove-borland
  • remove-duplicated-line
  • remove-get_cmd_args
  • remove-needless-platformid-call
  • remove-redundant-close0
  • remove-sync_dup_close
  • remove-use-cr
  • remove-use-long-fname
  • remove-useless-STRCPY
  • remove-win64
  • revise-crt_secure_no_deprecate
  • revise-gui_w32
  • revise-no-deprecate
  • revise-ruby-incdir
  • revise-version-h
  • run-tests-in-parallel
  • show-messages
  • simplify-gtk-code
  • simplify-os_w32exe
  • smile
  • stop-generating-vim-lib
  • stop-using-ansi-apis
  • support-gtk24
  • suppress-gui-spawn-warning
  • suppress-python39-warning
  • suppress-vim_strnsave-warning
  • tab-xyz
  • temp-execute-only-one-test
  • temp-py-ver
  • template-string
  • test-messages
  • tests-use-check
  • topic/mui2
  • topic/refactor-installer
  • topic/refactor-installer-temp
  • topic/refactor-installer-v8.1.0443
  • topic/update-dosinst
  • ttdoda-check-dcs-handling
  • update-codeowners
  • update-contributing
  • update-deps
  • update-how-to-set-envvar
  • update-issue-templates
  • update-make-ftplugin
  • update-make-syntax
  • update-makefile-deps
  • update-prototypes
  • update-texts
  • update-to-python35
  • update-to-trusty
  • update-to-trusty2
  • update-tutor
  • update-usr_02
  • upgrade-python3-to-36
  • use-check-commands
  • use-error
  • use-getconsolewindow
  • use-wide-api-for-fonts
  • use-wide-entrypoint
  • v-prefix-in-scriptversion2
  • vim-384dbfaa3ba775cd38663c27dbae68001467baf8
  • vim9-empty-list-dict
  • vim9-fix-echo
  • vim9-fix-has-gui_running-with-vimdll
  • vs2008
  • vtp_working-no-use-in-gui
  • win32-file-prop
  • win32-fix-dnd
  • win32-fix-memleak
  • win32-fix-testlog
  • win32-support-snap
  • win32-use-call-in-vimtutor
  • workaround-python2711

pending completion
319

push

travis-ci

k-takata
win32: Fix average font width

It seems that some kind of font doesn't return the right value in
tmAveCharWidth by GetTextMetrics(). It returns about the double width of the
expected value. So the screen width becomes wider. This patch works around it
by calculating the average character size. (The same method has already been
used in another part of gui_w32.c.)

105041 of 131736 relevant lines covered (79.74%)

558100.56 hits per line

Relevant lines Covered
Build:
Build:
131736 RELEVANT LINES 105041 COVERED LINES
558100.56 HITS PER LINE
Source Files on fix-average-font-width
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
319 fix-average-font-width win32: Fix average font width It seems that some kind of font doesn't return the right value in tmAveCharWidth by GetTextMetrics(). It returns about the double width of the expected value. So the screen width becomes wider. This patch works aroun... push 07 May 2019 12:31PM UTC k-takata travis-ci pending completion  
See All Builds (498)
  • Repo on GitHub
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc