在html文本字段中输入阿拉伯文字体 [英] type arabic font in html text fields

查看:593
本文介绍了在html文本字段中输入阿拉伯文字体的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的要求是有一个应用程序,它将HTML文本字段中的阿拉伯数据作为输入。我尝试了一些字体,但他们不让我在HTML文本字段中输入阿拉伯语。任何指针

  @ font-face { 
font-family:'Conv_ScheherazadeRegOT';
src:url('fonts / ScheherazadeRegOT.eot'); (''),url('fonts / ScheherazadeRegOT.woff')格式('woff'),url('fonts / ScheherazadeRegOT.ttf')格式('truetype'),url ('fonts / ScheherazadeRegOT.svg')格式('svg');
font-weight:normal;
font-style:normal;



$ b输入
{
font-family:'Conv_ScheherazadeRegOT',Sans-Serif;


解决方案

Arial,Times New Roman..在此之前,您应该检查页面编码(例如。utf-8)..并在操作系统上设置非unicodes选项来支持阿拉伯语。

my requirement is to have an application which takes Arabic data as input in an html text field. i tried a few fonts but they don't let me type Arabic in html text field.any pointers

@font-face {
    font-family: 'Conv_ScheherazadeRegOT';
    src: url('fonts/ScheherazadeRegOT.eot');
    src: local('☺'), url('fonts/ScheherazadeRegOT.woff') format('woff'), url('fonts/ScheherazadeRegOT.ttf') format('truetype'), url('fonts/ScheherazadeRegOT.svg') format('svg');
    font-weight: normal;
    font-style: normal;
}



input
    {
        font-family:'Conv_ScheherazadeRegOT',Sans-Serif;        
    }

解决方案

The suitable generic fonts like "Arial","Times New Roman".. before that you should check the page encoding (eg. utf-8).. and set the non-unicodes option at your OS to support arabic.

这篇关于在html文本字段中输入阿拉伯文字体的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆