Skip to content

Hint font can't be set in gbk-encoding pages #679

@yqshao

Description

@yqshao
Issue type:
  • Bug report
Version:
Vimperator:	3.15.0 (created: 2016/10/05 01:11:26)
Firefox:	Mozilla/5.0 (X11; Linux x86_64; rv:50.0) Gecko/20100101 Firefox/50.0
Description:

In pages encoded in GB2312 encoding (a charset for Chinese charactors), for example
http://www.sgst.cn/welcome.do
http://www.cadal.net/
The hint charactor shows a Sans font instead of Monospace specified in the config file, ( the default profile reproduces the same result, after changing hintchars to Home row )
While in unicode encoding pages, everything is fine.

highlight Hint font-family: monospace; font-size: 10px; font-weight: bold; text-transform: uppercase; color: black; background-color: #C1FE64; border-style: none; padding: 1px; padding-left:3px;padding-right: 3px;letter-spacing: 2px

By forcing a unicode encoding, the monospace font for Hint Charactors can be restored (however the page content will become messy codes)

Expected behavior:

Font in pages of different encoding should have the same font

Steps to reproduce:

Open one of these pages and hit 'f', it will be more obvious with home row hintchars.
http://www.sgst.cn/welcome.do
http://www.cadal.net/

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions